From 71384344722865eb154cc70352f0e34d169394f7 Mon Sep 17 00:00:00 2001
From: liyongde <1419499670@qq.com>
Date: Fri, 17 Mar 2023 14:22:08 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=A0=8F=E5=AE=8C=E5=96=84?=
=?UTF-8?q?=E3=80=81=E5=B8=83=E5=B1=80=E7=AE=A1=E7=90=86=E3=80=81=E7=9B=91?=
=?UTF-8?q?=E6=8E=A7=E7=B3=BB=E7=BB=9F=E3=80=81=E4=BF=A1=E6=81=AF=E9=80=9A?=
=?UTF-8?q?=E7=9F=A5=E7=AE=A1=E7=90=86=E8=B7=B3=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mes/hd/nladmin-system/pom.xml | 2 +-
.../controller/monitor/MonitorController.java | 47 +++++
.../controller/param/SysParamController.java | 4 +-
.../service/monitor/MonitorService.java | 31 +++
.../monitor/impl/MonitorServiceImpl.java | 189 +++++++++++++++++
mes/qd/src/assets/images/dark.svg | 39 ++++
mes/qd/src/assets/images/light.svg | 39 ++++
mes/qd/src/components/TopNav/index.vue | 198 ++++++++++++++++++
mes/qd/src/layout/components/Navbar.vue | 66 +++---
.../src/layout/components/Settings/index.vue | 174 +++++++++++++--
mes/qd/src/layout/components/Sidebar/Logo.vue | 29 ++-
.../src/layout/components/Sidebar/index.vue | 11 +-
.../src/layout/components/TagsView/index.vue | 42 ++++
mes/qd/src/router/routers.js | 2 +-
mes/qd/src/settings.js | 14 ++
mes/qd/src/store/modules/permission.js | 10 +
mes/qd/src/store/modules/settings.js | 18 +-
mes/qd/src/views/system/notice/NoticeIcon.vue | 4 +-
18 files changed, 856 insertions(+), 63 deletions(-)
create mode 100644 mes/hd/nladmin-system/src/main/java/org/nl/system/controller/monitor/MonitorController.java
create mode 100644 mes/hd/nladmin-system/src/main/java/org/nl/system/service/monitor/MonitorService.java
create mode 100644 mes/hd/nladmin-system/src/main/java/org/nl/system/service/monitor/impl/MonitorServiceImpl.java
create mode 100644 mes/qd/src/assets/images/dark.svg
create mode 100644 mes/qd/src/assets/images/light.svg
create mode 100644 mes/qd/src/components/TopNav/index.vue
diff --git a/mes/hd/nladmin-system/pom.xml b/mes/hd/nladmin-system/pom.xml
index b04ae6d5..5fcd9017 100644
--- a/mes/hd/nladmin-system/pom.xml
+++ b/mes/hd/nladmin-system/pom.xml
@@ -15,7 +15,7 @@
0.11.1
- 5.5.0
+ 5.9.0
1.31.0
diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/system/controller/monitor/MonitorController.java b/mes/hd/nladmin-system/src/main/java/org/nl/system/controller/monitor/MonitorController.java
new file mode 100644
index 00000000..d9e957b8
--- /dev/null
+++ b/mes/hd/nladmin-system/src/main/java/org/nl/system/controller/monitor/MonitorController.java
@@ -0,0 +1,47 @@
+/*
+ * Copyright 2019-2020 Zheng Jie
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.nl.system.controller.monitor;
+
+import cn.dev33.satoken.annotation.SaCheckPermission;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.RequiredArgsConstructor;
+import org.nl.system.service.monitor.MonitorService;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @author Zheng Jie
+ * @date 2020-05-02
+ */
+@RestController
+@RequiredArgsConstructor
+@Api(tags = "系统-服务监控管理")
+@RequestMapping("/api/monitor")
+public class MonitorController {
+
+ private final MonitorService serverService;
+
+ @GetMapping
+ @ApiOperation("查询服务监控")
+// @SaCheckPermission("monitor:list")
+ public ResponseEntity