diff --git a/config/index.js b/config/index.js
index 6627110..a1ca6b1 100644
--- a/config/index.js
+++ b/config/index.js
@@ -12,7 +12,7 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/api': {
- target: 'http://localhost:9990',
+ target: 'http://192.168.111.144:9990',
// target: 'http://60.255.186.185:9024/api',
changeOrigin: true,
pathRewrite: {
diff --git a/src/router/router.js b/src/router/router.js
index f7d3218..11aacea 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -60,7 +60,7 @@ export const screenRouter = [
name: "emergencyScreen",
title: "应急广播",
component: () =>
- import("@/views/screen/emergency-screen.vue")
+ import("@/views/screen/emergency-screen-two.vue")
},
{
path: "/mediaBigScreen",
diff --git a/src/views/screen/county-screen.vue b/src/views/screen/county-screen.vue
index b76d376..0c7179b 100644
--- a/src/views/screen/county-screen.vue
+++ b/src/views/screen/county-screen.vue
@@ -220,6 +220,22 @@
+
+
+
+
+
@@ -249,6 +265,7 @@ export default {
let self = this;
return {
title: "翠屏区智慧广电示范区",
+ warringState: false,
areaCode: window.$localStorage.getItem("areaCode"),
videoUrl: "/localImage/home/home.mp4",
logUrl: "/localImage/smartserver/yj.glb",
@@ -304,10 +321,30 @@ export default {
{
menuItem: "人流预警",
isShowTwon: true,
+ children: [
+ {
+ menuItem: "人流1",
+ areaCode: "",
+ },
+ {
+ menuItem: "人流2",
+ areaCode: "",
+ },
+ ],
},
{
menuItem: "车流预警",
isShowTwon: true,
+ children: [
+ {
+ menuItem: "车流1",
+ areaCode: "",
+ },
+ {
+ menuItem: "车流2",
+ areaCode: "",
+ },
+ ],
},
{
menuItem: "视频结构化",
@@ -575,6 +612,30 @@ export default {
this.getTownMemu();
},
methods: {
+ toWarring(item) {
+ switch (this.currentType) {
+ case "person":
+ this.$router.push({
+ path: "/person-warring",
+ query: {
+ areaName: item.menuItem,
+ areaCode: item.areaCode,
+ },
+ });
+ break;
+ case "car":
+ this.$router.push({
+ path: "/car-warring",
+ query: {
+ areaName: item.menuItem,
+ areaCode: item.areaCode,
+ },
+ });
+ break;
+ default:
+ break;
+ }
+ },
jumpSystem(item) {
this.currentMenu = item;
this.appState = true;
@@ -1053,26 +1114,35 @@ export default {
switch (item.menuItem) {
case "镇级":
this.currentType = "town";
+ this.townModal = true;
break;
case "村级":
this.currentType = "village";
+ this.townModal = true;
break;
case "乡村治理":
this.currentType = "governance";
+ this.townModal = true;
break;
case "网格管理":
this.currentType = "grid";
+ this.townModal = true;
break;
case "人流预警":
this.currentType = "person";
+ this.appState = false;
+ this.currentMenu = item;
+ this.warringState = true;
break;
case "车流预警":
this.currentType = "car";
+ this.appState = false;
+ this.currentMenu = item;
+ this.warringState = true;
break;
default:
break;
}
- this.townModal = true;
} else if (item.url) {
window.open(item.url);
}
diff --git a/src/views/screen/emergency-screen-two.vue b/src/views/screen/emergency-screen-two.vue
new file mode 100644
index 0000000..838302c
--- /dev/null
+++ b/src/views/screen/emergency-screen-two.vue
@@ -0,0 +1,1183 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 资源状态展示
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+ 地区
+
+
+ 前端在线
+
+
+ 前端离线
+
+
+ 终端在线
+
+
+ 终端离线
+
+
+
+
+
+
+
+ {{ item.districtName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备终端
+
+
+
+
+
+
+
+
+
+ {{
+ item.status == "0"
+ ? "离线"
+ : "在线"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 最新应急信息
+
+
+
+
+ 事件类别
+
+
+ 事件标题
+
+
+ 发布单位
+
+
+ 调度状态
+
+
+
+
+
+
+
+ {{ item.eventTypeName }}
+
+
+ {{ item.msgTitle }}
+
+
+ {{ item.senderName }}
+
+
+ {{
+ item.status == 1
+ ? "已调度"
+ : "未调度"
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 名称:{{ currentPoint.name }}
+
+
+
+ 资源编码:{{ currentPoint.resourceCode }}
+
+
+ 安装位置:{{ currentPoint.location }}
+
+
+
+ 安装时间:{{ currentPoint.installTime }}
+
+
+ 经度:{{ currentPoint.longitude }}
+
+
+
+ 纬度:{{ currentPoint.latitude }}
+
+
+ 在线状态:
+ {{ currentPoint.status == "1" ? "在线" : "离线" }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/screen/village-screen.vue b/src/views/screen/village-screen.vue
index 8dc3b41..7afc397 100644
--- a/src/views/screen/village-screen.vue
+++ b/src/views/screen/village-screen.vue
@@ -282,6 +282,8 @@
+
+