From 1e7aa4f0ff5e13c4a99ba511bb357a4cc63aa0c1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 02 四月 2020 15:21:46 +0800 Subject: [PATCH] 2020-04-02 --- src/templates/formtabconfig/source.jsx | 135 ++++++++------------------------------------ 1 files changed, 25 insertions(+), 110 deletions(-) diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx index 1ee4c76..f02c01c 100644 --- a/src/templates/formtabconfig/source.jsx +++ b/src/templates/formtabconfig/source.jsx @@ -6,18 +6,20 @@ class CommonTableBaseData { baseConfig = { - type: 'formTab', + type: 'FormTab', enabled: false, setting: { - tableName: '', - primaryKey: '', - dataresource: '', - interType: 'inner', - innerFunc: '', - interface: '', - outerFunc: '', - cols: 2, - subtabs: [] + // tableName: '', + // primaryKey: '', + // dataresource: '', + datatype: 'query', + // interType: 'inner', + // sysInterface: 'false', + // innerFunc: '', + // interface: '', + // outerFunc: '', + cols: '2', + width: 100 }, tables: [], groups: [ @@ -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', - class: 'green', + OpenType: 'exec', + icon: '', + class: 'border-primary', 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: 'border-danger' } ], tabs: [ -- Gitblit v1.8.0