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

---
 src/menu/components/form/formaction/formconfig.jsx |   37 +++++++++++++++++++++++++------------
 1 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/src/menu/components/form/formaction/formconfig.jsx b/src/menu/components/form/formaction/formconfig.jsx
index 6eb2048..a66f6d7 100644
--- a/src/menu/components/form/formaction/formconfig.jsx
+++ b/src/menu/components/form/formaction/formconfig.jsx
@@ -25,19 +25,21 @@
       try {
         menulist = JSON.parse(menulist)
         menulist = menulist.map(item => ({value: item.MenuID, text: item.MenuName}))
-      } catch {
+      } catch (e) {
         menulist = []
       }
     } else {
       menulist = []
     }
-    menulist.unshift({value: '', text: '鏃�'})
+    if (appType === 'mob') {
+      menulist.push({value: 'goback', text: '杩斿洖锛堜笂涓�椤碉級'})
+    }
   } else {
     menulist = sessionStorage.getItem('fstMenuList')
     if (menulist) {
       try {
         menulist = JSON.parse(menulist)
-      } catch {
+      } catch (e) {
         menulist = []
       }
     } else {
@@ -244,11 +246,21 @@
     {
       type: (appType === 'pc' || appType === 'mob') ? 'select' : 'cascader',
       key: 'linkmenu',
-      label: '鎵撳紑鑿滃崟',
+      label: '涓嬩竴姝ユ搷浣�',
       tooltip: '鎵ц鎴愬姛鍚庨渶瑕佹墦寮�鐨勮彍鍗曘��',
       initVal: card.linkmenu,
+      help: '鍙繑鍥炰笂涓�椤点��',
       required: false,
+      allowClear: true,
       options: menulist
+    },
+    {
+      type: 'text',
+      key: 'output',
+      label: '杩斿洖鍊�',
+      tooltip: '鎵ц鎴愬姛鍚庣殑杩斿洖鍊笺��',
+      initVal: card.output || '',
+      required: false
     },
     {
       type: 'radio',
@@ -276,16 +288,17 @@
     },
     {
       type: 'radio',
-      key: 'enable',
-      label: '鏄惁鏄剧ず',
-      initVal: card.enable || 'true',
-      required: false,
+      key: 'reload',
+      label: '涓婁竴椤�',
+      initVal: card.reload || 'false',
+      tooltip: '鎴愬姛鍚庢槸鍚﹀埛鏂颁笂椤电殑鏁版嵁銆傛敞锛氬湪鏄庣浜慉PP鎴栧皬绋嬪簭涓湁鏁堛��',
+      forbid: appType !== 'mob',
       options: [{
-        value: 'true',
-        text: '鏄剧ず'
-      }, {
         value: 'false',
-        text: '闅愯棌'
+        text: '涓嶅埛鏂�'
+      }, {
+        value: 'true',
+        text: '鍒锋柊'
       }]
     },
   ]

--
Gitblit v1.8.0