From 977ce3d348f898d64ea240c8397b83d3e1cc5bb4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 18 十二月 2019 09:23:05 +0800 Subject: [PATCH] 2019-12-18 --- src/templates/comtableconfig/source.jsx | 48 ++++++++++-------------------------------------- 1 files changed, 10 insertions(+), 38 deletions(-) diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx index 1915ca5..6119305 100644 --- a/src/templates/comtableconfig/source.jsx +++ b/src/templates/comtableconfig/source.jsx @@ -17,15 +17,16 @@ order: '', dataresource: '', interType: 'inner', - innerFunc: '' + innerFunc: '', + interface: '', + outerFunc: '' }, tables: [], search: [ { origin: true, - id: 0, uuid: Utils.getuuid(), - label: 'text', + label: 'label', field: '', initval: '', type: 'text', @@ -42,9 +43,8 @@ display: 'dropdown' }, { origin: true, - id: 1, uuid: Utils.getuuid(), - label: 'select', + label: 'label', field: '', initval: '', type: 'select', @@ -61,9 +61,8 @@ display: 'dropdown' }, { origin: true, - id: 2, uuid: Utils.getuuid(), - label: 'date', + label: 'label', field: '', initval: '', type: 'date', @@ -83,7 +82,6 @@ action: [ { origin: true, - id: 0, uuid: Utils.getuuid(), label: 'add', intertype: 'inner', @@ -105,7 +103,6 @@ class: 'green' }, { origin: true, - id: 1, uuid: Utils.getuuid(), label: 'update', intertype: 'inner', @@ -127,7 +124,6 @@ class: 'purple' }, { origin: true, - id: 2, uuid: Utils.getuuid(), label: 'delete', intertype: 'inner', @@ -147,35 +143,14 @@ url: '', icon: 'delete', class: 'red' - }, { - origin: true, - id: 3, - uuid: Utils.getuuid(), - label: 'freeze', - intertype: 'inner', - innerFunc: '', - interface: '', - method: 'POST', - outerFunc: '', - sql: '', - sqlType: '', - callbackFunc: '', - Ot: 'requiredOnce', - position: 'toolbar', - OpenType: 'exec', - pageTemplate: '', - url: '', - icon: '', - class: 'default' } ], columns: [ { origin: true, - id: 0, uuid: Utils.getuuid(), Align: 'left', - label: 'fieldName1', + label: 'label', field: '', Hide: 'false', IsSort: 'true', @@ -183,10 +158,9 @@ Width: 120 }, { origin: true, - id: 1, uuid: Utils.getuuid(), Align: 'left', - label: 'fieldName2', + label: 'label', field: '', Hide: 'false', IsSort: 'true', @@ -194,10 +168,9 @@ Width: 120 }, { origin: true, - id: 2, uuid: Utils.getuuid(), Align: 'left', - label: 'fieldName3', + label: 'label', field: '', Hide: 'false', IsSort: 'true', @@ -205,10 +178,9 @@ Width: 120 }, { origin: true, - id: 3, uuid: Utils.getuuid(), Align: 'left', - label: 'fieldName4', + label: 'label', field: '', Hide: 'false', IsSort: 'true', -- Gitblit v1.8.0