From 80989ae609bb5dc01191a583a30f8d08ca4f31f3 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期六, 11 十一月 2023 18:43:17 +0800 Subject: [PATCH] 中心 工区 工段修改 --- src/views/eam/modules/inspectionProject/InspectionProjectRight.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue index aa044fa..98c902f 100644 --- a/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue +++ b/src/views/eam/modules/inspectionProject/InspectionProjectRight.vue @@ -56,6 +56,9 @@ icon="plus" :hidden="disabled" >鏂板</a-button> + <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> + <a-button type="primary" icon="import" >瀵煎叆</a-button> + </a-upload> <a-button type="primary" icon="download" @@ -328,7 +331,11 @@ } }, - + computed: { + importExcelUrl: function(){ + return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; + } + }, methods: { handleAdd: function () { this.$refs.modalForm.add({ inspectionProjectCategoryNumName: this.inspectionProjectCategoryNumName }); -- Gitblit v1.9.3