From 08413f10a9b4833d0a00a3ee2a3ce629acc7bdd8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 11 Mar 2021 16:14:32 +0800
Subject: [PATCH] 修改巡逻样式

---
 public/map/core/manager/widgetsmanager.js |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/public/map/core/manager/widgetsmanager.js b/public/map/core/manager/widgetsmanager.js
index 02b9414..6dfcfc8 100644
--- a/public/map/core/manager/widgetsmanager.js
+++ b/public/map/core/manager/widgetsmanager.js
@@ -87,7 +87,7 @@
                     "widgetClass": "widgets/realTimePolice/RealTimePolice",
                     "type": "sider",
                     "cssPath": "widgets/realTimePolice/RealTimePolice.css",
-                    "actived": true
+                    "actived": false
                 },
                 {
                     "label": "客户管理",
@@ -96,6 +96,14 @@
                     "type": "sider",
                     "cssPath": "widgets/clientManagement/ClientManagement.css",
                     "actived": false
+                },
+                {
+                  "label": "设备管理",
+                  "id": "equipment",
+                  "widgetClass": "widgets/equipment/ClientManagement",
+                  "type": "sider",
+                  "cssPath": "widgets/equipment/ClientManagement.css",
+                  "actived": false
                 },
                 {
                     "label": "警情调度",
@@ -148,7 +156,7 @@
             _bodyDom: null,
             _mapContentDom: null,
             /**
-             * 默认初始化显示在侧边栏的Widget  
+             * 默认初始化显示在侧边栏的Widget
              */
             _defaultActivedSiderWidgetId: null,
             _topWidgetContainerDom: null,
@@ -181,7 +189,7 @@
                             case "cover":
                                 this._parseCoverWidget(widgetCfg);
                                 break;
-                                
+
                         }
                     }
                     if (this._defaultActivedSiderWidgetId != null && this._activedButton != null) {
@@ -512,4 +520,4 @@
                 }
             }
         });
-    });
\ No newline at end of file
+    });

--
Gitblit v1.9.3