|
|
@@ -261,6 +261,12 @@
|
|
|
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.$root.$on("clearAll", (data)=>{
|
|
|
+ this.clearAll();
|
|
|
+ if(data){
|
|
|
+ console.log("data=", data);
|
|
|
+ }
|
|
|
+ });
|
|
|
this.userStats();
|
|
|
this.getPipeLengthByPressureLevel();
|
|
|
this.jccdChart();
|
|
|
@@ -373,6 +379,7 @@
|
|
|
},
|
|
|
//清除
|
|
|
clearAll() {
|
|
|
+ alert(666)
|
|
|
this.$parent.$refs.supermap.closeMeasuringAll()
|
|
|
this.$parent.$refs.supermap.closeExcavationAll()
|
|
|
this.checkedCities = []
|