[update] 联调企标库部分bug,联调企标计划

This commit is contained in:
lideqin
2023-09-14 18:16:21 +08:00
parent b1165ab0da
commit 55439cbe14
5 changed files with 40 additions and 41 deletions
@@ -274,7 +274,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.status'), title: this.$t('enterpriseStandardLibrary.check.status'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectStatus', dataIndex: 'inspectStatus_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -96,7 +96,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.rectificationStatus'), title: this.$t('enterpriseStandardLibrary.check.rectificationStatus'),
align: 'center', align: 'center',
width: 120, width: 120,
dataIndex: 'rectifyStatus', dataIndex: 'rectifyStatus_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
} }
], ],
@@ -6,35 +6,35 @@
<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.oldStandardNo"></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.newStandardNo"></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.oldStandardName"></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.newStandardName"></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.principalDrafter"></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
tree-node-filter-prop="title" tree-node-filter-prop="title"
v-model="queryParam.departId" v-model="queryParam.mainDraftingUnit"
:maxTagCount="1" :maxTagCount="1"
:show-search="true" :show-search="true"
:getPopupContainer="triggerNode=> triggerNode.parentNode" :getPopupContainer="triggerNode=> triggerNode.parentNode"
@@ -47,14 +47,14 @@
</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.headOfMainDraftingUnit"></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
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.projectStatus')" :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.projectStatus')"
dict-code="inspect_status" dict-code="esp_project_status"
v-model="queryParam.projectStatus"> v-model="queryParam.projectStatus">
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
@@ -63,21 +63,21 @@
<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
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.changeState')" :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.changeState')"
dict-code="inspect_status" dict-code="esp_change_status"
v-model="queryParam.changeState"> v-model="queryParam.changeStatus">
</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.pusherWorkNo"></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
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.standardType')" :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.standardType')"
dict-code="inspect_status" dict-code="esp_standard_type"
v-model="queryParam.standardType"> v-model="queryParam.standardType">
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
@@ -86,8 +86,8 @@
<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
:placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.revisionType')" :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.revisionType')"
dict-code="inspect_status" dict-code="esp_application_category"
v-model="queryParam.revisionType"> v-model="queryParam.applicationCategory">
</j-dict-select-tag> </j-dict-select-tag>
</a-form-item> </a-form-item>
</a-col> </a-col>
@@ -178,7 +178,7 @@
<!-- 操作栏 --> <!-- 操作栏 -->
<div slot="action" slot-scope="{text, record}" class="action-span-cell"> <div slot="action" slot-scope="{text, record}" class="action-span-cell">
<a @click="handleDetail(record)" class="table-ope-btn" v-has="'enterpriseStandardLibrary:plan:detail'">{{ $t('view') }}</a> <a @click="handleDetail(record)" class="table-ope-btn" v-has="'enterpriseStandardLibrary:plan:detail'">{{ $t('view') }}</a>
<a @click="handleDelete(record.id)" class="table-ope-btn" v-has="'enterpriseStandardLibrary:plan:delete'">{{ $t('delete') }}</a> <a @click="handleDelete(record.id)" class="table-ope-btn" v-if="record.allowDel" v-has="'enterpriseStandardLibrary:plan:delete'">{{ $t('delete') }}</a>
</div> </div>
</j-table> </j-table>
@@ -210,63 +210,63 @@ export default {
title: this.$t('enterpriseStandardLibrary.plan.revisionType'), title: this.$t('enterpriseStandardLibrary.plan.revisionType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'revisionType', dataIndex: 'applicationCategory',
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: 'oldEnterpriseStandardNum', 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: 'newEnterpriseStandardNum', 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: 'oldEnterpriseStandardName', 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: 'newEnterpriseStandardName', 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: 'authDepartment', 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: 'enterpriseStandardCode', 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: 'suitUnit', 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: 'principalDrafter', dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -280,63 +280,63 @@ export default {
title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'), title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'headOfMainDraftingUnit', 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: 'standardPusher', 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: 'draftPlanFinishDate', 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: 180,
dataIndex: 'exposureDraftPlanFinishDate', 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: 'planSubmissionDate', 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: 'draftFinishDate', 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: 'submitDraftDate', 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: 'isAskForAdvice', dataIndex: 'solicitationOpinionEnabled',
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: 'exposureDraftFinishDate', dataIndex: 'solicitationDraftCompletionDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -350,7 +350,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.plan.submissionDate'), title: this.$t('enterpriseStandardLibrary.plan.submissionDate'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'submissionDate', dataIndex: 'approvalDate',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -371,7 +371,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.plan.changeState'), title: this.$t('enterpriseStandardLibrary.plan.changeState'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'changeState', dataIndex: 'changeStatus',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -381,9 +381,8 @@ export default {
width: 200 width: 200
} }
], ],
dataSource: [{ id: 1 }],
url: { url: {
list: '' list: '/enterprise/plan/page'
} }
} }
}, },
@@ -162,7 +162,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.reviewMeeting.isQuality'), title: this.$t('enterpriseStandardLibrary.reviewMeeting.isQuality'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'qualityFlag', dataIndex: 'qualityFlag_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {
@@ -149,7 +149,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'), title: this.$t('enterpriseStandardLibrary.reviewPlan.reviewResult'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'recheckResult', dataIndex: 'recheckResult_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ {