[update] 修改bug87915,法规符合性排查流程导入增加taskId参数
This commit is contained in:
+4
-1
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user