[update] 企标各模块添加注释,企标详情获取企标评价换接口

This commit is contained in:
lideqin
2023-09-27 09:37:15 +08:00
parent f1309291cb
commit c7eae42e00
9 changed files with 107 additions and 75 deletions
@@ -4,16 +4,19 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<!-- 企标编号 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item>
</a-col>
<!-- 企标名称 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item>
</a-col>
<!-- 状态 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.status')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -24,6 +27,7 @@
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<!-- 计划稽查日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.scheduledCheckDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -34,6 +38,7 @@
</a-range-picker>
</a-form-item>
</a-col>
<!-- 创建日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.createdDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -44,6 +49,7 @@
</a-range-picker>
</a-form-item>
</a-col>
<!-- 所属部门 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.department')">
<a-tree-select
@@ -204,84 +210,84 @@ export default {
return parseInt(index) + 1
}
},
{
{ // 稽查依据标准编号
title: this.$t('enterpriseStandardLibrary.check.basedStandardNo'),
align: 'center',
width: 180,
dataIndex: 'inspectNo',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 稽查依据标准名称
title: this.$t('enterpriseStandardLibrary.check.basedStandardName'),
align: 'center',
width: 180,
dataIndex: 'inspectName',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 计划稽查对象
title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'),
align: 'center',
width: 180,
dataIndex: 'planInspectObject',
scopedSlots: { customRender: 'text' }
},
{
{ // 主责标准化工作组
title: this.$t('enterpriseStandardLibrary.check.workGroup'),
align: 'center',
width: 180,
dataIndex: 'standardizationWorkGroup',
scopedSlots: { customRender: 'text' }
},
{
{ // 所属部门
title: this.$t('enterpriseStandardLibrary.check.department'),
align: 'center',
width: 180,
dataIndex: 'belongDept',
scopedSlots: { customRender: 'text' }
},
{
{ // 计划稽查日期
title: this.$t('enterpriseStandardLibrary.check.scheduledCheckDate'),
align: 'center',
width: 180,
dataIndex: 'planInspectDate',
scopedSlots: { customRender: 'scheduledCheckDate' }
},
{
{ // 稽查负责人
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center',
width: 180,
dataIndex: 'inspectUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 标准化组对接人
title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center',
width: 180,
dataIndex: 'standardizationDockingUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 实际稽查完成日期
title: this.$t('enterpriseStandardLibrary.check.checkFinishDate'),
align: 'center',
width: 180,
dataIndex: 'completeDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 实际稽查人
title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center',
width: 180,
dataIndex: 'actualInspectUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 状态
title: this.$t('enterpriseStandardLibrary.check.status'),
align: 'center',
width: 180,
dataIndex: 'inspectStatus_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 创建日期
title: this.$t('enterpriseStandardLibrary.check.createDate'),
align: 'center',
width: 180,
@@ -303,17 +309,17 @@ export default {
exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划
},
operationList: [
{
{ // 延期稽查
text: this.$t('enterpriseStandardLibrary.check.deferredCheck'),
clickEvent: 'handleDeferredCheck',
has: 'enterpriseStandardLibrary:check:deferredCheck'
},
{
{ // 稽查报告
text: this.$t('enterpriseStandardLibrary.check.checkReport'),
clickEvent: 'handleCheckReport',
has: 'enterpriseStandardLibrary:check:checkReport'
},
{
{ // 整改计划
text: this.$t('enterpriseStandardLibrary.check.rectificationPlan'),
clickEvent: 'handleRectificationPlan',
has: 'enterpriseStandardLibrary:check:rectificationPlan'