From 2b639156302123d4490f03ec02385c4750d1fa11 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 27 一月 2025 13:59:16 +0800 Subject: [PATCH] 2025-01-27 --- src/menu/components/share/actioncomponent/actionform/index.jsx | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx index 30cd614..727c2dc 100644 --- a/src/menu/components/share/actioncomponent/actionform/index.jsx +++ b/src/menu/components/share/actioncomponent/actionform/index.jsx @@ -226,9 +226,14 @@ if (Ot === 'required') { shows.push('progress') - } - if (Ot === 'required' && (intertype === 'inner' || intertype === 'system')) { - shows.push('execType') + if (intertype === 'inner' || intertype === 'system') { + shows.push('execType') + if (this.record.execType === 'single') { + shows.push('execInterval') + } + } else { + shows.push('execInterval') + } } if (this.record.openmenu && this.record.openmenu !== 'goback') { shows.push('open') @@ -619,6 +624,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 { @@ -1283,6 +1292,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