diff --git a/pages/news/user/report.vue b/pages/news/user/report.vue index a1fb89d..156e815 100644 --- a/pages/news/user/report.vue +++ b/pages/news/user/report.vue @@ -7,52 +7,52 @@ 订单数据 - + - 订单金额¥{{infor.orderData.orderMoney}} + 订单金额¥{{ orderData.orderMoney}} - 订单数{{infor.orderData.orderCount}} + 订单数{{ orderData.orderCount}} - 支持人数{{infor.orderData.orderPayUser}} + 支持人数{{ orderData.orderPayUser}} - 总成本金额¥{{infor.orderData.orderCostMoney}} + 总成本金额¥{{ orderData.orderCostMoney}} - 预估利益¥{{infor.orderData.orderInterest}} + 预估利益¥{{ orderData.orderInterest}} - 付费会员数{{infor.orderData.payMemberCount}} + 付费会员数{{ orderData.payMemberCount}} - 付费分销数{{infor.orderData.payDealerCount}} + 付费分销数{{ orderData.payDealerCount}} 退款数据 - + - 退款单数{{infor.refundData.refundCount}} + 退款单数{{ refundData.refundCount}} - 退款金额¥{{infor.refundData.refundTotalMoney}} + 退款金额¥{{ refundData.refundTotalMoney}} 用户数据 - + - 访客数{{infor.userData.visitorCount}} + 访客数{{ userData.visitorCount}} - 浏览量{{infor.userData.viewCount}} + 浏览量{{ userData.viewCount}} - 新增用户数{{infor.userData.newUserCount}} + 新增用户数{{ userData.newUserCount}} @@ -69,7 +69,8 @@ {{endTime?endTime:'结束时间'}} - 重置 + 重置 确认 @@ -79,63 +80,63 @@ 订单数据 - + - 订单金额¥{{infor.orderData.orderMoney}} + 订单金额¥{{ orderData.orderMoney}} - 订单数{{infor.orderData.orderCount}} + 订单数{{ orderData.orderCount}} - 支持人数{{infor.orderData.orderPayUser}} + 支持人数{{ orderData.orderPayUser}} - 总成本金额¥{{infor.orderData.orderCostMoney}} + 总成本金额¥{{ orderData.orderCostMoney}} - 预估利益¥{{infor.orderData.orderInterest}} + 预估利益¥{{ orderData.orderInterest}} - 付费会员数{{infor.orderData.payMemberCount}} + 付费会员数{{ orderData.payMemberCount}} - 付费分销数{{infor.orderData.payDealerCount}} + 付费分销数{{ orderData.payDealerCount}} 退款数据 - + - 退款单数{{infor.refundData.refundCount}} + 退款单数{{ refundData.refundCount}} - 退款金额¥{{infor.refundData.refundTotalMoney}} + 退款金额¥{{ refundData.refundTotalMoney}} 用户数据 - + - 访客数{{infor.userData.visitorCount}} + 访客数{{ userData.visitorCount}} - 浏览量{{infor.userData.viewCount}} + 浏览量{{ userData.viewCount}} - 新增用户数{{infor.userData.newUserCount}} + 新增用户数{{ userData.newUserCount}} 佣金数据 - + - 累计佣金已结算金额{{infor.commissionData.settleTotalMoney}} + 累计佣金已结算金额{{ commissionData.settleTotalMoney}} - 累计佣金结算金额{{infor.commissionData.noSettleTotalMoney}} + 累计佣金结算金额{{ commissionData.noSettleTotalMoney}} @@ -160,12 +161,10 @@ startTime: '', endTime: '', recentDate: '', - infor: { - orderData: {}, - refundData: {}, - userData: {}, - commissionData: {} - } + orderData: {}, + refundData: {}, + userData: {}, + commissionData: {} } }, onLoad() { @@ -191,9 +190,9 @@ this.startTime = this.getDay(day); this.endTime = this.getDay(0) }, - quantityReset(){ - this.startTime =''; - this.endTime =''; + quantityReset() { + this.startTime = ''; + this.endTime = ''; this.dateIndex = -1 this.getNumberPages() }, @@ -218,8 +217,10 @@ endDate: this.endTime }) .then(result => { - this.infor = result.data.data - console.log(result) + this.orderData = result.data.orderData; + this.refundData = result.data.refundData; + this.userData = result.data.userData; + this.commissionData = result.data.commissionData; }) .catch(reject) }) diff --git a/pages/news3/LogisticsDetails.vue b/pages/news3/LogisticsDetails.vue index 88099ac..c8dd7bc 100644 --- a/pages/news3/LogisticsDetails.vue +++ b/pages/news3/LogisticsDetails.vue @@ -3,7 +3,7 @@ - + diff --git a/pages/news3/components/setRange.vue b/pages/news3/components/setRange.vue index a793213..f4582d9 100644 --- a/pages/news3/components/setRange.vue +++ b/pages/news3/components/setRange.vue @@ -1,134 +1,163 @@ \ No newline at end of file + diff --git a/pages/news3/vipPrice.vue b/pages/news3/vipPrice.vue index f56b126..7d90a7c 100644 --- a/pages/news3/vipPrice.vue +++ b/pages/news3/vipPrice.vue @@ -1,209 +1,293 @@ \ No newline at end of file +