From 2aa5ab63b4bbce5c36dbb3511b205b3b5f6af9bd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 07 五月 2024 11:34:20 +0800 Subject: [PATCH] 2024-05-07 --- src/templates/zshare/formconfig.jsx | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 55 insertions(+), 5 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index c306270..6ca893d 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -74,6 +74,9 @@ value: 'group', text: '鏃ユ湡锛堢粍鍚堬級' }, { + value: 'range', + text: '鏁板�硷紙鍖洪棿锛�' + }, { value: 'switch', text: '寮�鍏�' }, { @@ -464,6 +467,15 @@ initVal: card.labelwidth || 33.3, tooltip: '鍚嶇О鍗犳嵁鎼滅储鏉′欢瀹藉害鐨勭櫨鍒嗘瘮銆傛敞锛氬瓨鍦ㄥ鍒楁悳绱㈡椂锛屽綋鍓嶆悳绱㈠鏋滄兂瑕佸崰鎹暣琛屽彲鍙傜収浠ヤ笅姣斾緥锛屼袱鍒楋紙16.5锛夈�佷笁鍒楋紙10.8锛夈�佸洓鍒楋紙8锛�', required: true, + forbid: appType === 'mob' + }, + { + type: 'text', + key: 'dateShift', + label: '鏃ユ湡鍋忕Щ', + initVal: card.dateShift || '', + tooltip: '鍙互濉叆涓婄骇瀛楁锛岀敤浜庢帶鍒跺垵濮嬪�硷紝渚嬪锛氫笂绾у瓧娈靛�间负2023-12-10锛屽垵濮嬪�间负鏈湀锛屽垯鍒濆鍖洪棿涓� 2023-12-01 ~ 2023-12-31銆�', + required: false, forbid: appType === 'mob' }, { @@ -1857,6 +1869,21 @@ }, { type: 'radio', + key: 'format', + label: '鏍煎紡鍖�', + tooltip: '浣跨敤鍗冨垎浣嶆椂锛屾暟鍊煎皢浠ュ崈鍒嗕綅鏍煎紡鏄剧ず锛屾彁浜ゆ椂涓哄師鏁板�笺��', + initVal: card.format || '', + forbid: appType === 'mob', + options: [{ + value: '', + text: '鏃�' + }, { + value: 'thdSeparator', + text: '鍗冨垎浣�' + }] + }, + { + type: 'radio', key: 'colorType', label: '棰滆壊绫诲瀷', initVal: card.colorType || 'hex', @@ -2052,6 +2079,7 @@ key: 'inputType', label: '鍔犲瘑鏄剧ず', initVal: card.inputType || 'text', + tooltip: '杈撳叆妗嗗唴瀹逛互 ****** 鏄剧ず銆�', required: false, options: [{ value: 'text', @@ -2062,17 +2090,23 @@ }] }, { - type: 'radio', + type: 'select', key: 'interception', - label: '鎴彇鏂瑰紡', + label: '鏂囨湰棰勫鐞�', initVal: card.interception || 'true', - tooltip: '鎻愪氦鏃剁殑鏂囨湰澶勭悊鏂瑰紡锛岀┖鐧藉瓧绗︽寚寮�澶存垨缁撳熬鐨勭┖鐧藉瓧绗︺��', + tooltip: '鎻愪氦鏃剁殑鏂囨湰澶勭悊鏂瑰紡銆傛敞锛氬叏瑙掕浆鍗婅鏃朵細鍘婚櫎棣栧熬绌烘牸', options: [{ value: 'false', text: '鏃�' }, { value: 'true', - text: '绌虹櫧瀛楃' + text: '鍘绘帀棣栧熬绌烘牸' + // }, { + // value: 'char', + // text: '鍏ㄨ杞崐瑙�' + }, { + value: 'charTure', + text: '鍏ㄨ杞崐瑙�' }, { value: 'func', text: '鑷畾涔夊嚱鏁�' @@ -2476,6 +2510,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垯鎵╁睍绗�', @@ -2552,7 +2602,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