diff --git a/public/images/img.png b/public/images/img.png
new file mode 100644
index 0000000..d40c83d
Binary files /dev/null and b/public/images/img.png differ
diff --git a/src/App.vue b/src/App.vue
index 9140ff4..0659eac 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -27,6 +27,11 @@ onMounted(() => {
height: "100vh",
width: "100vw",
},
+ {
+ el: "#imghot",
+ height: "100vh",
+ width: "100vw",
+ },
],
});
});
diff --git a/src/components/PolygonSelector.vue b/src/components/PolygonSelector.vue
new file mode 100644
index 0000000..0a9ae83
--- /dev/null
+++ b/src/components/PolygonSelector.vue
@@ -0,0 +1,234 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/content/tunnelScene/PolygonSelector.vue b/src/components/content/tunnelScene/PolygonSelector.vue
new file mode 100644
index 0000000..cfa71c0
--- /dev/null
+++ b/src/components/content/tunnelScene/PolygonSelector.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index bee9b5e..ab7d111 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -23,6 +23,15 @@ const routes = [
breadcrumb: true
},
},
+ {
+ path: '/polygon-demo',
+ name: 'polygon-demo',
+ component: () => import('@/views/tunnel/polygon-demo.vue'),
+ meta: {
+ title: '图片热区',
+ breadcrumb: true
+ },
+ },
{
path: '/:tunnelId/:siteId',
name: 'changeSitePreview',
diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue
index 0b89e98..1888e9b 100644
--- a/src/views/tunnel/index.vue
+++ b/src/views/tunnel/index.vue
@@ -2,10 +2,10 @@
@@ -16,27 +16,27 @@
当前站点:
{{ currentSite }}
{{ item.label }}
+ v-for="item in siteList"
+ :key="item.value"
+ :command="item"
+ >{{ item.label }}
-->
@@ -127,7 +127,7 @@
+ @change="changeTunnel">
{{ item.label }}
@@ -139,10 +139,10 @@
报警时间:
@@ -156,30 +156,30 @@
@@ -192,55 +192,55 @@
+ style="background-color: #011c29;--el-table-border-color: none;"
+ :header-cell-style="{ backgroundColor: '#064B66', color: '#fff', fontSize: '40px', borderBottom: 'none' }"
+ :data="alarmList">
+ v-if="roleKey !== 'administrator'">
{{ scope.row.lookupStatus ? "已读" : "未读" }}
+ >{{ scope.row.lookupStatus ? "已读" : "未读" }}
详情
+ type="primary"
+ size="mini"
+ style="font-weight: bold"
+ @click="handleView(scope.row)"
+ link
+ >详情
删除
+ type="danger"
+ size="mini"
+ v-if="roleKey !== 'administrator'"
+ @click="handleDelete(scope.row)"
+ link
+ >删除
@@ -524,13 +524,13 @@ const getScreenInfo = (id) => {
// })
res.data.sensorList.forEach((item) => {
if (
- item.equipmentType === "dust" ||
- item.equipmentType === "carbonDioxide" ||
- item.equipmentType === "carbonMonoxide" ||
- item.equipmentType === "hydrogenSulfide" ||
- item.equipmentType === "sulfurDioxide" ||
- item.equipmentType === "sulfurMonoxide" ||
- item.equipmentType === "nitrogenDioxide"
+ item.equipmentType === "dust" ||
+ item.equipmentType === "carbonDioxide" ||
+ item.equipmentType === "carbonMonoxide" ||
+ item.equipmentType === "hydrogenSulfide" ||
+ item.equipmentType === "sulfurDioxide" ||
+ item.equipmentType === "sulfurMonoxide" ||
+ item.equipmentType === "nitrogenDioxide"
) {
showBadLoading.value = 0;
} else {
@@ -630,7 +630,7 @@ const manageSelect = (name) => {
} else if (name === "隧道管理") {
if (currentSiteId.value && currentUserId.value) {
router.push(
- "/tunnel/" +
+ "/tunnel/" +
localStorage.getItem("currentSiteId") +
"/byHome/" +
currentUserId.value
diff --git a/src/views/tunnel/polygon-demo.vue b/src/views/tunnel/polygon-demo.vue
new file mode 100644
index 0000000..386f977
--- /dev/null
+++ b/src/views/tunnel/polygon-demo.vue
@@ -0,0 +1,1313 @@
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 隧道总长度: {{ tunnelLength }}米
+
+
+
+
+ 当前站点:
{{ currentSite }}
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+ 你好!
{{ currentUser }}
+
今天是:{{ currentDate }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
报警时间:
+ {{ alarmDetail.alarmTime }}
+
+
+
报警内容:
+ {{ alarmDetail.alarmContent }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+ {{ scope.row.lookupStatus ? "已读" : "未读" }}
+
+
+
+
+
+ 详情
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file