|
|
|
@ -7,52 +7,52 @@ |
|
|
|
|
<view class="report-bd" v-if="tabIndex == 0"> |
|
|
|
|
<view class="module1"> |
|
|
|
|
<view class="title">订单数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" orderData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
订单金额<text>¥{{infor.orderData.orderMoney}}</text> |
|
|
|
|
订单金额<text>¥{{ orderData.orderMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
订单数<text>{{infor.orderData.orderCount}}</text> |
|
|
|
|
订单数<text>{{ orderData.orderCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
支持人数<text>{{infor.orderData.orderPayUser}}</text> |
|
|
|
|
支持人数<text>{{ orderData.orderPayUser}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
总成本金额<text>¥{{infor.orderData.orderCostMoney}}</text> |
|
|
|
|
总成本金额<text>¥{{ orderData.orderCostMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
预估利益<text>¥{{infor.orderData.orderInterest}}</text> |
|
|
|
|
预估利益<text>¥{{ orderData.orderInterest}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
付费会员数<text>{{infor.orderData.payMemberCount}}</text> |
|
|
|
|
付费会员数<text>{{ orderData.payMemberCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
付费分销数<text>{{infor.orderData.payDealerCount}}</text> |
|
|
|
|
付费分销数<text>{{ orderData.payDealerCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module2"> |
|
|
|
|
<view class="title">退款数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" refundData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
退款单数<text>{{infor.refundData.refundCount}}</text> |
|
|
|
|
退款单数<text>{{ refundData.refundCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
退款金额<text>¥{{infor.refundData.refundTotalMoney}}</text> |
|
|
|
|
退款金额<text>¥{{ refundData.refundTotalMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module3"> |
|
|
|
|
<view class="title">用户数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" userData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
访客数<text>{{infor.userData.visitorCount}}</text> |
|
|
|
|
访客数<text>{{ userData.visitorCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
浏览量<text>{{infor.userData.viewCount}}</text> |
|
|
|
|
浏览量<text>{{ userData.viewCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
新增用户数<text>{{infor.userData.newUserCount}}</text> |
|
|
|
|
新增用户数<text>{{ userData.newUserCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -69,7 +69,8 @@ |
|
|
|
|
<view class="end timer" @click="isShow=true">{{endTime?endTime:'结束时间'}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="rest"> |
|
|
|
|
<view class="c" @click="quantityReset" style="border:1rpx solid #E5E5E5;background: #fff;color:#3B3B3B ;">重置</view> |
|
|
|
|
<view class="c" @click="quantityReset" |
|
|
|
|
style="border:1rpx solid #E5E5E5;background: #fff;color:#3B3B3B ;">重置</view> |
|
|
|
|
<view class="c" :style="{'opacity': (startTime||dateIndex>-1)?1:0.6 }" @click="quantityFilter">确认</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
@ -79,63 +80,63 @@ |
|
|
|
|
<view class="report-bd" v-if="tabIndex == 1"> |
|
|
|
|
<view class="module1"> |
|
|
|
|
<view class="title">订单数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" orderData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
订单金额<text>¥{{infor.orderData.orderMoney}}</text> |
|
|
|
|
订单金额<text>¥{{ orderData.orderMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
订单数<text>{{infor.orderData.orderCount}}</text> |
|
|
|
|
订单数<text>{{ orderData.orderCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
支持人数<text>{{infor.orderData.orderPayUser}}</text> |
|
|
|
|
支持人数<text>{{ orderData.orderPayUser}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
总成本金额<text>¥{{infor.orderData.orderCostMoney}}</text> |
|
|
|
|
总成本金额<text>¥{{ orderData.orderCostMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
预估利益<text>¥{{infor.orderData.orderInterest}}</text> |
|
|
|
|
预估利益<text>¥{{ orderData.orderInterest}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
付费会员数<text>{{infor.orderData.payMemberCount}}</text> |
|
|
|
|
付费会员数<text>{{ orderData.payMemberCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
付费分销数<text>{{infor.orderData.payDealerCount}}</text> |
|
|
|
|
付费分销数<text>{{ orderData.payDealerCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module2"> |
|
|
|
|
<view class="title">退款数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" refundData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
退款单数<text>{{infor.refundData.refundCount}}</text> |
|
|
|
|
退款单数<text>{{ refundData.refundCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
退款金额<text>¥{{infor.refundData.refundTotalMoney}}</text> |
|
|
|
|
退款金额<text>¥{{ refundData.refundTotalMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module3"> |
|
|
|
|
<view class="title">用户数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" userData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
访客数<text>{{infor.userData.visitorCount}}</text> |
|
|
|
|
访客数<text>{{ userData.visitorCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
浏览量<text>{{infor.userData.viewCount}}</text> |
|
|
|
|
浏览量<text>{{ userData.viewCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
新增用户数<text>{{infor.userData.newUserCount}}</text> |
|
|
|
|
新增用户数<text>{{ userData.newUserCount}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module4"> |
|
|
|
|
<view class="title">佣金数据</view> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="info" v-if=" commissionData"> |
|
|
|
|
<view class="item"> |
|
|
|
|
累计佣金已结算金额<text>{{infor.commissionData.settleTotalMoney}}</text> |
|
|
|
|
累计佣金已结算金额<text>{{ commissionData.settleTotalMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="item"> |
|
|
|
|
累计佣金结算金额<text>{{infor.commissionData.noSettleTotalMoney}}</text> |
|
|
|
|
累计佣金结算金额<text>{{ commissionData.noSettleTotalMoney}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -160,13 +161,11 @@ |
|
|
|
|
startTime: '', |
|
|
|
|
endTime: '', |
|
|
|
|
recentDate: '', |
|
|
|
|
infor: { |
|
|
|
|
orderData: {}, |
|
|
|
|
refundData: {}, |
|
|
|
|
userData: {}, |
|
|
|
|
commissionData: {} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad() { |
|
|
|
|
this.getNumberPages() |
|
|
|
@ -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) |
|
|
|
|
}) |
|
|
|
|