From 05d45bd440ffc92e14e6c8728ac8956a0488c0ab Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期四, 07 十二月 2023 17:20:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/BatchImport/index.vue |   44 ++++++++++++++++++++++++--------------------
 1 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue
index 9b76f3d..d9f082b 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/index.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -61,24 +61,27 @@
       >
     </el-upload>
     <template #footer>
-      <div v-if="type !== 'groupCode'">
-        <el-button
-          v-if="type !== 'bulkEdit' "
-          :loading="downloadLoading"
-          size="small"
-          type="primary"
-          @click="downloadTemplateFun"
-        >涓嬭浇瀵煎叆妯℃澘
-        </el-button>
-        <el-button v-if="type === 'bulkEdit'"
-                   :loading="downloadLoading"
-                   size="small"
-                   type="primary"
-                   @click="downloadTemplateFun"
-        >涓嬭浇缂栬緫妯℃澘
-        </el-button>
-      </div>
-      <el-button size="small" @click="dialogVisible = false">鍏抽棴</el-button>
+      <div style="display: inline-block" v-if="type != 'groupCode'">
+          <el-button
+            v-if="type !== 'bulkEdit' "
+            :loading="downloadLoading"
+            size="small"
+            type="primary"
+            @click="downloadTemplateFun"
+          >涓嬭浇瀵煎叆妯℃澘
+          </el-button>
+          <el-button v-if="type === 'bulkEdit'"
+                     :loading="downloadLoading"
+                     size="small"
+                     type="primary"
+                     @click="downloadTemplateFun"
+          >涓嬭浇缂栬緫妯℃澘
+          </el-button>
+        </div>
+        <div style="display: inline-block">
+          <el-button size="small" @click="dialogVisible = false">鍏抽棴</el-button>
+        </div>
+
     </template>
     <ShowImportData
       v-if="showVisible"
@@ -169,7 +172,7 @@
       return this.currentTypeObj[this.type]["action"];
     },
     upParams() {
-      if (this.type === "historyImport" || this.type === "batchApplyCode" ) {
+      if (this.type === "historyImport" || this.type === "batchApplyCode") {
         return {
           codeClassifyOid: this.codeClassifyOid,
           classifyAttr: this.classifyAttr,
@@ -191,7 +194,7 @@
         return {
           codeClassifyOid: this.codeClassifyOid,
         };
-      }else if(this.type === 'groupCode'){
+      } else if (this.type === 'groupCode') {
         return {
           codeClassifyOid: this.codeClassifyOid,
         };
@@ -320,6 +323,7 @@
       }
     },
     onSuccess(res) {
+      console.log(res)
       if (Object.keys(res.data).length === 0) {
         this.$message.success(this.title + "瀵煎叆鎴愬姛锛�");
         this.resetTable()

--
Gitblit v1.9.3