From 9039f8db87a3c57c79f5b1ab25d27ab494829d0c Mon Sep 17 00:00:00 2001 From: Wangxin Date: Thu, 6 Nov 2025 21:37:33 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=AB=99=E5=86=85=E4=BF=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alops-ui/src/api/message/index.js | 15 +++ .../alops-ui/src/views/message/index.vue | 95 +++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 ALOps_sys_fe/alops-ui/src/api/message/index.js create mode 100644 ALOps_sys_fe/alops-ui/src/views/message/index.vue diff --git a/ALOps_sys_fe/alops-ui/src/api/message/index.js b/ALOps_sys_fe/alops-ui/src/api/message/index.js new file mode 100644 index 00000000..0fcd0dab --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/api/message/index.js @@ -0,0 +1,15 @@ +import request from '@/utils/request' +import { parseStrEmpty } from "@/utils/ruoyi"; + +// 查询预警消息列表 +export function messageList(query) { + return request({ + url: '/message/list', + method: 'get', + params: query + }) +} + + + + diff --git a/ALOps_sys_fe/alops-ui/src/views/message/index.vue b/ALOps_sys_fe/alops-ui/src/views/message/index.vue new file mode 100644 index 00000000..5d2c7238 --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/views/message/index.vue @@ -0,0 +1,95 @@ + + + From f1d706c75909bbc55dca2d29f891c60da97d8eda Mon Sep 17 00:00:00 2001 From: Wangxin Date: Thu, 6 Nov 2025 21:49:13 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=A9=BA=E7=8A=B6=E6=80=81=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inMonitoring/devicesState/history.vue | 8 ++++---- .../inMonitoring/devicesState/interface.vue | 18 +++++++++--------- .../inMonitoring/devicesState/routing.vue | 6 +++--- .../views/inMonitoring/devicesState/vlan.vue | 6 +++--- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue index 91e92cb0..f3687bd7 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue @@ -10,17 +10,17 @@ > @@ -39,7 +39,7 @@ diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue index 50cd32bb..cb7d24dc 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/interface.vue @@ -10,12 +10,12 @@ > @@ -25,37 +25,37 @@ diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/routing.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/routing.vue index 4e1af7dd..70c5191c 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/routing.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/routing.vue @@ -10,17 +10,17 @@ > diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue index d9dcc453..29de0312 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue @@ -10,17 +10,17 @@ > From ddc716eabd782942f72911eb44b0367091c61c0f Mon Sep 17 00:00:00 2001 From: Wangxin Date: Thu, 6 Nov 2025 21:58:50 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E7=AB=99=E5=86=85?= =?UTF-8?q?=E4=BF=A1=E5=BC=B9=E7=AA=97=E6=94=B9=E4=B8=80=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ALOps_sys_fe/alops-ui/src/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ALOps_sys_fe/alops-ui/src/views/index.vue b/ALOps_sys_fe/alops-ui/src/views/index.vue index 07ff5052..ce9628df 100644 --- a/ALOps_sys_fe/alops-ui/src/views/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/index.vue @@ -375,7 +375,7 @@ export default { // 定期更新设备状态数据(每分钟更新一次) setInterval(() => { this.refreshDeviceStatus(); - }, 60000); + }, 600000); }, beforeDestroy() { // 移除事件监听 From 50d5e5e02225efa29806cb334b05cd755377fdf8 Mon Sep 17 00:00:00 2001 From: Wangxin Date: Thu, 6 Nov 2025 22:20:33 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E6=B7=BB=E5=8A=A0v?= =?UTF-8?q?eneer=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inMonitoring/devicesState/detail.vue | 8 +- .../inMonitoring/devicesState/veneer.vue | 93 +++++++++++++++++++ .../views/inMonitoring/devicesState/vlan.vue | 2 +- 3 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/veneer.vue diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue index 3a374f1d..a47e6aba 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue @@ -227,6 +227,9 @@
+
+ +
@@ -245,10 +248,12 @@ import Interface from './interface.vue' import Vlan from './vlan.vue' import Routing from './routing.vue' import LineChart from './LineChart.vue' +import Veneer from './veneer.vue' + export default { name: "cardItem", - components: { History, Interface, Vlan, Routing, LineChart }, + components: { History, Interface, Vlan, Routing, LineChart, Veneer}, data() { return { DateValue: [dayjs().subtract(1, 'month').format('YYYY-MM-DD HH:mm:ss'),dayjs().format('YYYY-MM-DD HH:mm:ss')], @@ -258,6 +263,7 @@ export default { { name: '接口信息' }, { name: 'VLAN信息' }, { name: '路由表信息' }, + { name: 'venner信息' }, ], tabIndex: 0, dsId:null, diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/veneer.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/veneer.vue new file mode 100644 index 00000000..fb17a395 --- /dev/null +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/veneer.vue @@ -0,0 +1,93 @@ + + + \ No newline at end of file diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue index 29de0312..051946d0 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/vlan.vue @@ -52,7 +52,7 @@ export default { // 查询参数 queryParams: { pageNum: 1, - pageSize: 10, + pageSize: 1000, name: undefined }, }