From e1cee96b38805bcccf48e7bcb9d296f2bc54c720 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 24 一月 2025 11:10:32 +0800
Subject: [PATCH] 2025-01-24

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 8350b78..72792b9 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -495,6 +495,9 @@
         shows.push('execSuccess', 'execError', 'tipTitle')
       } else if (_funcType === 'mkUnsubscribe' || _funcType === 'reAuth') {
         shows.push('tipTitle')
+      } else if (_funcType === 'reSystem') {
+        shows.push('tipTitle', 'Ot')
+        reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
       } else if (_funcType === 'closetab') {
         shows.push('refreshTab')
       } else if (_funcType === 'scan') {
@@ -616,6 +619,10 @@
       if (['pop', 'prompt', 'exec', 'popview', 'tab', 'innerpage'].includes(openType)) {
         shows.push('showName')
       }
+    }
+
+    if (shows.includes('refreshTab') && this.record.refreshTab && this.record.refreshTab.length) {
+      shows.push('urlPar')
     }
 
     return {
@@ -741,6 +748,10 @@
             _fieldval.color = 'primary'
           }
         }
+        this.record.resetPageIndex = 'false'
+        if ([this.record.execSuccess, this.record.execError].includes('grid')) {
+          _fieldval.resetPageIndex = 'false'
+        }
       } else if (value === 'audit') {
         _fieldval.label = '瀹℃牳'
         _fieldval.Ot = 'required'
@@ -756,6 +767,10 @@
           _fieldval.class = 'danger'
         } else {
           _fieldval.color = 'danger'
+        }
+        this.record.resetPageIndex = 'true'
+        if ([this.record.execSuccess, this.record.execError].includes('grid')) {
+          _fieldval.resetPageIndex = 'true'
         }
       } else if (value === 'custom') {
         _fieldval.Ot = 'required'
@@ -1272,6 +1287,19 @@
             delete values.extraParam
           }
 
+          if (values.refreshTab && values.refreshTab.length && ['pop', 'prompt', 'exec'].includes(values.OpenType) && window.GLOB.customMenu) {
+            let id = values.refreshTab[values.refreshTab.length - 1]
+            if (id === window.GLOB.customMenu.uuid) {
+              if (values.execSuccess !== 'never' || (values.syncComponent && values.syncComponent.length)) {
+                notification.warning({
+                  top: 92,
+                  message: '鎸夐挳鍒锋柊鑿滃崟涓哄綋鍓嶈彍鍗曟椂锛屾垚鍔熷悗鐨勭粍浠跺埛鏂帮紙鎴栧叧闂爣绛撅級灏嗗け鏁�!',
+                  duration: 5
+                })
+              }
+            }
+          }
+
           resolve(values)
         } else {
           reject(err)

--
Gitblit v1.8.0