From 12c4dd8bb0bb4c523dcf2fbb81191a7f3556a430 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 15 一月 2020 12:50:22 +0800
Subject: [PATCH] 2020-01-15

---
 src/templates/comtableconfig/source.jsx |   52 ++++++++++++++++++++++++++++++----------------------
 1 files changed, 30 insertions(+), 22 deletions(-)

diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx
index d6f783b..c0240de 100644
--- a/src/templates/comtableconfig/source.jsx
+++ b/src/templates/comtableconfig/source.jsx
@@ -21,7 +21,7 @@
       interface: '',
       outerFunc: '',
       onload: 'true',
-      tabshow: 'horizontal'
+      subtabs: []
     },
     tables: [],
     search: [
@@ -103,7 +103,8 @@
         pageTemplate: '',
         url: '',
         icon: 'plus',
-        class: 'green'
+        class: 'green',
+        verify: null
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -125,7 +126,8 @@
         pageTemplate: '',
         url: '',
         icon: 'form',
-        class: 'purple'
+        class: 'purple',
+        verify: null
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -147,7 +149,8 @@
         pageTemplate: '',
         url: '',
         icon: 'delete',
-        class: 'red'
+        class: 'red',
+        verify: null
       }
     ],
     columns: [
@@ -206,24 +209,29 @@
     },
     tabs: [
       {
-        origin: true,
+        origin: true,          // 鏄惁涓虹ず渚�
+        groupId: 'tabs',
         uuid: Utils.getuuid(),
         label: 'tab1',
         icon: '',
         type: 'SubTable',
         linkTab: '',
+        subtabs: [],
         supMenu: ''
       },
       {
         origin: true,
+        groupId: 'tabs',
         uuid: Utils.getuuid(),
         label: 'tab2',
         icon: '',
         type: 'SubTable',
         linkTab: '',
+        subtabs: [],
         supMenu: ''
       }
-    ]
+    ],
+    tabgroups: ['tabs']
   }
 
   searchItems = [
@@ -274,12 +282,6 @@
     },
     {
       type: 'action',
-      label: CommonDict['header.form.popview'],
-      subType: 'popview',
-      url: ''
-    },
-    {
-      type: 'action',
       label: CommonDict['header.form.prompt'],
       subType: 'prompt',
       url: ''
@@ -292,12 +294,6 @@
     },
     {
       type: 'action',
-      label: CommonDict['header.form.tab'],
-      subType: 'tab',
-      url: ''
-    },
-    {
-      type: 'action',
       label: CommonDict['header.form.excelIn'],
       subType: 'excelIn',
       url: ''
@@ -306,6 +302,18 @@
       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: ''
     },
     {
@@ -337,14 +345,14 @@
     },
     {
       type: 'columns',
-      label: CommonDict['header.form.picture'],
-      subType: 'picture',
+      label: CommonDict['header.form.number'],
+      subType: 'number',
       url: ''
     },
     {
       type: 'columns',
-      label: CommonDict['header.form.number'],
-      subType: 'number',
+      label: CommonDict['header.form.picture'],
+      subType: 'picture',
       url: ''
     },
     {

--
Gitblit v1.8.0