From f9c5d6c45ccefd2e4a9926284e25c04586ed4dd3 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期三, 05 七月 2023 16:49:13 +0800
Subject: [PATCH] 批量导入

---
 Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
index 684801e..f4d3ed5 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
@@ -199,6 +199,7 @@
       type: String,
       default: "",
     },
+    type: String
   },
   computed: {
     dialogVisible: {
@@ -322,6 +323,15 @@
     filterText(val) {
       this.$refs.tree.filter(val);
     },
+    leftTree: {
+      immediate: true,
+      deep: true,
+      handler(arr) {
+        if (arr.length > 0 && this.type === 'batchImportApply') {
+          this.treeNodeClick(arr[0])
+        }
+      }
+    }
   },
 };
 </script>

--
Gitblit v1.9.3