From 2031a460f6c0827fe80f8c625dd98333d1631d2f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 08 五月 2020 22:10:48 +0800 Subject: [PATCH] 2020-05-08 --- src/templates/zshare/formconfig.jsx | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 28f3662..5150a76 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -357,7 +357,6 @@ key: 'field', label: Formdict['header.form.field'], initVal: card.field || '', - tooltip: '瀛楁鍚嶅彲浠ヤ娇鐢ㄩ�楀彿鍒嗛殧锛岃繘琛屽瀛楁缁煎悎鎼滅储锛屾敞锛氱患鍚堟悳绱粎鍦ㄦ枃鏈被鍨嬫椂鏈夋晥', tooltipClass: 'middle', required: true, readonly: false @@ -392,7 +391,18 @@ }, { value: 'daterange', text: Formdict['header.form.daterange'] + }, { + value: 'group', + text: '鏃ユ湡锛堢粍鍚堬級' }] + }, + { + type: 'text', + key: 'datefield', + label: '鏃堕棿瀛楁', + initVal: card.datefield || '', + required: true, + readonly: false }, { type: 'text', @@ -443,6 +453,33 @@ initVal: card.options || [], required: true, readonly: false + }, + { + type: 'checkbox', + key: 'items', + label: '閫夐」', + initVal: card.items || ['day', 'week', 'month', 'quarter', 'year', 'customized'], + required: true, + readonly: false, + options: [{ + value: 'day', + label: '鏃�' + }, { + value: 'week', + label: '鍛�' + }, { + value: 'month', + label: '鏈�' + }, { + value: 'quarter', + label: '瀛�' + }, { + value: 'year', + label: '骞�' + }, { + value: 'customized', + label: '鑷�' + }] }, { type: 'text', @@ -577,6 +614,20 @@ initVal: card.blacklist || [], required: false, options: roleList || [] + }, + { + type: 'radio', + key: 'transfer', + label: '浼犻��', + initVal: card.transfer || 'false', + tooltip: '鏁版嵁鏌ヨ鏃讹紝绫诲瀷瀛楁鏄惁浣滀负鍙傛暟浼犻�掋��', + options: [{ + value: 'true', + text: Formdict['header.form.true'] + }, { + value: 'false', + text: Formdict['header.form.false'] + }] } ] } -- Gitblit v1.8.0