[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
+1 -1
View File
@@ -34,7 +34,7 @@ const detailGetUpdateRecord = (params) => getAction('/laws/standard/enterprise/g
// 企标详情-提交问题 // 企标详情-提交问题
const detailSubmitQuestion = (params) => postAction('', params) const detailSubmitQuestion = (params) => postAction('', params)
// 企标详情-企标评价 // 企标详情-企标评价
const detailEvaluate = (standardNumber, params) => getAction('/laws/standard/enterprise/evaluateDetail/' + `${standardNumber}`, params) const detailEvaluate = (standardId, params) => getAction('/laws/standard/enterprise/evaluateDetailForESInfo/' + `${standardId}`, params)
// 企标评审会记录-设置优质标准 // 企标评审会记录-设置优质标准
const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params) const setQualityStandard = (params) => getAction('/enterprise/reviewMeeting/setQualityStandards', params)
@@ -4,16 +4,19 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- 企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <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-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <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-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.check.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 状态 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.status')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.check.status')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag <j-dict-select-tag
@@ -24,6 +27,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<!-- 计划稽查日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.scheduledCheckDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.check.scheduledCheckDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -34,6 +38,7 @@
</a-range-picker> </a-range-picker>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 创建日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.createdDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.check.createdDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -44,6 +49,7 @@
</a-range-picker> </a-range-picker>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 所属部门 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.check.department')"> <a-form-item :label="$t('enterpriseStandardLibrary.check.department')">
<a-tree-select <a-tree-select
@@ -204,84 +210,84 @@ export default {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ { // 稽查依据标准编号
title: this.$t('enterpriseStandardLibrary.check.basedStandardNo'), title: this.$t('enterpriseStandardLibrary.check.basedStandardNo'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectNo', dataIndex: 'inspectNo',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 稽查依据标准名称
title: this.$t('enterpriseStandardLibrary.check.basedStandardName'), title: this.$t('enterpriseStandardLibrary.check.basedStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectName', dataIndex: 'inspectName',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 计划稽查对象
title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'), title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'planInspectObject', dataIndex: 'planInspectObject',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主责标准化工作组
title: this.$t('enterpriseStandardLibrary.check.workGroup'), title: this.$t('enterpriseStandardLibrary.check.workGroup'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardizationWorkGroup', dataIndex: 'standardizationWorkGroup',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 所属部门
title: this.$t('enterpriseStandardLibrary.check.department'), title: this.$t('enterpriseStandardLibrary.check.department'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'belongDept', dataIndex: 'belongDept',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 计划稽查日期
title: this.$t('enterpriseStandardLibrary.check.scheduledCheckDate'), title: this.$t('enterpriseStandardLibrary.check.scheduledCheckDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'planInspectDate', dataIndex: 'planInspectDate',
scopedSlots: { customRender: 'scheduledCheckDate' } scopedSlots: { customRender: 'scheduledCheckDate' }
}, },
{ { // 稽查负责人
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'), title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectUser', dataIndex: 'inspectUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 标准化组对接人
title: this.$t('enterpriseStandardLibrary.check.contactPerson'), title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardizationDockingUser', dataIndex: 'standardizationDockingUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 实际稽查完成日期
title: this.$t('enterpriseStandardLibrary.check.checkFinishDate'), title: this.$t('enterpriseStandardLibrary.check.checkFinishDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'completeDate', dataIndex: 'completeDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 实际稽查人
title: this.$t('enterpriseStandardLibrary.check.actualChecker'), title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'actualInspectUser', dataIndex: 'actualInspectUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 状态
title: this.$t('enterpriseStandardLibrary.check.status'), title: this.$t('enterpriseStandardLibrary.check.status'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectStatus_dictText', dataIndex: 'inspectStatus_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 创建日期
title: this.$t('enterpriseStandardLibrary.check.createDate'), title: this.$t('enterpriseStandardLibrary.check.createDate'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -303,17 +309,17 @@ export default {
exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划 exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划
}, },
operationList: [ operationList: [
{ { // 延期稽查
text: this.$t('enterpriseStandardLibrary.check.deferredCheck'), text: this.$t('enterpriseStandardLibrary.check.deferredCheck'),
clickEvent: 'handleDeferredCheck', clickEvent: 'handleDeferredCheck',
has: 'enterpriseStandardLibrary:check:deferredCheck' has: 'enterpriseStandardLibrary:check:deferredCheck'
}, },
{ { // 稽查报告
text: this.$t('enterpriseStandardLibrary.check.checkReport'), text: this.$t('enterpriseStandardLibrary.check.checkReport'),
clickEvent: 'handleCheckReport', clickEvent: 'handleCheckReport',
has: 'enterpriseStandardLibrary:check:checkReport' has: 'enterpriseStandardLibrary:check:checkReport'
}, },
{ { // 整改计划
text: this.$t('enterpriseStandardLibrary.check.rectificationPlan'), text: this.$t('enterpriseStandardLibrary.check.rectificationPlan'),
clickEvent: 'handleRectificationPlan', clickEvent: 'handleRectificationPlan',
has: 'enterpriseStandardLibrary:check:rectificationPlan' has: 'enterpriseStandardLibrary:check:rectificationPlan'
@@ -4,32 +4,38 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- 原企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" v-model="queryParam.originEnStandardNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" v-model="queryParam.originEnStandardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 新企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" v-model="queryParam.newEnStandardNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" v-model="queryParam.newEnStandardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 原企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<!-- 新企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" v-model="queryParam.newEnStandardName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" v-model="queryParam.newEnStandardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 主起草人 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.principalDrafter')" v-model="queryParam.mainDraftingUser"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.principalDrafter')" v-model="queryParam.mainDraftingUser"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 主起草单位 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-tree-select <a-tree-select
@@ -45,11 +51,13 @@
/> />
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 主起草单位负责人 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" v-model="queryParam.mainDraftingUnitResponsiblePerson"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" v-model="queryParam.mainDraftingUnitResponsiblePerson"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 项目状态 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.projectStatus')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.projectStatus')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag <j-dict-select-tag
@@ -59,6 +67,7 @@
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 变更状态 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.changeState')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.changeState')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag <j-dict-select-tag
@@ -68,11 +77,13 @@
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 推进人工号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.pusherWorkNo')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.pusherWorkNo')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.pusherWorkNo')" v-model="queryParam.standardPromoterWorkNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.pusherWorkNo')" v-model="queryParam.standardPromoterWorkNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 标准类型 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.standardType')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.standardType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag <j-dict-select-tag
@@ -82,6 +93,7 @@
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 制修订类型 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag <j-dict-select-tag
@@ -91,6 +103,7 @@
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 计划报批日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.planApprovalDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.planApprovalDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -101,6 +114,7 @@
</a-range-picker> </a-range-picker>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 创建日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.createDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.plan.createDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -198,12 +212,12 @@ export default {
data () { data () {
return { return {
operationList: [ operationList: [
{ { // 查看
text: this.$t('view'), text: this.$t('view'),
clickEvent: 'handleDetail', clickEvent: 'handleDetail',
has: 'enterpriseStandardLibrary:plan:detail' has: 'enterpriseStandardLibrary:plan:detail'
}, },
{ { // 删除
text: this.$t('delete'), text: this.$t('delete'),
clickEvent: 'handleDelete', clickEvent: 'handleDelete',
has: 'enterpriseStandardLibrary:plan:delete' has: 'enterpriseStandardLibrary:plan:delete'
@@ -217,168 +231,168 @@ export default {
span: 14 span: 14
}, },
columns: [ columns: [
{ { // 制修订类型
title: this.$t('enterpriseStandardLibrary.plan.revisionType'), title: this.$t('enterpriseStandardLibrary.plan.revisionType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'applicationCategory_dictText', dataIndex: 'applicationCategory_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 原企标编号
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum'), title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardNo', dataIndex: 'originEnStandardNo',
scopedSlots: { customRender: 'toDetailOld' } scopedSlots: { customRender: 'toDetailOld' }
}, },
{ { // 新企标编号
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum'), title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'newEnStandardNo', dataIndex: 'newEnStandardNo',
scopedSlots: { customRender: 'toDetailNew' } scopedSlots: { customRender: 'toDetailNew' }
}, },
{ { // 原企标名称
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName'), title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardName', dataIndex: 'originEnStandardName',
scopedSlots: { customRender: 'toDetailOld' } scopedSlots: { customRender: 'toDetailOld' }
}, },
{ { // 新企标名称
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName'), title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'newEnStandardName', dataIndex: 'newEnStandardName',
scopedSlots: { customRender: 'toDetailNew' } scopedSlots: { customRender: 'toDetailNew' }
}, },
{ { // 授权部门
title: this.$t('enterpriseStandardLibrary.plan.authDepartment'), title: this.$t('enterpriseStandardLibrary.plan.authDepartment'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'authDeparts', dataIndex: 'authDeparts',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 企业标准代号
title: this.$t('enterpriseStandardLibrary.plan.enterpriseStandardCode'), title: this.$t('enterpriseStandardLibrary.plan.enterpriseStandardCode'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'enStandardCode', dataIndex: 'enStandardCode',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 配合单位
title: this.$t('enterpriseStandardLibrary.plan.suitUnit'), title: this.$t('enterpriseStandardLibrary.plan.suitUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'cooperateDeparts', dataIndex: 'cooperateDeparts',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草人
title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'), title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUser', dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草单位
title: this.$t('enterpriseStandardLibrary.plan.mainDraftingUnit'), title: this.$t('enterpriseStandardLibrary.plan.mainDraftingUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUnit', dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草单位负责人
title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'), title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUnitResponsiblePerson', dataIndex: 'mainDraftingUnitResponsiblePerson',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 标准推进人
title: this.$t('enterpriseStandardLibrary.plan.standardPusher'), title: this.$t('enterpriseStandardLibrary.plan.standardPusher'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardPromoter', dataIndex: 'standardPromoter',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 草稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftPlanFinishDate'), title: this.$t('enterpriseStandardLibrary.plan.draftPlanFinishDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'draftPlannedCompleteDate', dataIndex: 'draftPlannedCompleteDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 征求意见稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftPlanFinishDate'), title: this.$t('enterpriseStandardLibrary.plan.exposureDraftPlanFinishDate'),
align: 'center', align: 'center',
width: 180, width: 200,
dataIndex: 'solicitationDraftPlanCompleteDate', dataIndex: 'solicitationDraftPlanCompleteDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 计划报批日期
title: this.$t('enterpriseStandardLibrary.plan.planSubmissionDate'), title: this.$t('enterpriseStandardLibrary.plan.planSubmissionDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'planApprovalDate', dataIndex: 'planApprovalDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 草稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftFinishDate'), title: this.$t('enterpriseStandardLibrary.plan.draftFinishDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'draftCompletionDate', dataIndex: 'draftCompletionDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 提交草稿日期
title: this.$t('enterpriseStandardLibrary.plan.submitDraftDate'), title: this.$t('enterpriseStandardLibrary.plan.submitDraftDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'draftSubmissionDate', dataIndex: 'draftSubmissionDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 是否征求意见
title: this.$t('enterpriseStandardLibrary.plan.isAskForAdvice'), title: this.$t('enterpriseStandardLibrary.plan.isAskForAdvice'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'solicitationOpinionEnabled_dictText', dataIndex: 'solicitationOpinionEnabled_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 征求意见稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftFinishDate'), title: this.$t('enterpriseStandardLibrary.plan.exposureDraftFinishDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'solicitationDraftCompletionDate', dataIndex: 'solicitationDraftCompletionDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 评审日期
title: this.$t('enterpriseStandardLibrary.plan.reviewDate'), title: this.$t('enterpriseStandardLibrary.plan.reviewDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'reviewDate', dataIndex: 'reviewDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 报批日期
title: this.$t('enterpriseStandardLibrary.plan.submissionDate'), title: this.$t('enterpriseStandardLibrary.plan.submissionDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'approvalDate', dataIndex: 'approvalDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 发布日期
title: this.$t('enterpriseStandardLibrary.plan.releaseDate'), title: this.$t('enterpriseStandardLibrary.plan.releaseDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 项目状态
title: this.$t('enterpriseStandardLibrary.plan.projectStatus'), title: this.$t('enterpriseStandardLibrary.plan.projectStatus'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'projectStatus_dictText', dataIndex: 'projectStatus_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 变更状态
title: this.$t('enterpriseStandardLibrary.plan.changeState'), title: this.$t('enterpriseStandardLibrary.plan.changeState'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -4,16 +4,19 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- 企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" v-model="queryParam.standardName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 宣贯日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicizeData')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicizeData')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -24,7 +27,8 @@
</a-range-picker> </a-range-picker>
</a-form-item> </a-form-item>
</a-col> </a-col>
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<!-- 宣贯人 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicist')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicist')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.publicist')" v-model="queryParam.declareUserName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.publicist')" v-model="queryParam.declareUserName"></a-input>
@@ -125,49 +129,49 @@ export default {
span: 18 span: 18
}, },
columns: [ columns: [
{ { // 企标编号
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum'), title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardNo', dataIndex: 'standardNo',
scopedSlots: { customRender: 'enterpriseStandardNum' } scopedSlots: { customRender: 'enterpriseStandardNum' }
}, },
{ { // 企标名称
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardName'), title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardName', dataIndex: 'standardName',
scopedSlots: { customRender: 'enterpriseStandardName' } scopedSlots: { customRender: 'enterpriseStandardName' }
}, },
{ { // 发布日期
title: this.$t('enterpriseStandardLibrary.publicize.releaseDate'), title: this.$t('enterpriseStandardLibrary.publicize.releaseDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 实施日期
title: this.$t('enterpriseStandardLibrary.publicize.materialDate'), title: this.$t('enterpriseStandardLibrary.publicize.materialDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'implementationDate', dataIndex: 'implementationDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 宣贯日期
title: this.$t('enterpriseStandardLibrary.publicize.publicizeData'), title: this.$t('enterpriseStandardLibrary.publicize.publicizeData'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'declareDate', dataIndex: 'declareDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 宣贯人
title: this.$t('enterpriseStandardLibrary.publicize.publicist'), title: this.$t('enterpriseStandardLibrary.publicize.publicist'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'declareUserName', dataIndex: 'declareUserName',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 相关材料
title: this.$t('enterpriseStandardLibrary.publicize.relatedMaterial'), title: this.$t('enterpriseStandardLibrary.publicize.relatedMaterial'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -183,6 +187,7 @@ export default {
} }
}, },
methods: { methods: {
// 宣贯日期查询条件修改
publicizeDataChange (date) { publicizeDataChange (date) {
console.log(date) console.log(date)
this.queryParam.declareStartDate = date[0] this.queryParam.declareStartDate = date[0]
@@ -4,16 +4,19 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- 企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName')" v-model="queryParam.standardName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 评审日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.reviewData')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.reviewData')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -106,49 +109,49 @@ export default {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ { // 企标编号
title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardNo', dataIndex: 'standardNo',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 企标名称
title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardName', dataIndex: 'standardName',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 主起草人
title: this.$t('enterpriseStandardLibrary.reviewMeeting.principalDrafter'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.principalDrafter'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUser', dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草单位
title: this.$t('enterpriseStandardLibrary.reviewMeeting.mainDraftUnit'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.mainDraftUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUnit', dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 评审日期
title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewData'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewData'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'reviewDate', dataIndex: 'reviewDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 评审人
title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewer'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewer'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'reviewUsers', dataIndex: 'reviewUsers',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 平均总分
title: this.$t('enterpriseStandardLibrary.reviewMeeting.average'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.average'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -156,7 +159,7 @@ export default {
sorter: true, sorter: true,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 是否推荐为优质标准
title: this.$t('enterpriseStandardLibrary.reviewMeeting.isQuality'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.isQuality'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -4,16 +4,19 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- 企标编号 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 企标名称 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName')" v-model="queryParam.standardName"></a-input> <a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- 发布日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.publishDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.publishDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -25,6 +28,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<!-- 复审日期 -->
<a-col :span="6"> <a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.reviewDate')" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.reviewDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker <a-range-picker
@@ -116,49 +120,49 @@ export default {
return parseInt(index) + 1 return parseInt(index) + 1
} }
}, },
{ { // 企标编号
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum'), title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardNo', dataIndex: 'standardNo',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 企标名称
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName'), title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardName', dataIndex: 'standardName',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'toDetail' }
}, },
{ { // 发布日期
title: this.$t('enterpriseStandardLibrary.reviewPlan.publishDate'), title: this.$t('enterpriseStandardLibrary.reviewPlan.publishDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 复审日期
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewDate'), title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'recheckDate', dataIndex: 'recheckDate',
scopedSlots: { customRender: 'reviewDate' } scopedSlots: { customRender: 'reviewDate' }
}, },
{ { // 复审结果
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'), title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'recheckResult_dictText', dataIndex: 'recheckResult_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草人
title: this.$t('enterpriseStandardLibrary.reviewPlan.principalDrafter'), title: this.$t('enterpriseStandardLibrary.reviewPlan.principalDrafter'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'mainDraftingUser', dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ { // 主起草单位
title: this.$t('enterpriseStandardLibrary.reviewPlan.mainDraftingUnit'), title: this.$t('enterpriseStandardLibrary.reviewPlan.mainDraftingUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
@@ -188,22 +188,22 @@ export default {
currentTreeNodeCode: null, // 当前选中的树节点的code值 currentTreeNodeCode: null, // 当前选中的树节点的code值
mouseInNodeKey: null, // 鼠标悬浮的节点key值 mouseInNodeKey: null, // 鼠标悬浮的节点key值
operationList: [ operationList: [
{ { // 收藏
text: this.$t('enterpriseStandardLibrary.standard.collection'), text: this.$t('enterpriseStandardLibrary.standard.collection'),
clickEvent: 'handleCollection', clickEvent: 'handleCollection',
has: 'enterpriseStandard:collection' has: 'enterpriseStandard:collection'
}, },
{ { // 编辑
text: this.$t('edit'), text: this.$t('edit'),
clickEvent: 'handleEdit', clickEvent: 'handleEdit',
has: 'enterpriseStandard:edit' has: 'enterpriseStandard:edit'
}, },
{ { // 分享
text: this.$t('share'), text: this.$t('share'),
clickEvent: 'handleShare', clickEvent: 'handleShare',
has: 'enterpriseStandard:share' has: 'enterpriseStandard:share'
}, },
{ { // 删除
text: this.$t('delete'), text: this.$t('delete'),
clickEvent: 'handleDelete', clickEvent: 'handleDelete',
has: 'enterpriseStandard:delete' has: 'enterpriseStandard:delete'
@@ -280,7 +280,7 @@ export default {
}, },
// 企标评价 // 企标评价
handleEvaluate () { handleEvaluate () {
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.standard_number) this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.id)
}, },
// 更新记录 // 更新记录
handleOpenUpdateRecord () { handleOpenUpdateRecord () {
@@ -296,13 +296,13 @@ export default {
} }
}, },
methods: { methods: {
open (standardNumber) { open (standardId) {
this.visible = true this.visible = true
this.initData(standardNumber) this.initData(standardId)
}, },
initData (standardNumber) { initData (standardId) {
this.confirmLoading = true this.confirmLoading = true
detailEvaluate(standardNumber).then(res => { detailEvaluate(standardId).then(res => {
if (res.success) { if (res.success) {
this.scoreData = res.result this.scoreData = res.result
this.nameArr = Object.keys(this.scoreData) this.nameArr = Object.keys(this.scoreData)