From 35b44bed4aa7b3f645c20fca025813cf4f3786ea Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 02 二月 2020 10:22:25 +0800 Subject: [PATCH] 2020-02-02 --- src/templates/modalconfig/source.jsx | 80 ++++++++++++++++++++++++--------------- 1 files changed, 49 insertions(+), 31 deletions(-) diff --git a/src/templates/modalconfig/source.jsx b/src/templates/modalconfig/source.jsx index 81fd454..ff5f72b 100644 --- a/src/templates/modalconfig/source.jsx +++ b/src/templates/modalconfig/source.jsx @@ -6,102 +6,120 @@ class CommonTableBaseData { baseConfig = { - type: 'system', + type: 'Modal', setting: { title: '', width: 60, - cols: '2' + cols: '2', + container: 'tab', + focus: '', + finish: 'close', + clickouter: 'unclose', + display: 'modal' }, tables: [], + groups: [], fields: [ { origin: true, - id: 0, uuid: Utils.getuuid(), - label: 'text', + label: 'label', field: '', initval: '', type: 'text', resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', orderType: 'asc', - display: 'dropdown' + decimal: 0, + min: '', + max: '', + readonly: 'false', + required: 'false' }, { origin: true, - id: 1, uuid: Utils.getuuid(), - label: 'select', + label: 'label', field: '', initval: '', type: 'select', resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', orderType: 'asc', - display: 'dropdown' + decimal: 0, + min: '', + max: '', + readonly: 'false', + required: 'false' }, { origin: true, - id: 2, uuid: Utils.getuuid(), - label: 'date', + label: 'label', field: '', initval: '', type: 'date', resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', orderType: 'asc', - display: 'dropdown' + decimal: 0, + min: '', + max: '', + readonly: 'false', + required: 'false' } ] } searchItems = [ { - type: 'search', + type: 'form', label: '鏂囨湰妗�', subType: 'text', url: '' }, { - type: 'search', + type: 'form', + label: '鏁板�兼', + subType: 'number', + url: '' + }, + { + type: 'form', label: '涓嬫媺妗�', subType: 'select', url: '' }, { - type: 'search', + type: 'form', + label: '鏂囦欢涓婁紶', + subType: 'fileupload', + url: '' + }, + { + type: 'form', label: '鏃堕棿妗嗭紙澶╋級', subType: 'date', url: '' }, { - type: 'search', + type: 'form', label: '鏃堕棿妗嗭紙鏈堬級', subType: 'datemonth', url: '' }, { - type: 'search', + type: 'form', label: '鏃堕棿妗嗭紙绉掞級', subType: 'datetime', url: '' + }, + { + type: 'form', + label: '鍑芥暟鍙橀噺', + subType: 'funcvar', + url: '' } ] } -- Gitblit v1.8.0