|
|
@ -896,6 +896,7 @@ export default { |
|
|
// 场馆人次占比 |
|
|
// 场馆人次占比 |
|
|
homeApi.homeBarData({groupsId:idArr}).then(res=>{ |
|
|
homeApi.homeBarData({groupsId:idArr}).then(res=>{ |
|
|
// console.log(res, '=场馆人次占比='); |
|
|
// console.log(res, '=场馆人次占比='); |
|
|
|
|
|
that.groupsData = []; |
|
|
console.log(res.data.data.groupsData) |
|
|
console.log(res.data.data.groupsData) |
|
|
res.data.data.groupsData.forEach(item=>{ |
|
|
res.data.data.groupsData.forEach(item=>{ |
|
|
that.groupsData.push(item); |
|
|
that.groupsData.push(item); |
|
|
@ -913,7 +914,7 @@ export default { |
|
|
that.cgv_2 = that.groupsData[1].noRepeatInNum; |
|
|
that.cgv_2 = that.groupsData[1].noRepeatInNum; |
|
|
that.cgp_2 = that.groupsData[1].proportion; |
|
|
that.cgp_2 = that.groupsData[1].proportion; |
|
|
that.cgn_3 = that.groupsData[2].groupName; |
|
|
that.cgn_3 = that.groupsData[2].groupName; |
|
|
that.cgv_2 = that.groupsData[1].noRepeatInNum; |
|
|
that.cgv_3 = that.groupsData[2].noRepeatInNum; |
|
|
that.cgp_3 = that.groupsData[2]?that.groupsData[2].proportion:''; |
|
|
that.cgp_3 = that.groupsData[2]?that.groupsData[2].proportion:''; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|