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

管道详情地图

parent db28bd7d
...@@ -280,6 +280,8 @@ ...@@ -280,6 +280,8 @@
// 地图 // 地图
loadmap: false, loadmap: false,
dialogTableVisible: false, dialogTableVisible: false,
// 管道类型字典
typeOptions: [],
str: "", str: "",
// 管道压力数据字典 // 管道压力数据字典
pressureOptions: [], pressureOptions: [],
......
...@@ -95,8 +95,7 @@ ...@@ -95,8 +95,7 @@
getDetail (){ getDetail (){
getPipe(this.pipeId).then(response =>{ getPipe(this.pipeId).then(response =>{
this.form = response.data; this.form = response.data;
this.gaoMap.resetMapCenter([this.form.longitude, this.form.latitude]); this.gaoMap.onlyLine(this.form);
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, this.form)
}); });
}, },
} }
......
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