From c5e5a7580632bc39a9e0c78d548f22a8be5f2019 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 18 十月 2023 18:04:51 +0800
Subject: [PATCH] 2023-10-18

---
 src/tabviews/zshare/mutilform/mkPopSelect/index.jsx |    2 +-
 src/templates/modalconfig/source.jsx                |    5 +++++
 src/templates/zshare/formconfig.jsx                 |    8 ++++++++
 src/menu/modulecell/index.jsx                       |    1 +
 4 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/menu/modulecell/index.jsx b/src/menu/modulecell/index.jsx
index e3825af..66e9f76 100644
--- a/src/menu/modulecell/index.jsx
+++ b/src/menu/modulecell/index.jsx
@@ -52,6 +52,7 @@
           { subType: 'textarea', text: '澶氳鏂囨湰', type: 'form' },
           { subType: 'multiselect', text: '涓嬫媺澶氶��', type: 'form' },
           { subType: 'link', text: '鑱斿姩鑿滃崟', type: 'form' },
+          { subType: 'popSelect', text: '閫夋嫨鍣�', type: 'form' },
           { subType: 'switch', text: '寮�鍏�', type: 'form' },
           { subType: 'checkbox', text: '澶氶�夋', type: 'form' },
           { subType: 'radio', text: '鍗曢�夋', type: 'form' },
diff --git a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
index 0181c89..59f0af5 100644
--- a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
@@ -55,7 +55,7 @@
         dataIndex: col.field,
         title: col.label,
         sorter: col.IsSort === 'true',
-        width: 120
+        width: col.Width || 120
       })
     })
 
diff --git a/src/templates/modalconfig/source.jsx b/src/templates/modalconfig/source.jsx
index 58be363..d5bce34 100644
--- a/src/templates/modalconfig/source.jsx
+++ b/src/templates/modalconfig/source.jsx
@@ -102,6 +102,11 @@
   },
   {
     type: 'form',
+    label: '閫夋嫨鍣�',
+    subType: 'popSelect',
+  },
+  {
+    type: 'form',
     label: '寮�鍏�',
     subType: 'switch',
   },
diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 6e13fc6..a6170ab 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -3116,6 +3116,14 @@
               return '鍚�'
             }
           }
+        },
+        {
+          title: '鍒楀',
+          dataIndex: 'Width',
+          inputType: 'number',
+          editable: true,
+          width: '20%',
+          initval: 120
         }
       ]
     },

--
Gitblit v1.8.0