From 4e9d69459cf189797b779d5c744bae75e7c9afea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com>
Date: Thu, 9 Jan 2025 10:53:32 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E4=B8=8E?=
=?UTF-8?q?=E6=89=93=E5=8C=85=E7=8E=AF=E5=A2=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 5 +-
.env.production | 5 +
src/components/eventPrompt/index.vue | 107 ++--
src/permission.js | 121 ++--
src/router/filterRouter.js | 156 +++++
src/router/index.js | 206 ++-----
src/utils/lib/leaflet.ChineseTmsProviders.js | 394 ++++++------
src/utils/request.js | 268 +++++----
src/views/eventList.vue | 135 +++--
src/views/index.vue | 201 ++++---
src/views/warningManage/warningAppear.vue | 564 ++++++++++--------
.../warningAudit/emphasisEvent.vue | 305 ++++++----
.../warningManage/warningAudit/groupEvent.vue | 308 ++++++----
.../warningAudit/instancyEvent.vue | 313 ++++++----
.../warningAudit/oneToManyEvent.vue | 305 ++++++----
.../warningAudit/oneToOneEvent.vue | 305 ++++++----
.../warningManage/warningAudit/similarity.vue | 289 +++++----
17 files changed, 2342 insertions(+), 1645 deletions(-)
create mode 100644 src/router/filterRouter.js
diff --git a/.env.development b/.env.development
index c04f33f..0cb2759 100644
--- a/.env.development
+++ b/.env.development
@@ -6,8 +6,11 @@ ENV = 'development'
# 若依管理系统/开发环境
# VUE_APP_BASE_API = '/dev-api'
-VUE_APP_BASE_API = 'http://192.168.0.112:9102/api'
+VUE_APP_BASE_API = 'http://192.168.0.128:9102/api'
# VUE_APP_BASE_API = 'http://39.101.188.84:9102/api'
+#是否正式环境 正式true 测试false
+VUE_APP_ISTEST= false
+
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/.env.production b/.env.production
index 879c15d..b9783b0 100644
--- a/.env.production
+++ b/.env.production
@@ -7,3 +7,8 @@ ENV = 'production'
# 若依管理系统/生产环境
# VUE_APP_BASE_API = 'http://39.101.188.84:9102/api'
VUE_APP_BASE_API = 'http://localhost:9002/api'
+
+
+#是否正式环境 正式true 测试false
+VUE_APP_ISTEST= false
+
diff --git a/src/components/eventPrompt/index.vue b/src/components/eventPrompt/index.vue
index d49a426..9567a50 100644
--- a/src/components/eventPrompt/index.vue
+++ b/src/components/eventPrompt/index.vue
@@ -12,81 +12,68 @@
{{ eventInfo.msgTypeName }}
{{ eventInfo.title }}
-
+
+
diff --git a/src/views/index.vue b/src/views/index.vue
index fb40fb0..299eef3 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -4,12 +4,25 @@
-
+
-
+
- 重置
- 查询
+ 重置
+ 查询
@@ -37,7 +57,11 @@
width="55"
align="center"
/>
-
+
@@ -61,11 +85,11 @@
-
-
+
diff --git a/src/views/warningManage/warningAppear.vue b/src/views/warningManage/warningAppear.vue
index 4ea714e..b1d107f 100644
--- a/src/views/warningManage/warningAppear.vue
+++ b/src/views/warningManage/warningAppear.vue
@@ -11,12 +11,25 @@
v-if="queryParams.title"
class="el-icon-close el-input__icon"
slot="suffix"
- @click="handleIconClick">
+ @click="handleIconClick"
+ >
-
+
-
+
全部
待审核
已审核
@@ -24,25 +37,50 @@
-
+
-
{{ item.msgTypeName }}
+
+ {{ item.msgTypeName }}
+
{{ item.title }}
-

+
{{ item.address }}
-

