[update 标准主计划] 完善

This commit is contained in:
danshihao
2024-07-16 13:54:20 +08:00
parent 2cd3640aa7
commit 5f3a48ed38
3 changed files with 7 additions and 4 deletions
@@ -291,7 +291,7 @@ export default {
downTemplateUrl: '/laws/DocumentTool/documentSplit/downloadImportTemplate' // 模板下载
},
disabledMixinsCreate: true,
tableSlotField: ['item_content', 'interpretation_articles', 'technical_specification_design_guide'],
tableSlotField: ['item_content', 'interpretation_articles'],
uploadData: {},
isBackTitle: true,
expandedKeys: []
@@ -33,7 +33,7 @@
</div>
<div class="table-operator" style="border-top: 5px">
<a-button @click="handleAdd" type="primary" icon="plus" v-has="'standardMasterPlan:add'">{{ $t('add') }}</a-button>
<a-button type="primary" icon="upload" ghost @click="handleExportXls($t('standardRegulationLibrary.standardMasterPlan.exportXlsName'))"
<a-button type="primary" icon="upload" ghost @click="handleExportXls($t('standardRegulationLibrary.standardMasterPlan.exportXlsName'), '.xlsx')"
v-has="'standardMasterPlan:export'">{{ $t('export') }}
</a-button>
</div>
@@ -17,11 +17,13 @@
<a-col :span="12">
<!-- 标准编号 -->
<a-form-item :label="$t('standardSelect.standardName')">
<standard-selection :placeholder="$t('pleaseSelect') + $t('standardSelect.standardNumber')"
<standard-selection :source="StandardSource.FOREIGN.value"
:placeholder="$t('pleaseSelect') + $t('standardSelect.standardNumber')"
type="radio"
@listChange="handleStandardNumberListChange"
:select-only="true"
:disabled="disableSubmit"
disabledSourceSearch
v-decorator="['base.standardNumber', validatorRules.standardNumber]" />
</a-form-item>
</a-col>
@@ -596,7 +598,7 @@
<script>
import StandardSelection from '@comp/selection/StandardSelection'
import { YesOrNoEnum } from '@/enums/commonEnums'
import { StandardSource, YesOrNoEnum } from '@/enums/commonEnums'
import UserSelection from '@comp/selection/UserSelection'
import {
addStandardMasterPlan,
@@ -610,6 +612,7 @@ export default {
components: { MarketRegulationsListSelection, UserSelection, StandardSelection },
data () {
return {
StandardSource,
title: '',
visible: false,
confirmLoading: false,