Commit ad084bf4 authored by yaqizhang's avatar yaqizhang

隐患

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