shuishen
2023-03-21 8ad0083fe91e32a6c9117bbe22df1a3eef5e9fd3
src/views/home/components/leftContainer.vue
@@ -183,6 +183,7 @@
        this.getHomeAllData()
        if (this.userInfo.dept_id != '1123598813738675201') {
            console.log(this.userInfo.dept_id,1596020515064381442);
            this.showBack = false
            this.isAllPoliceStation = false
        }
@@ -489,8 +490,22 @@
                    xDate.push(item.name)
                    yDate.push(item.num)
                })
                this.inithouseEcharts(xDate, yDate)
                console.log(xDate, yDate,11122333);
                this.keyPlaceNum = 28
                this.realHouseNum = 190
                if(this.userInfo.dept_id == '1596020515064381442'){
                  if(isFollow == 2){
                    xDate = ['学校','医院','党政机关','宾馆酒店','零售业','数字经济','批发业','装修及建筑业','租赁业',]
                    yDate = [36,1,3,34,16,25,30,33,2]
                    this.inithouseEcharts(xDate, yDate)
                  }else{
                    xDate = ['反恐重点目标','危爆品单位']
                    yDate = [14,14]
                    this.inithouseEcharts(xDate, yDate)
                  }
                }else{
                    this.inithouseEcharts(xDate, yDate)
                }
            })
        },