From cf8e332b14ca79859fcd89f2ac097ed7c6aa66c5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 01 十二月 2019 18:15:45 +0800
Subject: [PATCH] 2019-12-01

---
 src/templates/comtableconfig/source.jsx |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 53 insertions(+), 7 deletions(-)

diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx
index 307604d..fd7dd82 100644
--- a/src/templates/comtableconfig/source.jsx
+++ b/src/templates/comtableconfig/source.jsx
@@ -10,6 +10,10 @@
     setting: {
       actionfixed: false,
       columnfixed: false,
+      tableName: '',
+      tableType: 'checkbox',
+      primaryKey: '',
+      orderColumn: '',
       dataresource: ''
     },
     tables: [],
@@ -82,12 +86,17 @@
         intertype: 'inner',
         innerFunc: '',
         interface: '',
+        method: 'POST',
         outerFunc: '',
+        sql: '',
         callbackFunc: '',
         Ot: 'notRequired',
         position: 'toolbar',
+        execSuccess: 'grid',
+        execError: 'never',
         OpenType: 'pop',
         pageTemplate: '',
+        url: '',
         icon: 'plus',
         class: 'green'
       }, {
@@ -98,12 +107,17 @@
         intertype: 'inner',
         innerFunc: '',
         interface: '',
+        method: 'POST',
         outerFunc: '',
+        sql: '',
         callbackFunc: '',
         Ot: 'requiredSgl',
         position: 'grid',
+        execSuccess: 'grid',
+        execError: 'never',
         OpenType: 'pop',
         pageTemplate: '',
+        url: '',
         icon: 'form',
         class: 'purple'
       }, {
@@ -114,12 +128,17 @@
         intertype: 'inner',
         innerFunc: '',
         interface: '',
+        method: 'POST',
         outerFunc: '',
+        sql: '',
         callbackFunc: '',
         Ot: 'required',
         position: 'toolbar',
+        execSuccess: 'grid',
+        execError: 'never',
         OpenType: 'prompt',
         pageTemplate: '',
+        url: '',
         icon: 'delete',
         class: 'red'
       }, {
@@ -130,12 +149,15 @@
         intertype: 'inner',
         innerFunc: '',
         interface: '',
+        method: 'POST',
         outerFunc: '',
+        sql: '',
         callbackFunc: '',
         Ot: 'requiredOnce',
         position: 'toolbar',
         OpenType: 'exec',
         pageTemplate: '',
+        url: '',
         icon: '',
         class: 'default'
       }
@@ -210,8 +232,20 @@
     },
     {
       type: 'search',
-      label: '鏃堕棿妗嗭紙绉掞級',
-      subType: 'datetime',
+      label: '鏃堕棿妗嗭紙鍛級',
+      subType: 'dateweek',
+      url: ''
+    },
+    {
+      type: 'search',
+      label: '鏃堕棿妗嗭紙鏈堬級',
+      subType: 'datemonth',
+      url: ''
+    },
+    {
+      type: 'search',
+      label: '鏃堕棿妗嗭紙鍖洪棿锛�',
+      subType: 'daterange',
       url: ''
     }
   ]
@@ -219,8 +253,14 @@
   actionItems = [
     {
       type: 'action',
-      label: CommonDict['header.form.pop'],
+      label: CommonDict['header.form.popform'],
       subType: 'pop',
+      url: ''
+    },
+    {
+      type: 'action',
+      label: CommonDict['header.form.popview'],
+      subType: 'popview',
       url: ''
     },
     {
@@ -243,14 +283,20 @@
     },
     {
       type: 'action',
-      label: CommonDict['header.form.newpage'],
-      subType: 'newpage',
+      label: CommonDict['header.form.blank'],
+      subType: 'blank',
       url: ''
     },
     {
       type: 'action',
-      label: CommonDict['header.form.blank'],
-      subType: 'blank',
+      label: CommonDict['header.form.newpage.inner'],
+      subType: 'innerpage',
+      url: ''
+    },
+    {
+      type: 'action',
+      label: CommonDict['header.form.newpage.outer'],
+      subType: 'outerpage',
       url: ''
     }
   ]

--
Gitblit v1.8.0