[update 标准主计划] 完善
This commit is contained in:
@@ -291,7 +291,7 @@ export default {
|
|||||||
downTemplateUrl: '/laws/DocumentTool/documentSplit/downloadImportTemplate' // 模板下载
|
downTemplateUrl: '/laws/DocumentTool/documentSplit/downloadImportTemplate' // 模板下载
|
||||||
},
|
},
|
||||||
disabledMixinsCreate: true,
|
disabledMixinsCreate: true,
|
||||||
tableSlotField: ['item_content', 'interpretation_articles', 'technical_specification_design_guide'],
|
tableSlotField: ['item_content', 'interpretation_articles'],
|
||||||
uploadData: {},
|
uploadData: {},
|
||||||
isBackTitle: true,
|
isBackTitle: true,
|
||||||
expandedKeys: []
|
expandedKeys: []
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="table-operator" style="border-top: 5px">
|
<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 @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') }}
|
v-has="'standardMasterPlan:export'">{{ $t('export') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+5
-2
@@ -17,11 +17,13 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<!-- 标准编号 -->
|
<!-- 标准编号 -->
|
||||||
<a-form-item :label="$t('standardSelect.standardName')">
|
<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"
|
type="radio"
|
||||||
@listChange="handleStandardNumberListChange"
|
@listChange="handleStandardNumberListChange"
|
||||||
:select-only="true"
|
:select-only="true"
|
||||||
:disabled="disableSubmit"
|
:disabled="disableSubmit"
|
||||||
|
disabledSourceSearch
|
||||||
v-decorator="['base.standardNumber', validatorRules.standardNumber]" />
|
v-decorator="['base.standardNumber', validatorRules.standardNumber]" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -596,7 +598,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import StandardSelection from '@comp/selection/StandardSelection'
|
import StandardSelection from '@comp/selection/StandardSelection'
|
||||||
import { YesOrNoEnum } from '@/enums/commonEnums'
|
import { StandardSource, YesOrNoEnum } from '@/enums/commonEnums'
|
||||||
import UserSelection from '@comp/selection/UserSelection'
|
import UserSelection from '@comp/selection/UserSelection'
|
||||||
import {
|
import {
|
||||||
addStandardMasterPlan,
|
addStandardMasterPlan,
|
||||||
@@ -610,6 +612,7 @@ export default {
|
|||||||
components: { MarketRegulationsListSelection, UserSelection, StandardSelection },
|
components: { MarketRegulationsListSelection, UserSelection, StandardSelection },
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
StandardSource,
|
||||||
title: '',
|
title: '',
|
||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user