|
@@ -3,7 +3,7 @@
|
|
|
<!-- 数据概览 (Data Overview) -->
|
|
<!-- 数据概览 (Data Overview) -->
|
|
|
<el-card class="overview-section" shadow="never">
|
|
<el-card class="overview-section" shadow="never">
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
- <el-col :xs="24" :sm="24" :md="16" :lg="16" :xl="16" class="companybox">
|
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="16" :lg="12" :xl="12" class="companybox">
|
|
|
<img src="../assets/images/topbg.png" alt="" class="topimg">
|
|
<img src="../assets/images/topbg.png" alt="" class="topimg">
|
|
|
<img src="../assets/images/topbg.png" alt="" class="bottomimg">
|
|
<img src="../assets/images/topbg.png" alt="" class="bottomimg">
|
|
|
<div class="companyboxtitle">
|
|
<div class="companyboxtitle">
|
|
@@ -54,8 +54,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- <el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8" class="propertyboxtitle">
|
|
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="propertyboxtitle">
|
|
|
<div class="property_title">
|
|
<div class="property_title">
|
|
|
资产概览
|
|
资产概览
|
|
|
</div>
|
|
</div>
|
|
@@ -83,6 +82,33 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="propertyboxtitle">
|
|
|
|
|
+ <div class="property_title">
|
|
|
|
|
+ 红包概览
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="propertyboxflex">
|
|
|
|
|
+ <div class="property-card propertyline">
|
|
|
|
|
+ <div class="property-title">
|
|
|
|
|
+ <i class="el-icon-money"></i>
|
|
|
|
|
+ 红包余额 (元)
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="card-value highlight">
|
|
|
|
|
+ <count-to :decimals="2" :start-val="0" :end-val="redBalance" :duration="3600" class="card-panel-num" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="property-card">
|
|
|
|
|
+ <div class="property-title">
|
|
|
|
|
+ <span>今日余额变化 (元)</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="card-value highlight">
|
|
|
|
|
+ <count-to :decimals="2" :start-val="0" :end-val="redTodayComsumption" :duration="3600" class="card-panel-num" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<le-row :gutter="20">
|
|
<le-row :gutter="20">
|
|
@@ -528,8 +554,9 @@ import {
|
|
|
authorizationInfo,
|
|
authorizationInfo,
|
|
|
dealerAggregated, deaMemberTopTen, rechargeComsumption, rewardMoneyTopTen, rewardMoneyTrend,
|
|
dealerAggregated, deaMemberTopTen, rechargeComsumption, rewardMoneyTopTen, rewardMoneyTrend,
|
|
|
smsBalance, thisMonthOrderCount, thisMonthRecvCount, trafficLog,
|
|
smsBalance, thisMonthOrderCount, thisMonthRecvCount, trafficLog,
|
|
|
- watchCourseTopTen, watchEndPlayTrend,getWatchCourseStatisticsData
|
|
|
|
|
|
|
+ watchCourseTopTen, watchEndPlayTrend,getWatchCourseStatisticsData,
|
|
|
} from "@/api/statistics/statistics";
|
|
} from "@/api/statistics/statistics";
|
|
|
|
|
+import {redPacketInfo} from "@/api/company/redPacket";
|
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
|
|
|
|
|
|
|
|
|
|
@@ -975,6 +1002,8 @@ export default {
|
|
|
todayComsumption: 0,
|
|
todayComsumption: 0,
|
|
|
yesterdayComsumption: 0,
|
|
yesterdayComsumption: 0,
|
|
|
balance: 0,
|
|
balance: 0,
|
|
|
|
|
+ redBalance:0,
|
|
|
|
|
+ redTodayComsumption:0,
|
|
|
autoRefreshInterval: null,
|
|
autoRefreshInterval: null,
|
|
|
// 今日新增用户数
|
|
// 今日新增用户数
|
|
|
todayIncreaseUserNum: 0,
|
|
todayIncreaseUserNum: 0,
|
|
@@ -1140,6 +1169,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ // 获取红包概览
|
|
|
|
|
+ redPacketInfo().then(res=>{
|
|
|
|
|
+ if(res.code === 200){
|
|
|
|
|
+ if(res.data){
|
|
|
|
|
+ this.redBalance = res.data.redBalance;
|
|
|
|
|
+ this.redTodayComsumption = res.data.redTodayComsumption;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
trafficLog().then(res=>{
|
|
trafficLog().then(res=>{
|
|
|
if(res.code === 200) {
|
|
if(res.code === 200) {
|
|
|
this.todayTraffic = res.data.today;
|
|
this.todayTraffic = res.data.today;
|