From 769d84e98ce50ed168d26d2f6b82177b9c786685 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Tue, 14 Aug 2018 13:26:45 +0800
Subject: [PATCH] 菜单更新
---
src/environments/environment.ts | 2 +-
src/app/routes/grid-trace/grid-trace.component.html | 2 +-
src/assets/app-data.json | 51 +++++++++++++++++++++++++++++++++------------------
3 files changed, 35 insertions(+), 20 deletions(-)
diff --git a/src/app/routes/grid-trace/grid-trace.component.html b/src/app/routes/grid-trace/grid-trace.component.html
index 8ae5417..657463e 100644
--- a/src/app/routes/grid-trace/grid-trace.component.html
+++ b/src/app/routes/grid-trace/grid-trace.component.html
@@ -1,5 +1,5 @@
<div class="content__title">
- <h1>������������</h1>
+ <h1>������������</h1>
</div>
<baidu-map #map [options]="options" (loaded)="loadMap($event)" style="display: block;height:400px;">
<heatmap [dataset]="heatData" [options]="heatOption" (loaded)="loadHeatmap($event)"></heatmap>
diff --git a/src/assets/app-data.json b/src/assets/app-data.json
index a78b4a5..f9f17fd 100644
--- a/src/assets/app-data.json
+++ b/src/assets/app-data.json
@@ -20,7 +20,7 @@
"link": "/home-page"
},
{
- "text": "������������",
+ "text": "������������",
"icon": "icon-support",
"link": "/grid-trace"
},
@@ -31,8 +31,23 @@
},
{
"text": "������������",
- "icon": "icon-directions",
- "link": "/environment/management"
+ "icon": "icon-wrench",
+ "children": [
+ {
+ "text": "������������",
+ "link": "/operation/data-audit"
+ }
+ ,
+ {
+ "text": "������������",
+ "link": "/operation/device-controller"
+ }
+ ,
+ {
+ "text": "������������",
+ "link": "/operation/device-maintenance"
+ }
+ ]
},
{
"text": "������������",
@@ -73,21 +88,21 @@
"text": "������������",
"icon": "icon-wrench",
"children": [
- {
- "text": "������������",
- "link": "/operation/data-audit"
- }
- ,
- {
- "text": "������������",
- "link": "/operation/device-controller"
- }
- ,
- {
- "text": "������������",
- "link": "/operation/device-maintenance"
- }
- ]
+ {
+ "text": "������������",
+ "link": "/operation/data-audit"
+ }
+ ,
+ {
+ "text": "������������",
+ "link": "/operation/device-controller"
+ }
+ ,
+ {
+ "text": "������������",
+ "link": "/operation/device-maintenance"
+ }
+ ]
}
]
}
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 0fc0b3c..5691149 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -9,5 +9,5 @@
production: false,
hmr: false,
useHash: true,
- SERVER_BASH_URL: `http://127.0.0.1:8080/`
+ SERVER_BASH_URL: `http://monitor-api2.7drlb.com/`
};
--
Gitblit v1.8.0