From 0472ec32cadb4f9bca6dbab82ac33a42e76f37ed Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 28 六月 2022 16:24:15 +0800
Subject: [PATCH] 菜单栏&时间轴

---
 src/mob/components/menubar/normal-menubar/menucomponent/options.jsx |   43 ++++++++++++++++++++++++++-----------------
 1 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx
index 00a1b26..3e8bc87 100644
--- a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx
+++ b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx
@@ -41,7 +41,7 @@
       required: true
     },
     {
-      type: 'select',
+      type: 'radio',
       field: 'type',
       label: '鑿滃崟灞炴��',
       initval: setting.type || 'menu',
@@ -49,11 +49,9 @@
       options: [
         {value: 'menu', label: '鑿滃崟'},
         {value: 'linkmenu', label: '鍏宠仈鑿滃崟'},
-        {value: 'sysmenu', label: '绯荤粺椤�'},
         {value: 'link', label: '閾炬帴'},
       ],
       controlFields: [
-        {field: 'sysmenu', values: ['sysmenu']},
         {field: 'copyMenuId', values: ['menu']},
         {field: 'linkMenuId', values: ['linkmenu']},
         {field: 'linkurl', values: ['link']},
@@ -61,22 +59,28 @@
     },
     {
       type: 'select',
-      field: 'sysmenu',
-      label: '绯荤粺椤甸潰',
-      initval: setting.sysmenu || '',
-      required: true,
-      options: [
-        {value: 'AIService', label: '鏅鸿兘瀹㈡湇'},
-      ]
-    },
-    {
-      type: 'select',
       field: 'copyMenuId',
       label: '澶嶅埗鑿滃崟',
       initval: setting.copyMenuId || '',
-      tooltip: '澶嶅埗鑿滃崟浠呭湪褰撳墠鑿滃崟鍒濆鍖栨椂鏈夋晥銆�',
+      tooltip: '澶嶅埗鑿滃崟浠呭湪褰撳墠鑿滃崟鍒涘缓鏃舵湁鏁堛��',
       required: false,
-      options: menulist
+      options: menulist,
+      extendName: 'MenuNo',
+      controlFields: [
+        {field: 'clearMenu', notNull: true},
+      ],
+    },
+    {
+      type: 'radio',
+      field: 'clearMenu',
+      label: '娓呯┖鍏宠仈鑿滃崟',
+      initval: setting.clearMenu || 'true',
+      tooltip: '澶嶅埗鑿滃崟鏃讹紝鏄惁娓呯┖鍘熼〉闈腑鐨勫叧鑱旇彍鍗曘��',
+      required: false,
+      options: [
+        {value: 'true', label: '鏄�'},
+        {value: 'false', label: '鍚�'}
+      ]
     },
     {
       type: 'select',
@@ -84,7 +88,12 @@
       label: '鍏宠仈鑿滃崟',
       initval: setting.linkMenuId || '',
       required: true,
-      options: menulist
+      extendName: 'MenuNo',
+      options: [
+        ...menulist,
+        // {value: 'IM', label: '鍗虫椂閫氫俊锛堢郴缁熼〉锛�'},
+        {value: 'AIService', label: '鏅鸿兘瀹㈡湇锛堢郴缁熼〉锛�'}
+      ]
     },
     {
       type: 'textarea',
@@ -127,7 +136,7 @@
       label: '瀛椾綋澶у皬',
       initval: setting.iconFont || 20,
       min: 12,
-      max: 200,
+      max: 300,
       precision: 0,
       required: true
     },

--
Gitblit v1.8.0