From bd06958321afa706f32287c71bd219eb0622c86c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 十二月 2019 16:31:45 +0800
Subject: [PATCH] 2019-12-10

---
 src/templates/comtableconfig/source.jsx |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx
index a408d7a..5f8ab0b 100644
--- a/src/templates/comtableconfig/source.jsx
+++ b/src/templates/comtableconfig/source.jsx
@@ -7,13 +7,14 @@
 class CommonTableBaseData {
   baseConfig = {
     type: 'system',
+    enabled: false,
     setting: {
       actionfixed: false,
       columnfixed: false,
       tableName: '',
       tableType: 'checkbox',
       primaryKey: '',
-      orderColumn: '',
+      order: '',
       dataresource: ''
     },
     tables: [],
@@ -89,6 +90,7 @@
         method: 'POST',
         outerFunc: '',
         sql: '',
+        sqlType: '',
         callbackFunc: '',
         Ot: 'notRequired',
         position: 'toolbar',
@@ -110,6 +112,7 @@
         method: 'POST',
         outerFunc: '',
         sql: '',
+        sqlType: '',
         callbackFunc: '',
         Ot: 'requiredSgl',
         position: 'grid',
@@ -131,6 +134,7 @@
         method: 'POST',
         outerFunc: '',
         sql: '',
+        sqlType: '',
         callbackFunc: '',
         Ot: 'required',
         position: 'toolbar',
@@ -152,6 +156,7 @@
         method: 'POST',
         outerFunc: '',
         sql: '',
+        sqlType: '',
         callbackFunc: '',
         Ot: 'requiredOnce',
         position: 'toolbar',
@@ -208,7 +213,18 @@
         type: 'text',
         Width: 120
       }
-    ]
+    ],
+    gridBtn: {
+      display: false,
+      Align: 'center',
+      IsSort: 'false',
+      uuid: Utils.getuuid(),
+      label: CommonDict['header.form.column.action'],
+      type: 'action',
+      style: 'button',
+      show: 'horizontal',
+      Width: 120
+    }
   }
 
   searchItems = [

--
Gitblit v1.8.0