From 99c0ccd473e30f029b81feb65975d654528bc3e5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 20 四月 2023 17:58:02 +0800 Subject: [PATCH] 2023-04-20 --- src/menu/components/group/normal-group/options.jsx | 112 +++++++++++++++++++++++++++---------------------------- 1 files changed, 55 insertions(+), 57 deletions(-) diff --git a/src/menu/components/group/normal-group/options.jsx b/src/menu/components/group/normal-group/options.jsx index 0d128ce..8b4c290 100644 --- a/src/menu/components/group/normal-group/options.jsx +++ b/src/menu/components/group/normal-group/options.jsx @@ -42,63 +42,61 @@ precision: 0, required: true }, - { - type: 'radio', - field: 'print', - label: '鎵撳嵃鎸夐挳', - initval: setting.print || 'false', - required: false, - options: [ - {value: 'true', label: '鏄剧ず'}, - {value: 'false', label: '闅愯棌'}, - ], - controlFields: [ - {field: 'pageSize', values: ['true']}, - {field: 'pageLayout', values: ['true']}, - {field: 'syncModule', values: ['true']}, - {field: 'checkAll', values: ['true']}, - {field: 'hide', values: ['true']}, - ], - forbid: appType === 'mob' - }, - { - type: 'radio', - field: 'pageSize', - label: '鎵撳嵃灏哄', - initval: setting.pageSize || 'A4', - required: true, - options: [ - {value: 'A3', label: 'A3'}, - {value: 'A4', label: 'A4'}, - {value: 'A5', label: 'A5'}, - ], - forbid: appType === 'mob' - }, - { - type: 'radio', - field: 'pageLayout', - label: '鎵撳嵃甯冨眬', - initval: setting.pageLayout || 'vertical', - required: true, - options: [ - {value: 'vertical', label: '绾靛悜'}, - {value: 'horizontal', label: '妯悜'}, - ], - forbid: appType === 'mob' - }, - { - type: 'checkbox', - field: 'hide', - label: '闅愯棌鍏冪礌', - initval: setting.hide || [], - tooltip: '鎵ц鎵撳嵃鏃堕渶瑕侀殣钘忕殑椤甸潰鍏冪礌銆�', - required: false, - options: [ - {value: 'search', label: '鎼滅储'}, - {value: 'button', label: '鎸夐挳'}, - ], - forbid: appType === 'mob' - }, + // { + // type: 'radio', + // field: 'print', + // label: '鎵撳嵃鎸夐挳', + // initval: setting.print || 'false', + // required: false, + // options: [ + // {value: 'true', label: '鏄剧ず'}, + // {value: 'false', label: '闅愯棌'}, + // ], + // controlFields: [ + // {field: 'pageSize', values: ['true']}, + // {field: 'pageLayout', values: ['true']}, + // {field: 'hide', values: ['true']}, + // ], + // forbid: appType === 'mob' + // }, + // { + // type: 'radio', + // field: 'pageSize', + // label: '鎵撳嵃灏哄', + // initval: setting.pageSize || 'A4', + // required: true, + // options: [ + // {value: 'A3', label: 'A3'}, + // {value: 'A4', label: 'A4'}, + // {value: 'A5', label: 'A5'}, + // ], + // forbid: appType === 'mob' + // }, + // { + // type: 'radio', + // field: 'pageLayout', + // label: '鎵撳嵃甯冨眬', + // initval: setting.pageLayout || 'vertical', + // required: true, + // options: [ + // {value: 'vertical', label: '绾靛悜'}, + // {value: 'horizontal', label: '妯悜'}, + // ], + // forbid: appType === 'mob' + // }, + // { + // type: 'checkbox', + // field: 'hide', + // label: '闅愯棌鍏冪礌', + // initval: setting.hide || [], + // tooltip: '鎵ц鎵撳嵃鏃堕渶瑕侀殣钘忕殑椤甸潰鍏冪礌銆�', + // required: false, + // options: [ + // {value: 'search', label: '鎼滅储'}, + // {value: 'button', label: '鎸夐挳'}, + // ], + // forbid: appType === 'mob' + // }, { type: 'radio', field: 'permission', -- Gitblit v1.8.0