fujunwen пре 4 година
родитељ
комит
9e72bb8535
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/statistics/index.vue

+ 2 - 2
src/views/statistics/index.vue

@@ -375,13 +375,11 @@ export default {
          * @Param data 返回选中项的数据
          */
         selectProjectItem(ids) {
-            console.log(ids)
             if (!ids && this.currentZoneData) {
                 this.pantGroupMap(this.regulateDistrictData[0], this.systemList[0].smsxt)
                 this.createNavpathByData(this.regulateDistrictData[0])
             }
             let data = this.getDataByCityCcode(ids)
-       
             if (data.level !== 0) {  //  level=0时 plazaId必填
                 this.currentLevel = data.level
                 this.queryPlazaInfoCount(data.ccode, data.level)
@@ -390,6 +388,8 @@ export default {
             } else {
                 let parentNode = this.getDataByCityCcode(data.cparentcode)
                 this.currentLevel = parentNode.level
+                this.queryPlazaInfoCount(parentNode.ccode, parentNode.level)
+                this.getEventStatusData(parentNode.level, parentNode.ccode)
                 this.getSystemList(parentNode.ccode, parentNode.level) 
                 this.pantProjectsMap(parentNode, this.currentSysId)
             }