From fad2e9cdfdf0917351ee44007767943449f33dba Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Sat, 29 Jul 2023 11:10:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E9=97=B4=E6=95=B0=E6=8D=AE=E8=B0=83?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ty/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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:''; }); });