From b11b45122d2b6903e8970e8d55712f7a6a657e22 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 10 一月 2024 00:01:10 +0800
Subject: [PATCH] defaultReferDataGrid接口修改,实现兼容高级查询sql拼接;修改流水处理接口,增加流水处理跳出判断

---
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 14f0d6b..f18267a 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -395,7 +395,10 @@
     },
     tableHeadDataFateher: {
       handler(newval, oldval) {
-        this.options = newval.tableDefineVO.seniorQueryColumns
+        // console.log(newval)
+        if (newval.length > 0) {
+          this.options = newval.tableDefineVO.seniorQueryColumns
+        }
       }
     },
     codeClassifyOid: {
@@ -407,16 +410,20 @@
     tableDataArray: {
       handler(newval, oldval) {
         this.tableData = newval;
-        this.searchResults = newval
+        this.searchResults = newval;
         this.doLayout();
-        this.fileOptions = {
-          ownbizOid: "0",
-          ownbizBtm: "0",
-          fileDocClassify: '!=processAuditSuggest',
-          fileDocClassifyName: '',
-          hasDownload: true,
-          hasUpload: true,
-          height: 'auto'
+        if (newval.length > 0) {
+          this.fileOptions = {
+            ownbizOid: "0",
+            ownbizBtm: "0",
+            fileDocClassify: '!=processAuditSuggest',
+            fileDocClassifyName: '',
+            hasDownload: true,
+            hasUpload: true,
+            height: 'auto'
+          }
+        } else {
+          this.fileOptions = {};
         }
       },
     },

--
Gitblit v1.9.3