update 稽查计划下载导入模板
This commit is contained in:
+4
-1
@@ -3,6 +3,8 @@
|
||||
<div class="table-operator" v-if="hasTableOperator">
|
||||
<!-- 新增 -->
|
||||
<a-button icon="plus" type="primary" @click="handleAdd">{{ $t('newlyAdded') }}</a-button>
|
||||
<!-- 下载模板 -->
|
||||
<a-button icon="download" type="primary" ghost @click="downTemplate($t('workCenter.esInspectionPlan.downloadTemplate'))">{{ $t('templateDownload') }}</a-button>
|
||||
<!-- 导入 -->
|
||||
<a-upload name="file" :data="{projectId}" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
||||
<a-button icon="upload" type="primary" ghost>{{ $t('import') }}</a-button>
|
||||
@@ -97,7 +99,8 @@ export default {
|
||||
list: '/process/processEsInspectPlan/list',
|
||||
delete: '/process/processEsInspectPlan/delete',
|
||||
importExcelUrl: '/process/processEsInspectPlan/importExcel',
|
||||
deleteBatch: '/process/processEsInspectPlan/deleteBatch'
|
||||
deleteBatch: '/process/processEsInspectPlan/deleteBatch',
|
||||
downTemplateUrl: '/process/processEsInspectPlan/importExcel'
|
||||
},
|
||||
model: {},
|
||||
dataSource: [],
|
||||
|
||||
Reference in New Issue
Block a user