From f7f7e63ffe9d65b1413dad79ca363b84f9ee4401 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 28 二月 2024 10:56:22 +0800
Subject: [PATCH] 附件列表表格初始化以及按钮

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 2f1440b..a5e7dc5 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -415,9 +415,8 @@
     },
     tableHeadDataFateher: {
       handler(newval, oldval) {
-        // console.log(newval)
-        if (newval.length > 0) {
-          this.options = newval.tableDefineVO.seniorQueryColumns
+        if (Object.keys(newval).length > 0) {
+          this.options = newval.tableDefineVO.seniorQueryColumns;
         }
       }
     },
@@ -440,6 +439,8 @@
             fileDocClassifyName: '',
             hasDownload: true,
             hasUpload: true,
+            hasEdit:true,
+            hasDel:true,
             height: 'auto'
           }
         } else {
@@ -629,6 +630,10 @@
           this.syncLoading = false;
           this.syncDialogBox = false;
           this.SyncValue = "";
+        }else {
+          this.syncLoading = false;
+          this.syncDialogBox = false;
+          this.SyncValue = "";
         }
       } else {
         this.$message.warning('璇烽�夋嫨鏈�鍚庢洿鏂版椂闂达紒')

--
Gitblit v1.9.3