From 871f60582720a8aa94a2d8bb344544452d4f3c23 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期四, 29 六月 2023 17:07:23 +0800
Subject: [PATCH] 导入按钮

---
 Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index e9fd52a..fa8b390 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -8,9 +8,9 @@
         <el-button plain size="small" type="primary" @click="editHandler"
           >缂栬緫
         </el-button>
-        <el-button plain size="small" type="primary">鎵归噺瀵煎叆鐢宠</el-button>
-        <el-button plain size="small" type="primary">鍘嗗彶鏁版嵁瀵煎叆</el-button>
-        <el-button plain size="small" type="primary">鎵归噺鐢宠缂栫爜</el-button>
+        <el-button plain size="small" type="primary" @click="openBatchImport('batchImportApply')">鎵归噺瀵煎叆鐢宠</el-button>
+        <el-button plain size="small" type="primary" @click="openBatchImport('historyImport')">鍘嗗彶鏁版嵁瀵煎叆</el-button>
+        <el-button plain size="small" type="primary" @click="openBatchImport('batchApplyCode')">鎵归噺鐢宠缂栫爜</el-button>
         <el-button plain size="small" type="primary">鎵归噺鍙戝竷</el-button>
         <el-button plain size="small" type="primary">鏌ョ湅娴佺▼鍘嗗彶</el-button>
         <el-button plain size="small" type="primary">鍒犻櫎</el-button>
@@ -144,6 +144,7 @@
       >
       </el-pagination>
     </div>
+    <BatchImport v-if="batchImportData.visible" :visible.sync="batchImportData.visible" v-bind="batchImportData"></BatchImport>
   </basic-container>
 </template>
 <script>
@@ -152,11 +153,13 @@
 import integrationTransfer from "@/views/integration/integrationTransfer";
 import SetPersonnel from "@/components/template/SetPersonnel";
 import ResembleQueryDialog from "@/components/FormTemplate/ResembleQueryDialog.vue";
+import BatchImport from '@/components/BatchImport'
 export default {
   components: {
     integrationTransfer,
     SetPersonnel,
     ResembleQueryDialog,
+    BatchImport
   },
   name: "Crud.vue",
   props: {
@@ -243,6 +246,11 @@
       seniorQueryColumns: [],
       selectRow: [],
       userName: "",
+      batchImportData: {
+        visible: false,
+        type: '',
+        codeClassifyOid: ''
+      }
     };
   },
   computed: {},
@@ -503,6 +511,11 @@
     EditSumbit(val) {
       this.editvisible = false;
     },
+    openBatchImport(type) {
+      this.batchImportData.visible = true
+      this.batchImportData.type = type
+      this.batchImportData.codeClassifyOid = this.codeClassifyOid
+    }
   },
 };
 </script>

--
Gitblit v1.9.3