From 716dfa54209e2d300a66998d0e0e4f024741ab44 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 01 十二月 2022 18:59:31 +0800 Subject: [PATCH] 2022-12-01 --- src/menu/components/card/data-card/options.jsx | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/data-card/options.jsx b/src/menu/components/card/data-card/options.jsx index c750cfc..8026bd2 100644 --- a/src/menu/components/card/data-card/options.jsx +++ b/src/menu/components/card/data-card/options.jsx @@ -3,7 +3,7 @@ /** * @description Wrap琛ㄥ崟閰嶇疆淇℃伅 */ -export default function (wrap, subtype, columns = [], id = '', supNodes = [], setting) { +export default function (wrap, subtype, columns = [], id = '', supNodes = [], setting, buttons = []) { let appType = sessionStorage.getItem('appType') let MenuType = '' let menu = window.GLOB.customMenu @@ -106,6 +106,7 @@ {field: 'goback', values: ['dynamic']}, {field: 'empty', values: ['dynamic', 'public']}, {field: 'jump', values: ['dynamic']}, + {field: 'autoExec', values: ['dynamic']}, {field: 'supModule', values: ['static']}, {field: 'publicId', values: ['public']}, ], @@ -314,6 +315,21 @@ }, { type: 'radio', + field: 'display', + label: '鏄剧ず鎺у埗', + initval: wrap.display || 'normal', + required: false, + options: [ + {value: 'normal', label: '姝e父鏄剧ず'}, + {value: 'hidden', label: '涓嶅彲瑙�'}, + ], + controlFields: [ + {field: 'empty', values: ['normal']}, + ], + forbid: subtype !== 'propcard' + }, + { + type: 'radio', field: 'empty', label: '绌哄�奸殣钘�', initval: wrap.empty || 'show', @@ -326,6 +342,16 @@ ], }, { + type: 'select', + field: 'autoExec', + label: '鑷姩鎵ц', + initval: wrap.autoExec || '', + tooltip: '鏁版嵁鏇存柊鏃惰嚜鍔ㄦ墽琛屾寜閽�傛敞锛氭鎸夐挳鎵ц鎴愬姛鍚庤皑鎱庨�夋嫨鍒锋柊椤癸紝閬垮厤閫犳垚寰幆鎵ц銆�', + required: false, + options: buttons, + forbid: subtype !== 'propcard' + }, + { type: 'radio', field: 'jump', label: '椤甸潰璺宠浆', -- Gitblit v1.8.0