From 7449eee8fa9f8a251e9c4e9162030f1e004bae0f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 15 十月 2020 09:17:04 +0800 Subject: [PATCH] 2020-10-15 --- src/templates/zshare/formconfig.jsx | 71 +++++++++++++++++++++++++++-------- 1 files changed, 55 insertions(+), 16 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 5dc3afa..2632de6 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -534,14 +534,6 @@ required: false }, { - type: 'select', - key: 'quick', - label: Formdict['header.form.quickadd'], - initVal: '', - required: false, - options: [] - }, - { type: 'radio', key: 'required', label: Formdict['model.required'], @@ -1822,6 +1814,18 @@ value: 'link', text: Formdict['model.form.link'] }, { + value: 'switch', + text: '寮�鍏�' + }, { + value: 'checkbox', + text: '澶氶�夋' + }, { + value: 'radio', + text: '鍗曢�夋' + }, { + value: 'checkcard', + text: '閫夐」鍗�' + }, { value: 'fileupload', text: Formdict['header.form.fileupload'] }, { @@ -1849,8 +1853,23 @@ type: 'text', key: 'initval', label: Formdict['header.form.initval'], + tooltip: '涓嬫媺澶氶�変笌澶氶�夋锛屾坊鍔犲涓垵濮嬪�艰浣跨敤鈥�,鈥濆彿鍒嗛殧銆�', initVal: card.initval || '', required: false + }, + { + type: 'text', + key: 'openVal', + label: '寮�鍚��', + initVal: card.openVal || '', + required: true + }, + { + type: 'text', + key: 'closeVal', + label: '鍏抽棴鍊�', + initVal: card.closeVal || '', + required: true }, { type: 'radio', @@ -1864,6 +1883,20 @@ }, { value: '1', text: Formdict['header.form.datasource'] + }] + }, + { + type: 'radio', + key: 'display', + label: '鏄剧ず', + initVal: card.display || 'text', + required: true, + options: [{ + value: 'text', + text: '鏂囨湰' + }, { + value: 'picture', + text: '鍥剧墖' }] }, { @@ -2017,14 +2050,6 @@ }, { type: 'select', - key: 'quick', - label: Formdict['header.form.quickadd'], - initVal: '', - required: false, - options: [] - }, - { - type: 'select', key: 'fileType', label: '鏄剧ず鏂瑰紡', initVal: card.fileType || 'text', @@ -2128,6 +2153,20 @@ }, { type: 'radio', + key: 'entireLine', + label: '鍗犳嵁鏁磋', + initVal: card.entireLine || 'false', + required: false, + options: [{ + value: 'true', + text: '鏄�' + }, { + value: 'false', + text: '鍚�' + }] + }, + { + type: 'radio', key: 'encryption', label: '鍔犲瘑浼犺緭', initVal: card.encryption || 'false', -- Gitblit v1.8.0