From ae170a9d58b4f91a225eada1dc83ed4a116b8d50 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 25 八月 2024 00:57:37 +0800
Subject: [PATCH] 2024-08-25

---
 src/tabviews/basetable/index.jsx |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/basetable/index.jsx b/src/tabviews/basetable/index.jsx
index 49e94b0..3ef6c7c 100644
--- a/src/tabviews/basetable/index.jsx
+++ b/src/tabviews/basetable/index.jsx
@@ -174,6 +174,20 @@
 
       window.GLOB.CacheData.set(MenuID, urlparam)
 
+      // if (window.backend && config.allSqls) {
+      //   let keys = Object.keys(urlparam)
+      //   config.allSqls.forEach(item => {
+      //     if (item.type === 'datasource') {
+      //       item.urlkeys = keys
+      //       item.urlparam = urlparam
+      //       if (config.flow_code) {
+      //         item.works_flow_code = config.flow_code
+      //       }
+      //     }
+      //     window.GLOB.CacheData.set('sql_' + item.uuid, item)
+      //   })
+      // }
+
       let userName = sessionStorage.getItem('User_Name') || ''
       let fullName = sessionStorage.getItem('Full_Name') || ''
 
@@ -510,9 +524,7 @@
 
     if (cell.verify) {
       if (cell.verify.invalid === 'true') {
-        if (item.wrap && (item.wrap.datatype === 'static' || item.wrap.datatype === 'public')) {
-          cell.verify.invalid = 'false'
-        } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) {
+        if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) {
           cell.verify.invalid = 'false'
         } else if (cell.intertype !== 'system' && cell.procMode !== 'system') {
           cell.verify.invalid = 'false'
@@ -628,6 +640,8 @@
         return component
       }
 
+      component.setting.uuid = component.uuid
+
       let _customScript = ''
       let _tailScript = ''
       component.scripts && component.scripts.forEach(script => {

--
Gitblit v1.8.0