[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 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)
@@ -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'
@@ -4,32 +4,38 @@
<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.plan.oldEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" v-model="queryParam.originEnStandardNo"></a-input>
</a-form-item>
</a-col>
<!-- 新企标编号 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 原企标名称 -->
<a-col :span="6">
<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-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<!-- 新企标名称 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 主起草人 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 主起草单位 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-tree-select
@@ -45,11 +51,13 @@
/>
</a-form-item>
</a-col>
<!-- 主起草单位负责人 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 项目状态 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.projectStatus')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -59,6 +67,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 变更状态 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.changeState')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -68,11 +77,13 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 推进人工号 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 标准类型 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.standardType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -82,6 +93,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 制修订类型 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -91,6 +103,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 计划报批日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.planApprovalDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -101,6 +114,7 @@
</a-range-picker>
</a-form-item>
</a-col>
<!-- 创建日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.createDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -198,12 +212,12 @@ export default {
data () {
return {
operationList: [
{
{ // 查看
text: this.$t('view'),
clickEvent: 'handleDetail',
has: 'enterpriseStandardLibrary:plan:detail'
},
{
{ // 删除
text: this.$t('delete'),
clickEvent: 'handleDelete',
has: 'enterpriseStandardLibrary:plan:delete'
@@ -217,168 +231,168 @@ export default {
span: 14
},
columns: [
{
{ // 制修订类型
title: this.$t('enterpriseStandardLibrary.plan.revisionType'),
align: 'center',
width: 180,
dataIndex: 'applicationCategory_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 原企标编号
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'originEnStandardNo',
scopedSlots: { customRender: 'toDetailOld' }
},
{
{ // 新企标编号
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'newEnStandardNo',
scopedSlots: { customRender: 'toDetailNew' }
},
{
{ // 原企标名称
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'originEnStandardName',
scopedSlots: { customRender: 'toDetailOld' }
},
{
{ // 新企标名称
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'newEnStandardName',
scopedSlots: { customRender: 'toDetailNew' }
},
{
{ // 授权部门
title: this.$t('enterpriseStandardLibrary.plan.authDepartment'),
align: 'center',
width: 180,
dataIndex: 'authDeparts',
scopedSlots: { customRender: 'text' }
},
{
{ // 企业标准代号
title: this.$t('enterpriseStandardLibrary.plan.enterpriseStandardCode'),
align: 'center',
width: 180,
dataIndex: 'enStandardCode',
scopedSlots: { customRender: 'text' }
},
{
{ // 配合单位
title: this.$t('enterpriseStandardLibrary.plan.suitUnit'),
align: 'center',
width: 180,
dataIndex: 'cooperateDeparts',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草人
title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位
title: this.$t('enterpriseStandardLibrary.plan.mainDraftingUnit'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位负责人
title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUnitResponsiblePerson',
scopedSlots: { customRender: 'text' }
},
{
{ // 标准推进人
title: this.$t('enterpriseStandardLibrary.plan.standardPusher'),
align: 'center',
width: 180,
dataIndex: 'standardPromoter',
scopedSlots: { customRender: 'text' }
},
{
{ // 草稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftPlanFinishDate'),
align: 'center',
width: 180,
dataIndex: 'draftPlannedCompleteDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 征求意见稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftPlanFinishDate'),
align: 'center',
width: 180,
width: 200,
dataIndex: 'solicitationDraftPlanCompleteDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 计划报批日期
title: this.$t('enterpriseStandardLibrary.plan.planSubmissionDate'),
align: 'center',
width: 180,
dataIndex: 'planApprovalDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 草稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftFinishDate'),
align: 'center',
width: 180,
dataIndex: 'draftCompletionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 提交草稿日期
title: this.$t('enterpriseStandardLibrary.plan.submitDraftDate'),
align: 'center',
width: 180,
dataIndex: 'draftSubmissionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 是否征求意见
title: this.$t('enterpriseStandardLibrary.plan.isAskForAdvice'),
align: 'center',
width: 180,
dataIndex: 'solicitationOpinionEnabled_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 征求意见稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftFinishDate'),
align: 'center',
width: 180,
dataIndex: 'solicitationDraftCompletionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 评审日期
title: this.$t('enterpriseStandardLibrary.plan.reviewDate'),
align: 'center',
width: 180,
dataIndex: 'reviewDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 报批日期
title: this.$t('enterpriseStandardLibrary.plan.submissionDate'),
align: 'center',
width: 180,
dataIndex: 'approvalDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 发布日期
title: this.$t('enterpriseStandardLibrary.plan.releaseDate'),
align: 'center',
width: 180,
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 项目状态
title: this.$t('enterpriseStandardLibrary.plan.projectStatus'),
align: 'center',
width: 180,
dataIndex: 'projectStatus_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 变更状态
title: this.$t('enterpriseStandardLibrary.plan.changeState'),
align: 'center',
width: 180,
@@ -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.publicize.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item>
</a-col>
<!-- 企标名称 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 宣贯日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicizeData')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -24,7 +27,8 @@
</a-range-picker>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<template v-if="toggleSearchStatus">
<!-- 宣贯人 -->
<a-col :span="6">
<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>
@@ -125,49 +129,49 @@ export default {
span: 18
},
columns: [
{
{ // 企标编号
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
scopedSlots: { customRender: 'enterpriseStandardNum' }
},
{
{ // 企标名称
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
scopedSlots: { customRender: 'enterpriseStandardName' }
},
{
{ // 发布日期
title: this.$t('enterpriseStandardLibrary.publicize.releaseDate'),
align: 'center',
width: 180,
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 实施日期
title: this.$t('enterpriseStandardLibrary.publicize.materialDate'),
align: 'center',
width: 180,
dataIndex: 'implementationDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 宣贯日期
title: this.$t('enterpriseStandardLibrary.publicize.publicizeData'),
align: 'center',
width: 180,
dataIndex: 'declareDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 宣贯人
title: this.$t('enterpriseStandardLibrary.publicize.publicist'),
align: 'center',
width: 180,
dataIndex: 'declareUserName',
scopedSlots: { customRender: 'text' }
},
{
{ // 相关材料
title: this.$t('enterpriseStandardLibrary.publicize.relatedMaterial'),
align: 'center',
width: 180,
@@ -183,6 +187,7 @@ export default {
}
},
methods: {
// 宣贯日期查询条件修改
publicizeDataChange (date) {
console.log(date)
this.queryParam.declareStartDate = date[0]
@@ -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.reviewMeeting.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item>
</a-col>
<!-- 企标名称 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 评审日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewMeeting.reviewData')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -106,49 +109,49 @@ export default {
return parseInt(index) + 1
}
},
{
{ // 企标编号
title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 企标名称
title: this.$t('enterpriseStandardLibrary.reviewMeeting.enterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 主起草人
title: this.$t('enterpriseStandardLibrary.reviewMeeting.principalDrafter'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位
title: this.$t('enterpriseStandardLibrary.reviewMeeting.mainDraftUnit'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' }
},
{
{ // 评审日期
title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewData'),
align: 'center',
width: 180,
dataIndex: 'reviewDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 评审人
title: this.$t('enterpriseStandardLibrary.reviewMeeting.reviewer'),
align: 'center',
width: 180,
dataIndex: 'reviewUsers',
scopedSlots: { customRender: 'text' }
},
{
{ // 平均总分
title: this.$t('enterpriseStandardLibrary.reviewMeeting.average'),
align: 'center',
width: 180,
@@ -156,7 +159,7 @@ export default {
sorter: true,
scopedSlots: { customRender: 'text' }
},
{
{ // 是否推荐为优质标准
title: this.$t('enterpriseStandardLibrary.reviewMeeting.isQuality'),
align: 'center',
width: 180,
@@ -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.reviewPlan.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item>
</a-col>
<!-- 企标名称 -->
<a-col :span="6">
<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-form-item>
</a-col>
<!-- 发布日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.publishDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -25,6 +28,7 @@
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<!-- 复审日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.reviewPlan.reviewDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -116,49 +120,49 @@ export default {
return parseInt(index) + 1
}
},
{
{ // 企标编号
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 企标名称
title: this.$t('enterpriseStandardLibrary.reviewPlan.enterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
scopedSlots: { customRender: 'toDetail' }
},
{
{ // 发布日期
title: this.$t('enterpriseStandardLibrary.reviewPlan.publishDate'),
align: 'center',
width: 180,
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 复审日期
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewDate'),
align: 'center',
width: 180,
dataIndex: 'recheckDate',
scopedSlots: { customRender: 'reviewDate' }
},
{
{ // 复审结果
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'),
align: 'center',
width: 180,
dataIndex: 'recheckResult_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草人
title: this.$t('enterpriseStandardLibrary.reviewPlan.principalDrafter'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位
title: this.$t('enterpriseStandardLibrary.reviewPlan.mainDraftingUnit'),
align: 'center',
width: 180,
@@ -188,22 +188,22 @@ export default {
currentTreeNodeCode: null, // 当前选中的树节点的code值
mouseInNodeKey: null, // 鼠标悬浮的节点key值
operationList: [
{
{ // 收藏
text: this.$t('enterpriseStandardLibrary.standard.collection'),
clickEvent: 'handleCollection',
has: 'enterpriseStandard:collection'
},
{
{ // 编辑
text: this.$t('edit'),
clickEvent: 'handleEdit',
has: 'enterpriseStandard:edit'
},
{
{ // 分享
text: this.$t('share'),
clickEvent: 'handleShare',
has: 'enterpriseStandard:share'
},
{
{ // 删除
text: this.$t('delete'),
clickEvent: 'handleDelete',
has: 'enterpriseStandard:delete'
@@ -280,7 +280,7 @@ export default {
},
// 企标评价
handleEvaluate () {
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.standard_number)
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.id)
},
// 更新记录
handleOpenUpdateRecord () {
@@ -296,13 +296,13 @@ export default {
}
},
methods: {
open (standardNumber) {
open (standardId) {
this.visible = true
this.initData(standardNumber)
this.initData(standardId)
},
initData (standardNumber) {
initData (standardId) {
this.confirmLoading = true
detailEvaluate(standardNumber).then(res => {
detailEvaluate(standardId).then(res => {
if (res.success) {
this.scoreData = res.result
this.nameArr = Object.keys(this.scoreData)