From ccd8d35744172332fc2cb92430572a92a4e8a6c7 Mon Sep 17 00:00:00 2001 From: weidong Date: Fri, 22 Dec 2023 19:30:10 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/api/init.json | 194 ++++-------------- .../templates/page/device_overview.html | 10 +- 2 files changed, 44 insertions(+), 160 deletions(-) diff --git a/sec-beidou/src/main/resources/static/api/init.json b/sec-beidou/src/main/resources/static/api/init.json index 562ad505..5c3d06e2 100644 --- a/sec-beidou/src/main/resources/static/api/init.json +++ b/sec-beidou/src/main/resources/static/api/init.json @@ -21,6 +21,12 @@ "icon": "fa fa-home", "target": "_self" }, + { + "title": "运行状态", + "href": "page/gnss_status", + "icon": "fa fa-tachometer", + "target": "_self" + }, { "title": "告警管理", "href": "", @@ -42,148 +48,60 @@ ] }, { - "title": "北斗", - "href": "", - "icon": "fa fa-star-o", - "target": "", - "child": [ - { - "title": "运行状态", - "href": "page/gnss_status", - "icon": "fa fa-tachometer", - "target": "_self" - }, - { - "title": "配置管理", - "href": "", - "icon": "fa fa-gear", - "target": "_self", - "child": [ - { - "title": "通用参数", - "href": "page/gnss_group_cfg", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "设备参数", - "href": "page/gnss_dev_cfg", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "命令行", - "href": "page/cmd_line", - "icon": "fa fa-minus", - "target": "_self" - } - ] - }, - { - "title": "设备消息", - "href": "", - "icon": "fa fa-file-text-o", - "target": "_self", - "child": [ - { - "title": "消息摘要", - "href": "page/gnss_msg", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "状态消息", - "href": "page/gnss_msg_status", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "统计消息", - "href": "page/gnss_msg_trx", - "icon": "fa fa-minus", - "target": "_self" - } - ] - } - ] + "title": "解算结果", + "href": "page/gnss_data_calc", + "icon": "fa fa-calculator", + "target": "_self" }, { - "title": "测斜仪", + "title": "配置管理", "href": "", - "icon": "fa fa-area-chart", - "target": "", + "icon": "fa fa-gear", + "target": "_self", "child": [ { - "title": "运行状态", - "href": "", - "icon": "fa fa-tachometer", + "title": "通用参数", + "href": "page/gnss_group_cfg", + "icon": "fa fa-minus", "target": "_self" }, { - "title": "配置管理", - "href": "", - "icon": "fa fa-gear", + "title": "设备参数", + "href": "page/gnss_dev_cfg", + "icon": "fa fa-minus", + "target": "_self" + }, + { + "title": "命令行", + "href": "page/cmd_line", + "icon": "fa fa-minus", "target": "_self" } ] }, { - "title": "光伏DTU", + "title": "设备消息", "href": "", - "icon": "fa fa-sun-o", - "target": "", + "icon": "fa fa-file-text-o", + "target": "_self", "child": [ { - "title": "运行状态", - "href": "", - "icon": "fa fa-tachometer", + "title": "消息摘要", + "href": "page/gnss_msg", + "icon": "fa fa-minus", "target": "_self" }, { - "title": "配置管理", - "href": "", - "icon": "fa fa-gear", - "target": "_self", - "child": [ - { - "title": "通用参数", - "href": "", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "设备参数", - "href": "", - "icon": "fa fa-minus", - "target": "_self" - } - ] + "title": "状态消息", + "href": "page/gnss_msg_status", + "icon": "fa fa-minus", + "target": "_self" }, { - "title": "设备消息", - "href": "", - "icon": "fa fa-file-text-o", - "target": "_self", - "child": [ - { - "title": "消息摘要", - "href": "", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "状态消息", - "href": "", - "icon": "fa fa-minus", - "target": "_self" - }, - { - "title": "统计消息", - "href": "", - "icon": "fa fa-minus", - "target": "_self" - } - ] + "title": "统计消息", + "href": "page/gnss_msg_trx", + "icon": "fa fa-minus", + "target": "_self" } ] } @@ -220,40 +138,6 @@ "target": "_self" } ] - }, - { - "title": "监测数据", - "icon": "fa fa-slideshare", - "href": "", - "target": "_self", - "child": [ - { - "title": "北斗", - "href": "", - "icon": "fa fa-star-o", - "target": "", - "child": [ - { - "title": "解算结果", - "href": "page/gnss_data_calc", - "icon": "fa fa-calculator", - "target": "_self" - }, - { - "title": "原始数据", - "href": "page/gnss_data_raw", - "icon": "fa fa-database", - "target": "_self" - } - ] - }, - { - "title": "测斜仪", - "href": "", - "icon": "fa fa-area-chart", - "target": "_self" - } - ] } ] } \ No newline at end of file diff --git a/sec-beidou/src/main/resources/templates/page/device_overview.html b/sec-beidou/src/main/resources/templates/page/device_overview.html index 040a528f..fa17e787 100644 --- a/sec-beidou/src/main/resources/templates/page/device_overview.html +++ b/sec-beidou/src/main/resources/templates/page/device_overview.html @@ -24,7 +24,7 @@
-
+
设备数量
@@ -42,18 +42,18 @@
-
+
告警统计
- 严重 2040
- 一般 2020 + 严重 5
+ 一般 20