[update] 修改bug87915,法规符合性排查流程导入增加taskId参数

This commit is contained in:
lideqin
2024-08-12 09:15:05 +08:00
parent ac587fad30
commit be6f05a48d
@@ -65,7 +65,7 @@
<!-- 操作区域 -->
<div v-if="!disabled" class="table-operator">
<!-- 导入 -->
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" :data="importData" @change="handleImportExcel">
<a-button icon="download" type="primary" ghost>{{ $t('import') }}</a-button>
</a-upload>
<!-- 导出, 文件名称标准编号+标准名称+符合性排查 -->
@@ -225,6 +225,9 @@ export default {
},
exportFileName () {
return this.formInline.standardNumber + this.formInline.standardName + '符合性排查'
},
importData () {
return {taskId: this.$route.query.taskId}
}
},
data () {