|  | @@ -654,6 +654,45 @@ export default {
 | 
	
		
			
				|  |  |          //地址转换
 | 
	
		
			
				|  |  |          getonline(val){
 | 
	
		
			
				|  |  |              
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        //获取地点数据
 | 
	
		
			
				|  |  | +        StatisticsNowCityOfGroup(){
 | 
	
		
			
				|  |  | +            var url = "/api/Statistics/StatisticsNowCityOfGroup"
 | 
	
		
			
				|  |  | +            var that = this
 | 
	
		
			
				|  |  | +            this.$axios({
 | 
	
		
			
				|  |  | +                method: 'post',
 | 
	
		
			
				|  |  | +                url: url,
 | 
	
		
			
				|  |  | +                headers: {
 | 
	
		
			
				|  |  | +                    Authorization: 'Bearer '
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                data:{
 | 
	
		
			
				|  |  | +                    portType:1,
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }).then(function (res) {
 | 
	
		
			
				|  |  | +                if(res.data.code==200){
 | 
	
		
			
				|  |  | +                    let mapdatas=[];
 | 
	
		
			
				|  |  | +                    let cityinif=res.data.data;
 | 
	
		
			
				|  |  | +                    let aa=''
 | 
	
		
			
				|  |  | +                    for(let i=0;i<cityinif.length;i++){
 | 
	
		
			
				|  |  | +                        console.log(cityinif[i].address);
 | 
	
		
			
				|  |  | +                        aa=''
 | 
	
		
			
				|  |  | +                        cityinif[i].items.map((item)=>{
 | 
	
		
			
				|  |  | +                            return aa += item.groupName+" "+item.client+" "+"("+item.statusText+")<br/>";
 | 
	
		
			
				|  |  | +                            
 | 
	
		
			
				|  |  | +                        })
 | 
	
		
			
				|  |  | +                        mapdatas.push(
 | 
	
		
			
				|  |  | +                            {'groupName':aa,'address':cityinif[i].address}
 | 
	
		
			
				|  |  | +                        )
 | 
	
		
			
				|  |  | +                        that.mapdata=mapdatas;
 | 
	
		
			
				|  |  | +                        console.log(mapdatas);
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                }else{
 | 
	
		
			
				|  |  | +                    that.$message({
 | 
	
		
			
				|  |  | +                        message: res.data.msg,
 | 
	
		
			
				|  |  | +                        type: 'warning'
 | 
	
		
			
				|  |  | +                    });
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          //在线地图
 | 
	
		
			
				|  |  |          async onlinemap(){
 | 
	
	
		
			
				|  | @@ -713,8 +752,8 @@ export default {
 | 
	
		
			
				|  |  |                              'longitude':JSON.stringify(listinif)!="{}"?listinif.coordinate.longitude:'',
 | 
	
		
			
				|  |  |                              'url':JSON.stringify(listinif)!="{}"?listinif._wpURL:'',
 | 
	
		
			
				|  |  |                              'groupName':that.mapdata[i].groupName,
 | 
	
		
			
				|  |  | -                            'client':that.mapdata[i].client,
 | 
	
		
			
				|  |  | -                            'statusText':that.mapdata[i].statusText,
 | 
	
		
			
				|  |  | +                            // 'client':that.mapdata[i].client,
 | 
	
		
			
				|  |  | +                            // 'statusText':that.mapdata[i].statusText,
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      )
 | 
	
		
			
				|  |  |                      if (that.fordata.length==that.mapdata.length) {
 | 
	
	
		
			
				|  | @@ -733,7 +772,7 @@ export default {
 | 
	
		
			
				|  |  |                                  {
 | 
	
		
			
				|  |  |                                      'coordinate':new mapkit.Coordinate(Number(nonnull[k].latitude),Number(nonnull[k].longitude)),
 | 
	
		
			
				|  |  |                                      'title':nonnull[k].country+' '+nonnull[k].administrativeArea+' '+nonnull[k].locality,
 | 
	
		
			
				|  |  | -                                    'phone':nonnull[k].groupName+' ('+nonnull[k].statusText+') ',
 | 
	
		
			
				|  |  | +                                    'phone':nonnull[k].groupName,
 | 
	
		
			
				|  |  |                                      'url':nonnull[k].url,
 | 
	
		
			
				|  |  |                                  }
 | 
	
		
			
				|  |  |                              )
 | 
	
	
		
			
				|  | @@ -1590,6 +1629,9 @@ export default {
 | 
	
		
			
				|  |  |              deep:true
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    created(){
 | 
	
		
			
				|  |  | +        this.StatisticsNowCityOfGroup();
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      mounted(){
 | 
	
		
			
				|  |  |          this.StatisticsYOY();
 | 
	
		
			
				|  |  |          this.onlinemap();
 |