Commit 28cb93f4 authored by wanghao's avatar wanghao

1 应急响应 - 界面报错问题修复,及去掉 用户渲染地图。

parent 855b365b
...@@ -329,7 +329,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -329,7 +329,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select a2.user_id as userId select a2.user_id as userId
from t_detector_info a1 from t_detector_info a1
right join t_detector_user a2 on a1.user_id = a2.user_id right join t_detector_user a2 on a1.user_id = a2.user_id
where a1.is_del = '0' and a2.is_del = '0' and a1.detector_status = '2' and a1.error_msg is null where a1.is_del = '0' and a2.is_del = '0' and a1.detector_status = '2' and a2.error_msg is null
</select> </select>
<insert id="insertTDetectorUser" parameterType="TDetectorUser" useGeneratedKeys="true" keyProperty="userId"> <insert id="insertTDetectorUser" parameterType="TDetectorUser" useGeneratedKeys="true" keyProperty="userId">
......
...@@ -416,12 +416,12 @@ export default { ...@@ -416,12 +416,12 @@ export default {
imgurl: require("@/assets/images/cz3.png"), imgurl: require("@/assets/images/cz3.png"),
name: "场 站", name: "场 站",
}, },
{ // {
val: 6, // val: 6,
ischeck: false, // ischeck: false,
imgurl: require("@/assets/images/cz4.png"), // imgurl: require("@/assets/images/cz4.png"),
name: "用 户", // name: "用 户",
}, // },
{ {
val: 5, val: 5,
ischeck: false, ischeck: false,
...@@ -592,14 +592,14 @@ export default { ...@@ -592,14 +592,14 @@ export default {
this.goMap(getVideo, this.addDevice, VideoView); this.goMap(getVideo, this.addDevice, VideoView);
// 用户要等一下 因为有报警数据 // 用户要等一下 因为有报警数据
this.goMap(detectorUserList, this.addDevice, User).then((res) => { // this.goMap(detectorUserList, this.addDevice, User).then((res) => {
// 先查一下,然后开启定时器 // // 先查一下,然后开启定时器
this.userAlarm(); // this.userAlarm();
this.alarmTimer = setInterval(() => { // this.alarmTimer = setInterval(() => {
this.userAlarm(); // this.userAlarm();
// console.log("查询报警"); // // console.log("查询报警");
}, alarmtime); // }, alarmtime);
}); // });
} }
this.currentTime(); this.currentTime();
// this.$refs.mychild.choice(this.selarr); // this.$refs.mychild.choice(this.selarr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment