From 6afdec0062dacbded57e166230eb22cc55ced0c1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 08 五月 2021 14:30:21 +0800 Subject: [PATCH] 2021-05-08 --- src/templates/zshare/formconfig.jsx | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index d592fe9..a9fa640 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1188,6 +1188,9 @@ }, { value: 'textarea', text: Formdict['model.form.textarea'] + }, { + value: 'index', + text: '搴忓彿' }] }, { @@ -1934,8 +1937,10 @@ }) } - if (['textarea', 'fileupload', 'multiselect', 'checkbox', 'brafteditor'].includes(card.type)) { + if (['fileupload', 'multiselect', 'checkbox'].includes(card.type)) { _fieldlength = 512 + } else if (['textarea', 'brafteditor'].includes(card.type)) { + _fieldlength = 8000 } return [ @@ -2421,6 +2426,20 @@ }] }, { + type: 'radio', + key: 'declareType', + label: '鏁版嵁绫诲瀷', + tooltip: '澹版槑鍙橀噺鏃剁殑绫诲瀷锛屾椂闂存牸寮廳atetime鎴栨枃鏈牸寮弉varchar(50)銆�', + initVal: card.declareType || 'datetime', + options: [{ + value: 'datetime', + text: 'datetime' + }, { + value: 'nvarchar(50)', + text: 'nvarchar(50)' + }] + }, + { type: 'number', key: 'span', min: 1, -- Gitblit v1.8.0