[update] 企标计划增加了一些字段的翻译,企标计划立项、变更流程的合并选计划增加了查询条件,排除掉另一个选择的计划

This commit is contained in:
lideqin
2023-10-20 15:04:06 +08:00
parent 56de1e8cf5
commit 8cbdc88595
4 changed files with 15 additions and 14 deletions
@@ -271,49 +271,49 @@ export default {
title: this.$t('enterpriseStandardLibrary.plan.authDepartment'), title: this.$t('enterpriseStandardLibrary.plan.authDepartment'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'authDeparts', dataIndex: 'authDept_dictText',
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_dictText',
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: 'cooperationUnit_dictText',
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_dictText',
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_dictText',
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_dictText',
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_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 草稿计划完成日期 { // 草稿计划完成日期
@@ -86,22 +86,22 @@
<!-- 主起草人 --> <!-- 主起草人 -->
<div class="detail-page-part-form-item"> <div class="detail-page-part-form-item">
<label>{{ $t('enterpriseStandardLibrary.plan.principalDrafter') }}</label> <label>{{ $t('enterpriseStandardLibrary.plan.principalDrafter') }}</label>
<span>{{ form.mainDraftingUser || global.emptyLine }}</span> <span>{{ form.mainDraftingUser_dictText || global.emptyLine }}</span>
</div> </div>
<!-- 主起草单位 --> <!-- 主起草单位 -->
<div class="detail-page-part-form-item"> <div class="detail-page-part-form-item">
<label>{{ $t('enterpriseStandardLibrary.plan.mainDraftingUnit') }}</label> <label>{{ $t('enterpriseStandardLibrary.plan.mainDraftingUnit') }}</label>
<span>{{ form.mainDraftingUnit || global.emptyLine }}</span> <span>{{ form.mainDraftingUnit_dictText || global.emptyLine }}</span>
</div> </div>
<!-- 企标体系 --> <!-- 企标体系 -->
<div class="detail-page-part-form-item"> <div class="detail-page-part-form-item">
<label>{{ $t('enterpriseStandardLibrary.plan.enterpriseStandardSystem') }}</label> <label>{{ $t('enterpriseStandardLibrary.plan.enterpriseStandardSystem') }}</label>
<span>{{ form.enStandardSystem || global.emptyLine }}</span> <span>{{ form.enStandardSystem_dictText || global.emptyLine }}</span>
</div> </div>
<!-- 零部件名称 --> <!-- 零部件名称 -->
<div class="detail-page-part-form-item"> <div class="detail-page-part-form-item">
<label>{{ $t('enterpriseStandardLibrary.plan.partName') }}</label> <label>{{ $t('enterpriseStandardLibrary.plan.partName') }}</label>
<span>{{ form.componentName || global.emptyLine }}</span> <span>{{ form.componentName_dictText || global.emptyLine }}</span>
</div> </div>
<!-- 标准适用范围 --> <!-- 标准适用范围 -->
<div class="detail-page-part-form-item"> <div class="detail-page-part-form-item">
@@ -20,7 +20,8 @@
:get-document-info-func="getDocumentInfoFunc" :get-document-info-func="getDocumentInfoFunc"
@submitFormData="submitFormData" /> @submitFormData="submitFormData" />
<div class="header-text-btn"> <div class="header-text-btn">
<p class="header-text">稽查内容</p> <!-- 稽查内容 -->
<p class="header-text">{{ $t('enterpriseStandardLibrary.standard.auditContent') }}</p>
<a-button icon="plus" type="primary" @click="handleAdd">{{ $t('newlyAdded') }}</a-button> <a-button icon="plus" type="primary" @click="handleAdd">{{ $t('newlyAdded') }}</a-button>
</div> </div>
<div class="check-content-table"> <div class="check-content-table">
@@ -25,7 +25,7 @@
v-model="formInline.standardIdOne" v-model="formInline.standardIdOne"
:standard-number="formInline.standardNoOne" :standard-number="formInline.standardNoOne"
:disabled="disabled" :disabled="disabled"
:searchParam="{ projectType: projectType }" :searchParam="{ projectType: projectType, excludeIds: formInline.standardIdTwo }"
@standardNumberChange="standardNumberChangeOne" @standardNumberChange="standardNumberChangeOne"
@listChange="listChangeOne"/> @listChange="listChangeOne"/>
</a-form-model-item> </a-form-model-item>
@@ -75,7 +75,7 @@
v-model="formInline.standardIdTwo" v-model="formInline.standardIdTwo"
:disabled="disabled" :disabled="disabled"
:standard-number="formInline.standardNoTwo" :standard-number="formInline.standardNoTwo"
:searchParam="{ projectType: projectType }" :searchParam="{ projectType: projectType, excludeIds: formInline.standardIdOne }"
@standardNumberChange="standardNumberChangeTwo" @standardNumberChange="standardNumberChangeTwo"
@listChange="listChangeTwo"/> @listChange="listChangeTwo"/>
</a-form-model-item> </a-form-model-item>