diff --git a/src/views/ty/index.vue b/src/views/ty/index.vue index 37a6e09..a41264d 100644 --- a/src/views/ty/index.vue +++ b/src/views/ty/index.vue @@ -1050,17 +1050,21 @@ export default { } }) that.groupsData = []; + // 场馆人次占比 homeApi.homeBarData({groupsId:idArr}).then(res=>{ - // console.log(res, '====='); + // console.log(res, '=场馆人次占比='); res.data.data.groupsData.forEach(item=>{ that.groupsData.push(item); }); // console.log(that.groupsData, 'that.groupsData') - that.cgn_1 = that.groupsData[0].noRepeatInNum; + that.cgn_1 = that.groupsData[0].groupName; + that.cgv_1 = that.groupsData[0].noRepeatInNum; that.cgp_1 = that.groupsData[0].proportion; - that.cgn_2 = that.groupsData[1].noRepeatInNum; + that.cgn_2 = that.groupsData[1].groupName; + that.cgv_2 = that.groupsData[1].noRepeatInNum; that.cgp_2 = that.groupsData[1].proportion; - that.cgn_3 = that.groupsData[2]?that.groupsData[2].noRepeatInNum:''; + that.cgn_3 = that.groupsData[2].groupName; + that.cgv_2 = that.groupsData[1].noRepeatInNum; that.cgp_3 = that.groupsData[2]?that.groupsData[2].proportion:''; }); });