+
{{ item.firstWarnTimeDate }}
@@ -52,7 +90,7 @@
-
-
![]()
+
+
{{ item.text }}
-
-
+
+
diff --git a/src/views/warningManage/warningAudit/emphasisEvent.vue b/src/views/warningManage/warningAudit/emphasisEvent.vue
index 28ad732..43dc060 100644
--- a/src/views/warningManage/warningAudit/emphasisEvent.vue
+++ b/src/views/warningManage/warningAudit/emphasisEvent.vue
@@ -3,7 +3,9 @@
驾驶舱重点人员事件
- 解释:重点人员发生投诉的情况。规则:7天内、同一人发生超过7次的。只分析五失人员、关注人员名单。根据人员手机号匹配。当天同一个人合并一条。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
+ 解释:重点人员发生投诉的情况。规则:7天内、同一人发生超过7次的。只分析五失人员、关注人员名单。根据人员手机号匹配。当天同一个人合并一条。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
-
\ No newline at end of file
+
diff --git a/src/views/warningManage/warningAudit/groupEvent.vue b/src/views/warningManage/warningAudit/groupEvent.vue
index ff2ead9..5b26cdc 100644
--- a/src/views/warningManage/warningAudit/groupEvent.vue
+++ b/src/views/warningManage/warningAudit/groupEvent.vue
@@ -3,7 +3,9 @@
驾驶舱群体事件
- 解释:同地点、同一件事发生多起。规则:3天内、同地点、同一件事发生超过10次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
+ 解释:同地点、同一件事发生多起。规则:3天内、同地点、同一件事发生超过10次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
-
+
diff --git a/src/views/warningManage/warningAudit/instancyEvent.vue b/src/views/warningManage/warningAudit/instancyEvent.vue
index 9fa70d8..49c2ca9 100644
--- a/src/views/warningManage/warningAudit/instancyEvent.vue
+++ b/src/views/warningManage/warningAudit/instancyEvent.vue
@@ -3,7 +3,9 @@
驾驶舱紧急事件
- 解释:社会治安类紧急突发事件。规则:跳楼、放火、杀人、灾害、火灾、救火、打架、群架、斗殴、殴打、受伤、车祸、受伤、地震等类型。
+ 解释:社会治安类紧急突发事件。规则:跳楼、放火、杀人、灾害、火灾、救火、打架、群架、斗殴、殴打、受伤、车祸、受伤、地震等类型。
-
+
diff --git a/src/views/warningManage/warningAudit/oneToManyEvent.vue b/src/views/warningManage/warningAudit/oneToManyEvent.vue
index 5bc25cf..14acd9d 100644
--- a/src/views/warningManage/warningAudit/oneToManyEvent.vue
+++ b/src/views/warningManage/warningAudit/oneToManyEvent.vue
@@ -3,7 +3,9 @@
驾驶舱一人多诉事件
- 解释:一人多诉的情况,关注这个人多次投诉。规则:15天内、同一人、发生超过5次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
+ 解释:一人多诉的情况,关注这个人多次投诉。规则:15天内、同一人、发生超过5次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
-
\ No newline at end of file
+
diff --git a/src/views/warningManage/warningAudit/oneToOneEvent.vue b/src/views/warningManage/warningAudit/oneToOneEvent.vue
index 003f981..473e72f 100644
--- a/src/views/warningManage/warningAudit/oneToOneEvent.vue
+++ b/src/views/warningManage/warningAudit/oneToOneEvent.vue
@@ -3,7 +3,9 @@
驾驶舱同人同述事件
- 解释:同人同诉的情况,关注这件事情多次投诉未解决。规则:15天内、同一人、发生超过5次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
+ 解释:同人同诉的情况,关注这件事情多次投诉未解决。规则:15天内、同一人、发生超过5次的。如果超过30天则创建新事件。如果当天再发生不再推送新事件,第二天再发生再推送新事件。
-
\ No newline at end of file
+
diff --git a/src/views/warningManage/warningAudit/similarity.vue b/src/views/warningManage/warningAudit/similarity.vue
index e1cbf77..95b4582 100644
--- a/src/views/warningManage/warningAudit/similarity.vue
+++ b/src/views/warningManage/warningAudit/similarity.vue
@@ -3,7 +3,9 @@
驾驶舱相似同类事件
- 解释:分析出与目标工单的属于同类型的相似事件。规则:返回相似度排名超过0.92的结果,最多返回10条。
+ 解释:分析出与目标工单的属于同类型的相似事件。规则:返回相似度排名超过0.92的结果,最多返回10条。