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/formconfig.jsx | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 59 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index eec1f28..9213a97 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -215,7 +215,7 @@ { value: 'mkUnBinding', text: '鐢ㄦ埛瑙g粦' }, { value: 'mkUnsubscribe', text: '娉ㄩ攢璐︽埛' }, { value: 'reAuth', text: '鍒囨崲鎺堟潈鐮� / 灏忕▼搴忔竻绌虹紦瀛�' }, - { value: 'reSystem', text: '鍒囨崲绯荤粺锛圓PP鍐咃級' }, + { value: 'reSystem', text: '鍒囨崲绯荤粺' }, { value: 'clearCache', text: '娓呯┖鏈湴閰嶇疆' }, { value: 'copyurl', text: '澶嶅埗閾炬帴鍦板潃' }, { value: 'expPdf', text: '瀵煎嚭PDF' }, @@ -362,6 +362,16 @@ if (typeof(card.openmenu) !== 'string') { card.openmenu = '' } + } + + if (card.syncComponents && card.syncComponents[0] && Array.isArray(card.syncComponents[0])) { + card.syncComponents = card.syncComponents.map((item, i) => { + return { + syncComId: item, + label: '', + uuid: 'fixed' + i + } + }) } let forms = [ @@ -1079,6 +1089,22 @@ options: menulist }, { + type: 'radio', + key: 'urlPar', + label: 'URL鍙橀噺', + initVal: card.urlPar || 'false', + tooltip: '鍒锋柊鑿滃崟鏃舵槸鍚︽竻闄RL鍙橀噺銆�', + required: false, + options: [{ + value: 'true', + text: '娓呯┖' + }, { + value: 'false', + text: '涓嶆竻绌�' + }], + forbid: isApp || viewType === 'popview', + }, + { type: !appType ? 'cascader' : 'select', key: 'openmenu', label: '鎵撳紑鑿滃崟', @@ -1624,6 +1650,14 @@ value: 'single', text: '閫愭潯璇锋眰' }] + }, + { + type: 'number', + key: 'execInterval', + label: '鎵ц闂撮殧', + initVal: card.execInterval || 0, + tooltip: '涓ゆ璇锋眰鐨勬椂闂撮棿闅旓紙鍗曚綅姣锛夈��', + required: false }, { type: 'radio', @@ -2489,6 +2523,22 @@ options: menulist }, { + type: 'radio', + key: 'urlPar', + label: 'URL鍙橀噺', + initVal: card.urlPar || 'false', + tooltip: '鍒锋柊鑿滃崟鏃舵槸鍚︽竻闄RL鍙橀噺銆�', + required: false, + options: [{ + value: 'true', + text: '娓呯┖' + }, { + value: 'false', + text: '涓嶆竻绌�' + }], + forbid: viewType === 'popview', + }, + { type: 'cascader', key: 'openmenu', label: '鎵撳紑鑿滃崟', @@ -2832,6 +2882,14 @@ }] }, { + type: 'number', + key: 'execInterval', + label: '鎵ц闂撮殧', + initVal: card.execInterval || 0, + tooltip: '涓ゆ璇锋眰鐨勬椂闂撮棿闅旓紙鍗曚綅姣锛夈��', + required: false + }, + { type: 'radio', key: 'progress', label: '杩涘害鎻愮ず', -- Gitblit v1.8.0