From 5af280c40f52a839fc4bda38934f680cccf98763 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 10 十一月 2021 17:43:12 +0800 Subject: [PATCH] 2021-11-10 --- src/templates/zshare/formconfig.jsx | 45 ++++++++++++++++++++++++--------------------- 1 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index b2ece7d..510e8fa 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -314,9 +314,9 @@ }, { value: 'datemonth', text: Formdict['model.form.datemonth'] - }, { - value: 'daterange', - text: Formdict['model.form.daterange'] + // }, { + // value: 'daterange', + // text: Formdict['model.form.daterange'] }] } else { typeOptions = [{ @@ -2740,17 +2740,20 @@ type: 'select', key: 'fileType', label: '鏄剧ず鏂瑰紡', - initVal: card.fileType || (appType === 'mob' ? 'picture-card' : 'text'), + initVal: card.fileType || 'text', options: [{ value: 'text', text: '鏂囦欢' - }, { + }, + { value: 'picture', text: '鍥炬枃淇℃伅' - }, { + }, + { value: 'picture-card', text: '鍥剧墖鍗�' - }] + }], + forbid: appType === 'mob' }, { type: 'number', @@ -2947,20 +2950,20 @@ text: 'nvarchar(50)' }] }, - { - type: 'radio', - key: 'mode', - label: '妯″紡', - initVal: card.mode || 'picker', - options: [{ - value: 'picker', - text: '閫夋嫨鍣�' - }, { - value: 'calendar', - text: '鏃ュ巻' - }], - forbid: appType !== 'mob' - }, + // { + // type: 'radio', + // key: 'mode', + // label: '妯″紡', + // initVal: card.mode || 'picker', + // options: [{ + // value: 'picker', + // text: '閫夋嫨鍣�' + // }, { + // value: 'calendar', + // text: '鏃ュ巻' + // }], + // forbid: appType !== 'mob' + // }, { type: 'number', key: 'span', -- Gitblit v1.8.0