From a8736e84e62cae98c05b1cc6ac6992e4b31e7cf2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 13 一月 2020 00:48:31 +0800
Subject: [PATCH] 2020-01-13

---
 src/templates/formtabconfig/source.jsx |  142 +++++++++++++++++++++-------------------------
 1 files changed, 65 insertions(+), 77 deletions(-)

diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx
index aba4f91..267165c 100644
--- a/src/templates/formtabconfig/source.jsx
+++ b/src/templates/formtabconfig/source.jsx
@@ -16,9 +16,71 @@
       innerFunc: '',
       interface: '',
       outerFunc: '',
+      cols: 2,
       subtabs: []
     },
     tables: [],
+    groups: [
+      {
+        isDefault: true,
+        uuid: Utils.getuuid(),
+        label: 'label',
+        sublist: [
+          {
+            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'
+          }
+        ]
+      }
+    ],
     search: [
       {
         origin: true,
@@ -36,8 +98,7 @@
         valueText: '',
         orderBy: '',
         orderType: 'asc',
-        match: 'like',
-        display: 'dropdown'
+        match: 'like'
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -54,8 +115,7 @@
         valueText: '',
         orderBy: '',
         orderType: 'asc',
-        match: 'equal',
-        display: 'dropdown'
+        match: 'equal'
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -72,8 +132,7 @@
         valueText: '',
         orderBy: '',
         orderType: 'asc',
-        match: 'greater',
-        display: 'dropdown'
+        match: 'greater'
       }
     ],
     action: [
@@ -122,29 +181,6 @@
         url: '',
         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
       }
     ],
@@ -217,12 +253,6 @@
   actionItems = [
     {
       type: 'action',
-      label: CommonDict['header.form.popform'],
-      subType: 'pop',
-      url: ''
-    },
-    {
-      type: 'action',
       label: CommonDict['header.form.prompt'],
       subType: 'prompt',
       url: ''
@@ -231,48 +261,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