Commit ad084bf4 authored by yaqizhang's avatar yaqizhang

隐患

parent cb7c1435
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</el-tooltip> </el-tooltip>
</div> </div>
<div class="markbox-span"> <div class="markbox-span">
<span>0</span> <span>{{tjNumberObj.troubleNum}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -148,6 +148,7 @@ export default class GIS extends Vue { ...@@ -148,6 +148,7 @@ export default class GIS extends Vue {
@Provide() windowsArr: any = []; @Provide() windowsArr: any = [];
@Provide() windowsArr1: any = []; @Provide() windowsArr1: any = [];
@Provide() windowsArr2: any = []; @Provide() windowsArr2: any = [];
@Provide() windowsArr3: any = [];
@Provide() currentWindow: any = ""; @Provide() currentWindow: any = "";
// @Provide() searchOption: any = { // @Provide() searchOption: any = {
// city: "石家庄", // city: "石家庄",
...@@ -441,11 +442,11 @@ export default class GIS extends Vue { ...@@ -441,11 +442,11 @@ export default class GIS extends Vue {
offset: [-13, -2], offset: [-13, -2],
events: { events: {
click: (e: any) => { click: (e: any) => {
that.windowsArr2.forEach((ele: any) => { that.windowsArr3.forEach((ele: any) => {
ele.visible = false; ele.visible = false;
}); });
that.$nextTick(() => { that.$nextTick(() => {
that.currentWindow = that.windowsArr2[index]; that.currentWindow = that.windowsArr3[index];
that.currentWindow.visible = true; that.currentWindow.visible = true;
}); });
}, },
...@@ -454,7 +455,7 @@ export default class GIS extends Vue { ...@@ -454,7 +455,7 @@ export default class GIS extends Vue {
}; };
that.Mutil.addMarkerToMap( that.Mutil.addMarkerToMap(
'yh', 'yh',
obj.deviceName, obj.troubleName,
icon, icon,
[obj.longitude, obj.latitude], [obj.longitude, obj.latitude],
0.6, 0.6,
......
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