From ded8d1fa55a11be6e5fd4226cadc1fd4bc250d68 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 20 六月 2023 20:44:48 +0800
Subject: [PATCH] MdmEngineServiceImpl修改

---
 Source/UBCS-WEB/src/components/BatchImport/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue
index a5bacf6..c94a9ed 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/index.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -53,6 +53,7 @@
 import {
   downloadHistoryImportTemplate,
   downloadErrorFile,
+  importDataShow
 } from "../../api/batchImport/index";
 import { getToken } from "@/util/auth";
 export default {
@@ -69,7 +70,7 @@
     },
     codeClassifyOid: {
       type: String,
-      default: "535FC9B6-FE27-241F-5FCA-ED4DC17CF95B",
+      default: "",
     },
     type: {
       type: String,
@@ -124,11 +125,11 @@
     downloadTemplateFun() {
       this.downloadLoading = true;
       downloadHistoryImportTemplate({
-        codeClassifyOid: "535FC9B6-FE27-241F-5FCA-ED4DC17CF95B",
+        codeClassifyOid: this.codeClassifyOid,
       })
         .then((res) => {
           this.downloadLoading = false;
-          console.log(res);
+          this.$utilFunc.downloadFileByBlob(res.data, "鍘嗗彶鏁版嵁瀵煎叆妯℃澘.xls");
         })
         .catch(() => {
           this.downloadLoading = false;

--
Gitblit v1.9.3