[update 标准解读流程] 导入

This commit is contained in:
danshihao
2024-07-12 18:44:40 +08:00
parent 78d4c73ac2
commit c166bfecdf
3 changed files with 31 additions and 10 deletions
@@ -8,6 +8,7 @@
</a-button>
<!-- 导入(标准主解读人节点 && 选择不分发时) -->
<a-upload v-if="isMainInterpreterDistribute && !isDistribute"
:data="importParams"
name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importUrl"
@change="handleImport">
<a-button type="primary" icon="download" ghost>{{ $t('import') }}</a-button>
@@ -114,6 +115,12 @@ export default {
type: Boolean,
default: false,
required: false
},
// 导入的参数
importParams: {
type: Object,
default: () => ({}),
required: false
}
},
data () {
@@ -354,7 +361,7 @@ export default {
title: this.$t('workCenter.standardInterpretationProcess.investigationStage'),
align: 'center',
width: 180,
dataIndex: 'investigationStage',
dataIndex: 'investigationStage_dictText',
scopedSlots: { customRender: 'text' }
},
{ // P3证明符合性的交付物名称