From 7f98d8bf975e89b8ced554916d3a46739f5275d3 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期二, 24 十月 2023 18:44:39 +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