From 063b983daaf51a7f1e8677bde1e9c0e618866c91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 二月 2020 10:30:19 +0800 Subject: [PATCH] 2020-02-21 --- src/templates/formtabconfig/source.jsx | 117 ++++++++-------------------------------------------------- 1 files changed, 16 insertions(+), 101 deletions(-) diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx index 1ee4c76..568c66d 100644 --- a/src/templates/formtabconfig/source.jsx +++ b/src/templates/formtabconfig/source.jsx @@ -6,17 +6,19 @@ class CommonTableBaseData { baseConfig = { - type: 'formTab', + type: 'FormTab', enabled: false, setting: { tableName: '', primaryKey: '', dataresource: '', + datatype: 'query', interType: 'inner', + sysInterface: 'false', innerFunc: '', interface: '', outerFunc: '', - cols: 2, + cols: '2', subtabs: [] }, tables: [], @@ -37,13 +39,7 @@ resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'like' + orderType: 'asc' }, { origin: true, uuid: Utils.getuuid(), @@ -54,13 +50,7 @@ resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'equal' + orderType: 'asc' }, { origin: true, uuid: Utils.getuuid(), @@ -71,118 +61,43 @@ resourceType: '0', setAll: 'false', options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'greater' + orderType: 'asc' } ] } ], - search: [ - { - origin: true, - uuid: Utils.getuuid(), - label: 'label', - field: '', - initval: '', - type: 'text', - resourceType: '0', - setAll: 'false', - options: [], - dataSource: '', - linkField: '', - valueField: '', - valueText: '', - orderBy: '', - orderType: 'asc', - match: 'like' - }, { - 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' - }, { - 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' - } - ], action: [ { - origin: true, + btnType: 'confirm', uuid: Utils.getuuid(), - label: 'add', + label: '纭畾', intertype: 'inner', innerFunc: '', interface: '', - method: 'POST', outerFunc: '', sql: '', sqlType: '', callbackFunc: '', Ot: 'notRequired', - position: 'toolbar', execSuccess: 'grid', execError: 'never', errorTime: 15, - OpenType: 'pop', - pageTemplate: '', - url: '', - icon: 'plus', + OpenType: 'exec', + icon: '', class: 'green', verify: null }, { - origin: true, + btnType: 'cancel', uuid: Utils.getuuid(), - label: 'update', - intertype: 'inner', - innerFunc: '', - interface: '', - method: 'POST', - outerFunc: '', - sql: '', - sqlType: '', - callbackFunc: '', - Ot: 'requiredSgl', - position: 'grid', + label: '鍏抽棴', execSuccess: 'grid', execError: 'never', errorTime: 15, - OpenType: 'pop', + OpenType: 'exec', pageTemplate: '', url: '', - icon: 'form', - class: 'purple', - verify: null + icon: '', + class: 'danger' } ], tabs: [ -- Gitblit v1.8.0