From 390c5026c78d2be9dca4357041f4a0ec8ac3668f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 04 二月 2020 13:57:31 +0800
Subject: [PATCH] 2020-02-04

---
 src/templates/modalconfig/source.jsx |   71 +++++++++++++++++++----------------
 1 files changed, 38 insertions(+), 33 deletions(-)

diff --git a/src/templates/modalconfig/source.jsx b/src/templates/modalconfig/source.jsx
index d26aa98..ff5f72b 100644
--- a/src/templates/modalconfig/source.jsx
+++ b/src/templates/modalconfig/source.jsx
@@ -6,75 +6,68 @@
 
 class CommonTableBaseData {
   baseConfig = {
-    type: 'modal',
+    type: 'Modal',
     setting: {
       title: '',
       width: 60,
-      cols: '2'
+      cols: '2',
+      container: 'tab',
+      focus: '',
+      finish: 'close',
+      clickouter: 'unclose',
+      display: 'modal'
     },
     tables: [],
-    groups: [{
-      label: '鏈垎缁�',
-      default: true,
-      sort: 101,
-      uuid: Utils.getuuid(),
-      sublist: []
-    }],
+    groups: [],
     fields: [
       {
         origin: true,
-        id: Utils.getuuid(),
         uuid: Utils.getuuid(),
-        label: 'text',
+        label: 'label',
         field: '',
         initval: '',
         type: 'text',
         resourceType: '0',
         setAll: 'false',
         options: [],
-        dataSource: '',
-        linkField: '',
-        valueField: '',
-        valueText: '',
-        orderBy: '',
         orderType: 'asc',
-        display: 'dropdown'
+        decimal: 0,
+        min: '',
+        max: '',
+        readonly: 'false',
+        required: 'false'
       }, {
         origin: true,
-        id: Utils.getuuid(),
         uuid: Utils.getuuid(),
-        label: 'select',
+        label: 'label',
         field: '',
         initval: '',
         type: 'select',
         resourceType: '0',
         setAll: 'false',
         options: [],
-        dataSource: '',
-        linkField: '',
-        valueField: '',
-        valueText: '',
-        orderBy: '',
         orderType: 'asc',
-        display: 'dropdown'
+        decimal: 0,
+        min: '',
+        max: '',
+        readonly: 'false',
+        required: 'false'
       }, {
         origin: true,
-        id: Utils.getuuid(),
         uuid: Utils.getuuid(),
-        label: 'date',
+        label: 'label',
         field: '',
         initval: '',
         type: 'date',
         resourceType: '0',
         setAll: 'false',
         options: [],
-        dataSource: '',
-        linkField: '',
-        valueField: '',
-        valueText: '',
-        orderBy: '',
         orderType: 'asc',
-        display: 'dropdown'
+        decimal: 0,
+        min: '',
+        max: '',
+        readonly: 'false',
+        required: 'false'
       }
     ]
   }
@@ -100,6 +93,12 @@
     },
     {
       type: 'form',
+      label: '鏂囦欢涓婁紶',
+      subType: 'fileupload',
+      url: ''
+    },
+    {
+      type: 'form',
       label: '鏃堕棿妗嗭紙澶╋級',
       subType: 'date',
       url: ''
@@ -115,6 +114,12 @@
       label: '鏃堕棿妗嗭紙绉掞級',
       subType: 'datetime',
       url: ''
+    },
+    {
+      type: 'form',
+      label: '鍑芥暟鍙橀噺',
+      subType: 'funcvar',
+      url: ''
     }
   ]
 }

--
Gitblit v1.8.0