From 54e14bff397221b5b0d64720f77217f4d34ebf98 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 14 七月 2023 09:50:53 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

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

diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index 562cc1c..9e419a2 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -309,6 +309,7 @@
         if (uniqueFlag === 'CODEEDIT') return this.editHandler()
         if (uniqueFlag === 'CODEBATCHADD') return this.openBatchImport('batchImportApply')
         if (uniqueFlag === 'CODEIMPORTHISTORY') return this.openBatchImport('historyImport')
+        if (uniqueFlag === 'batchApplyCode') return this.openBatchImport('batchApplyCode')
         // 鎵归噺鐢宠缂栫爜
         //  if(uniqueFlag === 'CODEEDIT') return this.openBatchImport('batchApplyCode')
         if (uniqueFlag === 'CODESTARTPROCESS') return this.setHandler()
@@ -441,10 +442,10 @@
       await TableData({
         templateOid: this.templateOid,
         codeClassifyOid: this.codeClassifyOid,
-        page: val.currentPage,
-        limit: val.pageSize,
+        page: this.page.currentPage,
+        limit: this.page.pageSize,
       }).then((res) => {
-        this.data = res.data.data;
+        this.tableData = res.data.data;
       });
     },
     //澶氶��
@@ -518,15 +519,19 @@
       console.log(val)
       addSaveCode(val).then(res=>{
         console.log(res)
-        this.onLoad()
+        this.$nextTick(() => {
+          this.onLoad()
+        })
       })
     },
     EditSumbit(val) {
       this.editvisible = false;
       console.log(val)
-      editSaveCode(val).then(res=>{
-        console.log(res)
-        this.onLoad()
+     editSaveCode(val).then(res=>{
+       console.log(res)
+       this.$nextTick(() => {
+         this.onLoad()
+       })
       })
     },
     openBatchImport(type) {

--
Gitblit v1.9.3