|
@@ -367,8 +367,10 @@ export default {
|
|
if(this.showSearch == true){
|
|
if(this.showSearch == true){
|
|
this.dataChat();
|
|
this.dataChat();
|
|
}
|
|
}
|
|
- that.$refs.supermap.clearM()
|
|
|
|
- that.$refs.supermap.setMarkers(that.markersList)
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ that.$refs.supermap.clearM()
|
|
|
|
+ that.$refs.supermap.setMarkers(that.markersList)
|
|
|
|
+ }, 3000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
indentleftByDeptIdSetMarkers(deptId) {
|
|
indentleftByDeptIdSetMarkers(deptId) {
|
|
@@ -393,8 +395,10 @@ export default {
|
|
that.markersList.push(this.getMarkersMap(that.resourceTable, markersMap, res.data.resourceList[i]));
|
|
that.markersList.push(this.getMarkersMap(that.resourceTable, markersMap, res.data.resourceList[i]));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- that.$refs.supermap.clearM()
|
|
|
|
- that.$refs.supermap.setMarkers(that.markersList)
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ that.$refs.supermap.clearM()
|
|
|
|
+ that.$refs.supermap.setMarkers(that.markersList)
|
|
|
|
+ }, 3000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getMarkersMap(resourceTable, markersMap, item){
|
|
getMarkersMap(resourceTable, markersMap, item){
|