From fe15ff1f9136ec964abdc8b8e3bad8466e215c3d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 11 五月 2022 11:53:26 +0800
Subject: [PATCH] 2022-05-11

---
 src/menu/components/share/actioncomponent/formconfig.jsx |   37 ++++++++++++++++++++++++++-----------
 1 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index 171b5ef..819b4ba 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -88,6 +88,7 @@
     { value: 'changeuser', text: '鍒囨崲鐢ㄦ埛' },
     { value: 'print', text: '鏍囩鎵撳嵃' },
     { value: 'closetab', text: '鏍囩鍏抽棴' },
+    { value: 'megvii', text: '鏃疯闈㈡澘鏈�' },
   ]
   
   if (isApp) {
@@ -112,7 +113,6 @@
       { value: 'mkUnsubscribe', text: '娉ㄩ攢璐︽埛' },
       { value: 'reAuth', text: '鍒囨崲绯荤粺锛堟竻绌虹紦瀛�-灏忕▼搴忥級' },
       { value: 'goBack', text: '杩斿洖' },
-      // { value: 'megvii', text: '鏃疯闈㈡澘鏈�' },
     ]
     pageTemps = [
       { value: 'linkpage', text: '鍏宠仈鑿滃崟' },
@@ -179,16 +179,16 @@
       required: true,
       options: funTypes
     },
-    // {
-    //   type: 'select',
-    //   key: 'subFunc',
-    //   label: '鎺ュ彛鍚嶇О',
-    //   initVal: card.subFunc || '',
-    //   required: true,
-    //   options: [
-    //     { value: 'login', text: '鐧诲綍' }
-    //   ]
-    // },
+    {
+      type: 'radio',
+      key: 'subFunc',
+      label: '鎺ュ彛鍚嶇О',
+      initVal: card.subFunc || 'addUser',
+      required: true,
+      options: [
+        { value: 'addUser', text: '娣诲姞鐢ㄦ埛' },
+      ]
+    },
     {
       type: 'radio',
       key: 'formType',
@@ -891,6 +891,21 @@
       initVal: card.closeText || '',
       required: false,
     },
+    {
+      type: 'radio',
+      key: 'hidden',
+      label: '闅愯棌',
+      initVal: card.hidden || 'false',
+      tooltip: '闅愯棌鍚庢寜閽湪椤甸潰涓笉鏄剧ず锛屼笖涓嶅弬涓庢潈闄愬垎閰嶃��',
+      required: false,
+      options: [{
+        value: 'false',
+        text: '鍚�'
+      }, {
+        value: 'true',
+        text: '鏄�'
+      }]
+    }
   ]
 
   return forms

--
Gitblit v1.8.0