From f0bf8c399c354c22227f8f1a76ed806098db59c0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 五月 2024 16:51:02 +0800 Subject: [PATCH] 2024-05-21 --- src/templates/zshare/formconfig.jsx | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 46 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index c2a388a..50071ac 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -261,6 +261,7 @@ label: '鏁版嵁婧�', initVal: card.dataSource || '', tooltip: '鏁版嵁鏉冮檺鏇挎崲绗� $@ -> /* 鎴� \'\'銆� @$ -> */ 鎴� \'\'', + placeholder: '绯荤粺鍙橀噺锛歮k_departmentcode銆乵k_organization銆乵k_user_type銆�', required: true }, { @@ -1794,6 +1795,19 @@ }, { type: 'radio', + key: 'notZero', + label: "涓嶅彲涓�0", + initVal: card.notZero || 'false', + options: [{ + value: 'true', + text: '鏄�' + }, { + value: 'false', + text: '鍚�' + }] + }, + { + type: 'radio', key: 'database', label: '鏁版嵁搴�', initVal: card.database || 'local', @@ -1865,6 +1879,21 @@ }, { value: 'false', text: '鍚�' + }] + }, + { + type: 'radio', + key: 'format', + label: '鏍煎紡鍖�', + tooltip: '浣跨敤鍗冨垎浣嶆椂锛屾暟鍊煎皢浠ュ崈鍒嗕綅鏍煎紡鏄剧ず锛屾彁浜ゆ椂涓哄師鏁板�笺��', + initVal: card.format || '', + forbid: appType === 'mob', + options: [{ + value: '', + text: '鏃�' + }, { + value: 'thdSeparator', + text: '鍗冨垎浣�' }] }, { @@ -2495,6 +2524,22 @@ readonly: false }, { + type: 'radio', + key: 'opacity', + label: '鏄惁鍙', + initVal: card.opacity || 'true', + tooltip: '涓嶅彲瑙佹椂浠呯敤浣滆〃鍗曞垎闅旓紝涓嶆樉绀哄悕绉般��', + required: false, + forbid: appType === 'mob', + options: [{ + value: 'true', + text: '鍙' + }, { + value: 'false', + text: '涓嶅彲瑙�' + }] + }, + { type: 'text', key: 'regularExtra', label: '姝e垯鎵╁睍绗�', @@ -2571,7 +2616,7 @@ key: 'enter', label: '鍥炶溅浜嬩欢', initVal: (card.type === 'text' || card.type === 'number') ? (card.enter || 'sub') : (card.enter || 'false'), - tooltip: '1銆佺偣鍑籈nter閿垨鏂囨湰绫昏〃鍗曡緭鍏ュ洖杞︾锛�2銆佷笅鎷夐�夋嫨鎴栧紑鍏崇殑閫夐」鍒囨崲銆�', + tooltip: '1銆佺偣鍑籈nter閿垨鏂囨湰绫昏〃鍗曡緭鍏ュ洖杞︾锛�2銆佷笅鎷夐�夋嫨銆佹椂闂淬�佸紑鍏崇殑閫夐」鍒囨崲銆�', options: [{ value: 'sub', text: '鎻愪氦' -- Gitblit v1.8.0