From 7ea1c5f53702951fc4df60e969fc67ef5d7af4dd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 14 一月 2020 10:13:05 +0800
Subject: [PATCH] 2020-01-14

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

diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx
index 398db0c..c0240de 100644
--- a/src/templates/comtableconfig/source.jsx
+++ b/src/templates/comtableconfig/source.jsx
@@ -20,7 +20,8 @@
       innerFunc: '',
       interface: '',
       outerFunc: '',
-      tabshow: 'horizontal'
+      onload: 'true',
+      subtabs: []
     },
     tables: [],
     search: [
@@ -97,11 +98,13 @@
         position: 'toolbar',
         execSuccess: 'grid',
         execError: 'never',
+        errorTime: 15,
         OpenType: 'pop',
         pageTemplate: '',
         url: '',
         icon: 'plus',
-        class: 'green'
+        class: 'green',
+        verify: null
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -118,11 +121,13 @@
         position: 'grid',
         execSuccess: 'grid',
         execError: 'never',
+        errorTime: 15,
         OpenType: 'pop',
         pageTemplate: '',
         url: '',
         icon: 'form',
-        class: 'purple'
+        class: 'purple',
+        verify: null
       }, {
         origin: true,
         uuid: Utils.getuuid(),
@@ -139,11 +144,13 @@
         position: 'toolbar',
         execSuccess: 'grid',
         execError: 'never',
+        errorTime: 15,
         OpenType: 'prompt',
         pageTemplate: '',
         url: '',
         icon: 'delete',
-        class: 'red'
+        class: 'red',
+        verify: null
       }
     ],
     columns: [
@@ -202,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 = [
@@ -270,12 +282,6 @@
     },
     {
       type: 'action',
-      label: CommonDict['header.form.popview'],
-      subType: 'popview',
-      url: ''
-    },
-    {
-      type: 'action',
       label: CommonDict['header.form.prompt'],
       subType: 'prompt',
       url: ''
@@ -288,12 +294,6 @@
     },
     {
       type: 'action',
-      label: CommonDict['header.form.tab'],
-      subType: 'tab',
-      url: ''
-    },
-    {
-      type: 'action',
       label: CommonDict['header.form.excelIn'],
       subType: 'excelIn',
       url: ''
@@ -302,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: ''
     },
     {
@@ -333,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