Commit d9a69c99 authored by 王晓倩's avatar 王晓倩

天启油气添加固定标点

parent 56ab3ace
...@@ -473,7 +473,7 @@ export default { ...@@ -473,7 +473,7 @@ export default {
//抽屉是否收回 //抽屉是否收回
backFlag: true, backFlag: true,
mapStyle: true, mapStyle: true,
// 设备轮询用的定时器 // 设备轮询用的定时器
deviceTimer:null, deviceTimer:null,
}; };
...@@ -540,6 +540,18 @@ export default { ...@@ -540,6 +540,18 @@ export default {
// 右下角数据 跟值班人员 // 右下角数据 跟值班人员
this.rightBottomData(); this.rightBottomData();
// this.backFlag = false; // this.backFlag = false;
let marker = new AMap.Marker({
position: [124.737106,45.117734],
map: this.gaoMap.myMap,
offset: new AMap.Pixel(0, 5)
});
let icon = new AMap.Icon({
opacity: 0.1,
image: require("../../../assets/images/tianqi.png")
});
marker.setIcon(icon);
console.log("==========",marker);
}, },
// 更改卫星图 // 更改卫星图
mapChange(num) { mapChange(num) {
...@@ -742,7 +754,7 @@ export default { ...@@ -742,7 +754,7 @@ export default {
console.log(item.selfData.alarmState); console.log(item.selfData.alarmState);
return item.selfData.alarmState; return item.selfData.alarmState;
})[0]; })[0];
// console.log("this.allList[0]", this.allList[0]); // console.log("this.allList[0]", this.allList[0]);
// console.log("myP", myP); // console.log("myP", myP);
// 改变左侧列表的状态(1报警,0,正常) // 改变左侧列表的状态(1报警,0,正常)
......
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