From 05896cb241ad7b1586de08f4a8cef6db0dfe7bd7 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 14 Nov 2024 17:51:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=94=E6=80=A5?= =?UTF-8?q?=E5=A4=84=E7=BD=AE=E6=B5=81=E7=A8=8B=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SysMenu.vue | 10 +- src/layouts/MainLayout.vue | 4 +- src/pages/EmergencyResponseManage.vue | 456 ++++++++++++++++++++++++++ src/router/routes.ts | 5 + 4 files changed, 468 insertions(+), 7 deletions(-) create mode 100644 src/pages/EmergencyResponseManage.vue diff --git a/src/components/SysMenu.vue b/src/components/SysMenu.vue index 39e6192..166dc6b 100644 --- a/src/components/SysMenu.vue +++ b/src/components/SysMenu.vue @@ -66,11 +66,6 @@ const list = reactive([ label: '线路信息管理', icon: 'format_list_numbered', }, - { - path: '/dataManage/decisionInfo', - label: '决策信息管理', - icon: 'format_align_center', - }, { path: '/dataManage/faultQuery', label: '故障查询管理', @@ -145,6 +140,11 @@ const list = reactive([ label: '辅助决策方案管理查询', icon: 'format_align_center', }, + { + path: '/dataManage/emergencyResponse', + label: '应急处置流程表', + icon: 'call_merge', + }, ], }, ]); diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index d2159a7..053f5d3 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -15,13 +15,13 @@ 西安NCC调度辅助决策系统 - + /> --> + + + + + +
+ + + + + + +
+
+ 故障类型 :{{ + clickRowInfo.faultType + }} +
+
+ {{ showTitle.faultNameShower }}:{{ clickRowInfo.faultNameShower }} +
+ +
{{ showTitle.faultDriverShower }}
+ +
+
{{ clickRowInfo.faultDriverShower }}
+
+
+ +
{{ showTitle.resultMsg }}
+ +
+
{{ clickRowInfo.resultMsg }}
+
+
+
+
+
+
+ + + + + diff --git a/src/router/routes.ts b/src/router/routes.ts index 4ddbeba..4743361 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -51,6 +51,11 @@ const routes: RouteRecordRaw[] = [ name: 'faultQuery', component: () => import('pages/FaultQueryManage.vue'), }, + { + path: 'emergencyResponse', + name: 'emergencyResponse', + component: () => import('pages/EmergencyResponseManage.vue'), + }, { path: 'thresholdValue', name: 'thresholdValue', From e932e7d0aef401b46e7dd36af9a4534b4ddf8a97 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 14 Nov 2024 18:14:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=92=AD=E6=8A=A5=E8=AF=AD=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/alarm/commonAlarm.vue | 1 + src/layouts/MainLayout.vue | 14 +++++++++++++- src/pages/EmergencyResponseManage.vue | 2 +- src/stores/line-net-store.ts | 3 ++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/alarm/commonAlarm.vue b/src/components/alarm/commonAlarm.vue index 93db671..397fb53 100644 --- a/src/components/alarm/commonAlarm.vue +++ b/src/components/alarm/commonAlarm.vue @@ -81,6 +81,7 @@ function playAlarmMusic(type: number, lineId: number) { i--; } } + if (!lineNetStore.handlePlayAble) return; if (lineNetStore.playAble && audio.value.paused) { const alarmType = (showAlertTypeData as never)[type + '']; let mapAlarmMusic = new Map(); diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 053f5d3..91c58df 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -15,7 +15,7 @@ 西安NCC调度辅助决策系统 -