From 1d0042d823333554cc1b74b092496e5aff38d502 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 04 七月 2023 18:46:11 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 32 insertions(+), 26 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index e9fd52a..57a2719 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -3,34 +3,34 @@
     <div class="testbox">
       <div>
         <el-button plain size="small" type="primary" @click="addvisible = true"
-          >澧炲姞
+        >澧炲姞
         </el-button>
         <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>
         <el-button plain size="small" type="primary" @click="setHandler"
-          >鍙戝竷</el-button
+        >鍙戝竷</el-button
         >
         <el-button plain size="small" type="primary" @click="DataChange"
-          >鏁版嵁鏇存敼</el-button
+        >鏁版嵁鏇存敼</el-button
         >
         <el-button plain size="small" type="primary" @click="huishouHandler"
-          >鍥炴敹</el-button
+        >鍥炴敹</el-button
         >
         <el-button plain size="small" type="primary" @click="openD"
-          >瀵煎嚭
+        >瀵煎嚭
         </el-button>
         <el-button plain size="small" type="primary" @click="findHandler"
-          >鏌ヨ
+        >鏌ヨ
         </el-button>
         <el-button plain size="small" type="primary" @click="similarHandler"
-          >鐩镐技椤规煡璇�</el-button
+        >鐩镐技椤规煡璇�</el-button
         >
         <el-button plain size="small" type="primary">鍒锋柊</el-button>
         <el-input
@@ -64,17 +64,6 @@
             :show-overflow-tooltip="true"
             align="center"
           >
-            <!-- 缂栬緫鍜屽睍绀洪�昏緫 -->
-            <!--              <template slot-scope="{ row }">-->
-            <!--                <el-input v-if="editingRow === row && editShow== item.prop" v-model="row[item.prop]" @blur="saveRow"></el-input>-->
-            <!--                <span v-else>{{row[item.prop]}}</span>-->
-            <!--                <el-switch-->
-            <!--                  v-if="editShow === 'true'"-->
-            <!--                  v-model="row[item.prop]"-->
-            <!--                  active-color="#13ce66"-->
-            <!--                  inactive-color="#ff4949">-->
-            <!--                </el-switch>-->
-            <!--              </template>-->
           </el-table-column>
         </el-table>
       </el-row>
@@ -144,6 +133,7 @@
       >
       </el-pagination>
     </div>
+    <BatchImport v-if="batchImportData.visible" :visible.sync="batchImportData.visible" v-bind="batchImportData"></BatchImport>
   </basic-container>
 </template>
 <script>
@@ -152,11 +142,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 +235,11 @@
       seniorQueryColumns: [],
       selectRow: [],
       userName: "",
+      batchImportData: {
+        visible: false,
+        type: '',
+        codeClassifyOid: ''
+      }
     };
   },
   computed: {},
@@ -252,7 +249,7 @@
     this.doLayout();
   },
   watch: {
-     tableHeadDataFateher:{
+    tableHeadDataFateher:{
       handler(newval,oldval){
         this.options=newval.tableDefineVO.seniorQueryColumns
       }
@@ -299,9 +296,6 @@
     },
     // 鍙戝竷
     setHandler() {
-      console.log("1111");
-      console.log("鐖�", this.parameter);
-
       if (this.selectRow.length <= 0) {
         this.$message.warning("璇烽�夋嫨涓�鏉℃暟鎹�");
       } else {
@@ -445,6 +439,7 @@
       row.forEach((item) => {
         this.parameter.ids.push(item.oid);
       });
+      console.log(  '  this.parameter.ids',this.parameter.ids)
     },
     //缂栬緫
     editHandler() {
@@ -503,6 +498,11 @@
     EditSumbit(val) {
       this.editvisible = false;
     },
+    openBatchImport(type) {
+      this.batchImportData.visible = true
+      this.batchImportData.type = type
+      this.batchImportData.codeClassifyOid = this.codeClassifyOid
+    }
   },
 };
 </script>
@@ -517,4 +517,10 @@
     background-color: #f5f7fa !important;
   }
 }
+
+/deep/ .el-button {
+  margin: 0 10px 10px 0;
+}
+
+
 </style>

--
Gitblit v1.9.3