From 75623dd039b742dbb44fb4c6b4af563404ed9c7f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 03 二月 2020 16:06:04 +0800 Subject: [PATCH] 2020-02-03 --- src/templates/formtabconfig/source.jsx | 201 ++++++++++++++++---------------------------------- 1 files changed, 65 insertions(+), 136 deletions(-) diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx index aba4f91..a64d2df 100644 --- a/src/templates/formtabconfig/source.jsx +++ b/src/templates/formtabconfig/source.jsx @@ -6,7 +6,7 @@ class CommonTableBaseData { baseConfig = { - type: 'formTab', + type: 'FormTab', enabled: false, setting: { tableName: '', @@ -16,64 +16,52 @@ innerFunc: '', interface: '', outerFunc: '', + cols: '2', subtabs: [] }, tables: [], - search: [ + groups: [ { - origin: true, + isDefault: true, uuid: Utils.getuuid(), label: 'label', - field: '', - initval: '', - type: 'text', - resourceType: '0', - setAll: 'false', - options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'like', - display: 'dropdown' - }, { - origin: true, - uuid: Utils.getuuid(), - label: 'label', - field: '', - initval: '', - type: 'select', - resourceType: '0', - setAll: 'false', - options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'equal', - display: 'dropdown' - }, { - origin: true, - uuid: Utils.getuuid(), - label: 'label', - field: '', - initval: '', - type: 'date', - resourceType: '0', - setAll: 'false', - options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'greater', - display: 'dropdown' + sort: 101, + sublist: [ + { + origin: true, + uuid: Utils.getuuid(), + label: 'label', + field: '', + initval: '', + type: 'text', + resourceType: '0', + setAll: 'false', + options: [], + orderType: 'asc' + }, { + origin: true, + uuid: Utils.getuuid(), + label: 'label', + field: '', + initval: '', + type: 'select', + resourceType: '0', + setAll: 'false', + options: [], + orderType: 'asc' + }, { + origin: true, + uuid: Utils.getuuid(), + label: 'label', + field: '', + initval: '', + type: 'date', + resourceType: '0', + setAll: 'false', + options: [], + orderType: 'asc' + } + ] } ], action: [ @@ -123,29 +111,6 @@ icon: 'form', class: 'purple', verify: null - }, { - origin: true, - uuid: Utils.getuuid(), - label: 'delete', - intertype: 'inner', - innerFunc: '', - interface: '', - method: 'POST', - outerFunc: '', - sql: '', - sqlType: '', - callbackFunc: '', - Ot: 'required', - position: 'toolbar', - execSuccess: 'grid', - execError: 'never', - errorTime: 15, - OpenType: 'prompt', - pageTemplate: '', - url: '', - icon: 'delete', - class: 'red', - verify: null } ], tabs: [ @@ -178,49 +143,55 @@ searchItems = [ { type: 'search', - label: '鏂囨湰妗�', + label: '鏂囨湰', subType: 'text', url: '' }, { type: 'search', - label: '涓嬫媺妗�', + label: '鏁板瓧', + subType: 'number', + url: '' + }, + { + type: 'search', + label: '涓嬫媺閫夋嫨', subType: 'select', url: '' }, { type: 'search', - label: '鏃堕棿妗嗭紙澶╋級', + label: '鏂囦欢涓婁紶', + subType: 'fileupload', + url: '' + }, + { + type: 'search', + label: '鏃堕棿锛堝ぉ锛�', subType: 'date', url: '' }, { type: 'search', - label: '鏃堕棿妗嗭紙鍛級', - subType: 'dateweek', - url: '' - }, - { - type: 'search', - label: '鏃堕棿妗嗭紙鏈堬級', + label: '鏃堕棿锛堟湀锛�', subType: 'datemonth', url: '' }, { type: 'search', - label: '鏃堕棿妗嗭紙鍖洪棿锛�', - subType: 'daterange', + label: '鏃堕棿锛堢锛�', + subType: 'datetime', + url: '' + }, + { + type: 'search', + label: '澶氳鏂囨湰', + subType: 'textarea', url: '' } ] actionItems = [ - { - type: 'action', - label: CommonDict['header.form.popform'], - subType: 'pop', - url: '' - }, { type: 'action', label: CommonDict['header.form.prompt'], @@ -231,48 +202,6 @@ type: 'action', label: CommonDict['header.form.exec'], subType: 'exec', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.excelIn'], - subType: 'excelIn', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.excelOut'], - subType: 'excelOut', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.popview'], - subType: 'popview', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.tab'], - subType: 'tab', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.blank'], - subType: 'blank', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.newpage.inner'], - subType: 'innerpage', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.newpage.outer'], - subType: 'outerpage', url: '' } ] -- Gitblit v1.8.0