From c5a07dba94694d13f0a78e051dfa26c3522933ee Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 十一月 2024 18:10:02 +0800 Subject: [PATCH] 2024-11-15 --- src/menu/components/share/actioncomponent/formconfig.jsx | 89 +++++++++++++++++++++++++++++--------------- 1 files changed, 59 insertions(+), 30 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index f9105db..684488f 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -1409,21 +1409,6 @@ initVal: card.reason || '', required: false }, - // { - // type: 'radio', - // key: 'formCache', - // label: '琛ㄥ崟缂撳瓨', - // initVal: card.formCache || 'false', - // tooltip: '涓昏鐢ㄤ簬鏁版嵁淇敼鍚庯紝鏇存柊鐩稿叧琛ㄥ崟鐨勯�夐」锛屾竻绌虹紦瀛樺悗琛ㄥ崟鍐嶆鎵撳紑鏃舵暟鎹細閲嶆柊鍔犺浇銆�', - // required: false, - // options: [{ - // value: 'false', - // text: '涓嶆竻绌�' - // }, { - // value: 'clear', - // text: '娓呯┖' - // }] - // }, { type: 'radio', key: 'hidden', @@ -1463,6 +1448,37 @@ {value: 'false', text: '绂佺敤'}, ], forbid: viewType === 'popview' + }, + { + type: 'radio', + key: 'extBtn', + label: '鎵╁睍鎸夐挳', + initVal: card.extBtn || 'false', + tooltip: '鐐瑰嚮鎵╁睍鎸夐挳鏃讹紝鍙橀噺 mk_submit_type 灏嗚璧嬪�笺��', + required: false, + options: [ + {value: 'true', text: '鍚敤'}, + {value: 'false', text: '绂佺敤'}, + ], + forbid: appType === 'mob' + }, + { + type: 'text', + key: 'extLabel', + label: '鎵╁睍鍚嶇О', + initVal: card.extLabel || '', + required: true, + readonly: false, + forbid: appType === 'mob' + }, + { + type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false, + forbid: appType === 'mob' }, { type: 'splitLine', @@ -2669,21 +2685,6 @@ initVal: card.reason || '', required: false }, - // { - // type: 'radio', - // key: 'formCache', - // label: '琛ㄥ崟缂撳瓨', - // initVal: card.formCache || 'false', - // tooltip: '涓昏鐢ㄤ簬鏁版嵁淇敼鍚庯紝鏇存柊鐩稿叧琛ㄥ崟鐨勯�夐」锛屾竻绌虹紦瀛樺悗琛ㄥ崟鍐嶆鎵撳紑鏃舵暟鎹細閲嶆柊鍔犺浇銆�', - // required: false, - // options: [{ - // value: 'false', - // text: '涓嶆竻绌�' - // }, { - // value: 'clear', - // text: '娓呯┖' - // }] - // }, { type: 'radio', key: 'hidden', @@ -2726,6 +2727,34 @@ }, { type: 'radio', + key: 'extBtn', + label: '鎵╁睍鎸夐挳', + initVal: card.extBtn || 'false', + tooltip: '鐐瑰嚮鎵╁睍鎸夐挳鏃讹紝鍙橀噺 mk_submit_type 灏嗚璧嬪�笺��', + required: false, + options: [ + {value: 'true', text: '鍚敤'}, + {value: 'false', text: '绂佺敤'}, + ], + }, + { + type: 'text', + key: 'extLabel', + label: '鎵╁睍鍚嶇О', + initVal: card.extLabel || '', + required: true, + readonly: false + }, + { + type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false + }, + { + type: 'radio', key: 'execType', label: '璇锋眰鏂瑰紡', initVal: card.execType || 'multi', -- Gitblit v1.8.0