From 7adf0212cd71a8ec604f65ba2c2e9bdfc5dec22d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 13 一月 2023 10:31:38 +0800 Subject: [PATCH] 2023-01-13 --- src/menu/components/share/actioncomponent/formconfig.jsx | 74 +++++++++++++++++++++++++++++------- 1 files changed, 59 insertions(+), 15 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 254577c..ab5b23b 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -126,7 +126,7 @@ } } if (appType === 'mob') { - opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'innerpage', 'funcbutton'].includes(item.value)) + opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'popview', 'innerpage', 'funcbutton'].includes(item.value)) funTypes = [ { value: 'print', text: '鏍囩鎵撳嵃' }, { value: 'scan', text: '鎵爜' }, @@ -829,23 +829,13 @@ }, { value: 'drawer', text: '鎶藉眽' - }] - }, - { - type: 'number', - key: 'ratio', - min: 1, - max: 3000, - precision: 0, - label: '姣斾緥', - initVal: card.ratio || 85, - tooltip: '妯℃�佹鎴栨娊灞夌殑瀹藉害锛屽皬浜�100涓虹獥鍙e搴︼紙鎴栭珮搴︼級鐧惧垎姣旓紝澶т簬100涓哄儚绱犲�笺��', - required: true + }], + forbid: appType === 'mob', }, { type: 'radio', key: 'placement', - label: '鎶藉眽鏂瑰悜', + label: '寮瑰嚭鏂瑰悜', initVal: card.placement || 'right', required: false, options: [{ @@ -863,6 +853,17 @@ }] }, { + type: 'number', + key: 'ratio', + min: 1, + max: 3000, + precision: 0, + label: '姣斾緥', + initVal: card.ratio || 85, + tooltip: '妯℃�佹鎴栨娊灞夌殑瀹藉害锛屽皬浜�100涓虹獥鍙e搴︼紙鎴栭珮搴︼級鐧惧垎姣旓紝澶т簬100涓哄儚绱犲�笺��', + required: true + }, + { type: 'radio', key: 'clickouter', label: '鐐瑰嚮钂欏眰', @@ -875,6 +876,36 @@ value: 'close', text: '鍏抽棴' }] + }, + { + type: 'radio', + key: 'maskStyle', + label: '钂欏眰鏍峰紡', + initVal: card.maskStyle || 'default', + required: false, + options: [{ + value: 'default', + text: '榛樿' + }, { + value: 'transparent', + text: '閫忔槑' + }], + forbid: appType !== 'mob' + }, + { + type: 'radio', + key: 'closeButton', + label: '鍏抽棴鎸夐挳', + initVal: card.closeButton || 'false', + required: false, + options: [{ + value: 'false', + text: '闅愯棌' + }, { + value: 'true', + text: '鏄剧ず' + }], + forbid: appType !== 'mob' }, { type: 'radio', @@ -997,6 +1028,19 @@ }, { value: 'small', text: '灏�' + }] + }, + { + type: 'radio', + key: 'checkType', + label: '閫夋鏍峰紡', + initVal: card.checkType || 'circle', + options: [{ + value: 'circle', + text: '鍦嗚' + }, { + value: 'square', + text: '鏂硅' }] }, { @@ -1665,7 +1709,7 @@ { type: 'radio', key: 'placement', - label: '鎶藉眽鏂瑰悜', + label: '寮瑰嚭鏂瑰悜', initVal: card.placement || 'right', required: false, options: [{ -- Gitblit v1.8.0