From f0602b981659c6d1ff18e8dba4ca1ce89c5f5610 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 22 三月 2020 21:18:34 +0800
Subject: [PATCH] 2020-03-22
---
src/templates/formtabconfig/source.jsx | 136 ++++++++------------------------------------
1 files changed, 26 insertions(+), 110 deletions(-)
diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx
index 6c209eb..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: [
@@ -25,6 +27,7 @@
isDefault: true,
uuid: Utils.getuuid(),
label: 'label',
+ sort: 101,
sublist: [
{
origin: true,
@@ -36,13 +39,7 @@
resourceType: '0',
setAll: 'false',
options: [],
- dataSource: '',
- linkField: '',
- valueField: '',
- valueText: '',
- orderBy: '',
- orderType: 'asc',
- match: 'like'
+ orderType: 'asc'
}, {
origin: true,
uuid: Utils.getuuid(),
@@ -53,13 +50,7 @@
resourceType: '0',
setAll: 'false',
options: [],
- dataSource: '',
- linkField: '',
- valueField: '',
- valueText: '',
- orderBy: '',
- orderType: 'asc',
- match: 'equal'
+ orderType: 'asc'
}, {
origin: true,
uuid: Utils.getuuid(),
@@ -70,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