From c39fc1db18c6d754312ccbc187f11076c203392b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 22 十二月 2023 17:59:47 +0800 Subject: [PATCH] 2023-12-22 --- src/menu/components/card/double-data-card/options.jsx | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/double-data-card/options.jsx b/src/menu/components/card/double-data-card/options.jsx index 1941d17..591c305 100644 --- a/src/menu/components/card/double-data-card/options.jsx +++ b/src/menu/components/card/double-data-card/options.jsx @@ -1,7 +1,7 @@ /** * @description Wrap琛ㄥ崟閰嶇疆淇℃伅 */ -export default function (wrap, columns = [], setting) { +export default function (wrap, columns = [], setting, buttons = []) { let appType = sessionStorage.getItem('appType') let laypage = setting && setting.laypage !== 'false' let roleList = sessionStorage.getItem('sysRoles') @@ -183,6 +183,15 @@ required: false }, { + type: 'select', + field: 'autoExec', + label: '鑷姩鎵ц', + initval: wrap.autoExec || '', + tooltip: '鍒濆鍖栬嚜鍔ㄦ墽琛屾寜閽��', + required: false, + options: buttons + }, + { type: 'number', field: 'minWidth', label: '鏈�灏忓搴�', @@ -251,6 +260,19 @@ forbid: !!appType || isprint }, { + type: 'radio', + field: 'shifting', + label: '鎸夐挳鍋忕Щ', + initval: wrap.shifting || 'false', + tooltip: '鍚敤鏃讹紝宸ュ叿鏍忔寜閽皢鏄剧ず鍦ㄦ爣棰樻爮鍙充笂瑙掋��', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, + ], + forbid: !!appType || isprint + }, + { type: 'multiselect', field: 'blacklist', label: '榛戝悕鍗�', -- Gitblit v1.8.0