|
@@ -43,17 +43,17 @@
|
|
|
{{userInfo.userName}} 欢迎回来
|
|
{{userInfo.userName}} 欢迎回来
|
|
|
</el-card> -->
|
|
</el-card> -->
|
|
|
|
|
|
|
|
- <el-card header="基础数据统计" v-if="permission.basic_static">
|
|
|
|
|
|
|
+ <!--<el-card header="基础数据统计" v-if="permission.basic_static">
|
|
|
<avue-data-rotate :option="optionMusic"></avue-data-rotate>
|
|
<avue-data-rotate :option="optionMusic"></avue-data-rotate>
|
|
|
- </el-card>
|
|
|
|
|
- <br>
|
|
|
|
|
- <el-card header="用户数增长曲线" v-if="permission.user_increase">
|
|
|
|
|
|
|
+ </el-card>-->
|
|
|
|
|
+<!-- <br>-->
|
|
|
|
|
+ <!--<el-card header="用户数增长曲线" v-if="permission.user_increase">
|
|
|
<div id="userStatistics" :style="{ width: '100%', height: '450px' }"></div>
|
|
<div id="userStatistics" :style="{ width: '100%', height: '450px' }"></div>
|
|
|
- </el-card>
|
|
|
|
|
- <accountstatic head="用户财务账本" :data="useraccountData" v-if="permission.account_static"></accountstatic>
|
|
|
|
|
- <accountstatic head="广告商财务账本" :data="bussinessaccountData" v-if="permission.account_static"></accountstatic>
|
|
|
|
|
- <accountstatic head="代理商财务账本" :data="agenteraccountData" v-if="permission.account_static"></accountstatic>
|
|
|
|
|
- <el-card header="音乐之声-佣金结算统计" v-if="permission.ordercommission_static">
|
|
|
|
|
|
|
+ </el-card>-->
|
|
|
|
|
+<!-- <accountstatic head="用户财务账本" :data="useraccountData" v-if="permission.account_static"></accountstatic>-->
|
|
|
|
|
+ <accountstatic head="广告商财务账本" :statData="bussinessaccountData" v-if="permission.account_static"></accountstatic>
|
|
|
|
|
+<!-- <accountstatic head="代理商财务账本" :data="agenteraccountData" v-if="permission.account_static"></accountstatic>-->
|
|
|
|
|
+ <!--<el-card header="音乐之声-佣金结算统计" v-if="permission.ordercommission_static">
|
|
|
|
|
|
|
|
<el-button-group>
|
|
<el-button-group>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -82,9 +82,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <!-- 图形 -->
|
|
|
|
|
|
|
+ <!– 图形 –>
|
|
|
|
|
|
|
|
- </el-card>
|
|
|
|
|
|
|
+ </el-card>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -190,7 +190,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
- <el-row :gutter="50">
|
|
|
|
|
|
|
+ <!--<el-row :gutter="50">
|
|
|
<el-col span="12">
|
|
<el-col span="12">
|
|
|
<el-card style="background-color: #f2f2f2;border-radius: 30px;">
|
|
<el-card style="background-color: #f2f2f2;border-radius: 30px;">
|
|
|
<div slot="header">
|
|
<div slot="header">
|
|
@@ -207,7 +207,7 @@
|
|
|
<avue-data-display :option="tgOption"></avue-data-display>
|
|
<avue-data-display :option="tgOption"></avue-data-display>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
|
|
|
|
+ </el-row>-->
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
</basic-container>
|
|
</basic-container>
|
|
@@ -240,7 +240,12 @@
|
|
|
return {
|
|
return {
|
|
|
agenteraccountData:{},
|
|
agenteraccountData:{},
|
|
|
useraccountData: {},
|
|
useraccountData: {},
|
|
|
- bussinessaccountData: {},
|
|
|
|
|
|
|
+ bussinessaccountData: {
|
|
|
|
|
+ todayIn: null,
|
|
|
|
|
+ todayOut:null,
|
|
|
|
|
+ historyIn:null,
|
|
|
|
|
+ historyOut:null
|
|
|
|
|
+ },
|
|
|
loading: true,
|
|
loading: true,
|
|
|
editBussinessVisible: false,
|
|
editBussinessVisible: false,
|
|
|
moneyChina: "壹拾万元整",
|
|
moneyChina: "壹拾万元整",
|
|
@@ -905,15 +910,16 @@
|
|
|
this.dataPlace = "选择月份";
|
|
this.dataPlace = "选择月份";
|
|
|
},
|
|
},
|
|
|
getAccoutStatic() {
|
|
getAccoutStatic() {
|
|
|
|
|
+ let that = this;
|
|
|
request({
|
|
request({
|
|
|
url: '/api/cyzh-static/staticAccountStatic',
|
|
url: '/api/cyzh-static/staticAccountStatic',
|
|
|
method: "get",
|
|
method: "get",
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
- //今日提现
|
|
|
|
|
|
|
+ //今日分润
|
|
|
let todayOut = res.data.data.todayOut;
|
|
let todayOut = res.data.data.todayOut;
|
|
|
- this.useraccountData.todayOut = todayOut.userOut;
|
|
|
|
|
- this.agenteraccountData.todayOut = todayOut.proxyOut;
|
|
|
|
|
- this.bussinessaccountData.todayOut = todayOut.adsOut;
|
|
|
|
|
|
|
+ that.useraccountData.todayOut = todayOut.userOut;
|
|
|
|
|
+ that.agenteraccountData.todayOut = todayOut.proxyOut;
|
|
|
|
|
+ that.bussinessaccountData.todayOut = todayOut.adsOut;
|
|
|
// this.optionTodayOut.series[0].data[0].value = todayOut.userOut;
|
|
// this.optionTodayOut.series[0].data[0].value = todayOut.userOut;
|
|
|
// this.optionTodayOut.series[0].data[1].value = todayOut.proxyOut;
|
|
// this.optionTodayOut.series[0].data[1].value = todayOut.proxyOut;
|
|
|
// this.optionTodayOut.series[0].data[2].value = todayOut.adsOut;
|
|
// this.optionTodayOut.series[0].data[2].value = todayOut.adsOut;
|
|
@@ -922,9 +928,9 @@
|
|
|
// this.option.data[0].count = todayOut.total;
|
|
// this.option.data[0].count = todayOut.total;
|
|
|
//历史提现
|
|
//历史提现
|
|
|
let historyOut = res.data.data.totalOut;
|
|
let historyOut = res.data.data.totalOut;
|
|
|
- this.useraccountData.historyOut = historyOut.userOut;
|
|
|
|
|
- this.agenteraccountData.historyOut = historyOut.proxyOut;
|
|
|
|
|
- this.bussinessaccountData.historyOut = historyOut.adsOut;
|
|
|
|
|
|
|
+ that.useraccountData.historyOut = historyOut.userOut;
|
|
|
|
|
+ that.agenteraccountData.historyOut = historyOut.proxyOut;
|
|
|
|
|
+ that.bussinessaccountData.historyOut = historyOut.adsOut;
|
|
|
// this.optionHistoryOut.series[0].data[0].value = historyOut.userOut;
|
|
// this.optionHistoryOut.series[0].data[0].value = historyOut.userOut;
|
|
|
// this.optionHistoryOut.series[0].data[1].value = historyOut.proxyOut;
|
|
// this.optionHistoryOut.series[0].data[1].value = historyOut.proxyOut;
|
|
|
// this.optionHistoryOut.series[0].data[2].value = historyOut.adsOut;
|
|
// this.optionHistoryOut.series[0].data[2].value = historyOut.adsOut;
|
|
@@ -932,11 +938,11 @@
|
|
|
// this.optionHistoryOut.series[0].data[4].value = historyOut.sponsorOut;
|
|
// this.optionHistoryOut.series[0].data[4].value = historyOut.sponsorOut;
|
|
|
// this.option.data[1].count = historyOut.total;
|
|
// this.option.data[1].count = historyOut.total;
|
|
|
|
|
|
|
|
- //今日收入
|
|
|
|
|
|
|
+ //今日充值
|
|
|
let todayIn = res.data.data.todayIn;
|
|
let todayIn = res.data.data.todayIn;
|
|
|
- this.useraccountData.todayIn = todayIn.userOut;
|
|
|
|
|
- this.agenteraccountData.todayIn = todayIn.proxyOut;
|
|
|
|
|
- this.bussinessaccountData.todayIn = todayIn.adsOut;
|
|
|
|
|
|
|
+ that.useraccountData.todayIn = todayIn.userIn;
|
|
|
|
|
+ that.agenteraccountData.todayIn = todayIn.proxyIn;
|
|
|
|
|
+ that.bussinessaccountData.todayIn = todayIn.adsIn;
|
|
|
// this.optionTodayIn.series[0].data[0].value = todayIn.userIn;
|
|
// this.optionTodayIn.series[0].data[0].value = todayIn.userIn;
|
|
|
// this.optionTodayIn.series[0].data[1].value = todayIn.proxyIn;
|
|
// this.optionTodayIn.series[0].data[1].value = todayIn.proxyIn;
|
|
|
// this.optionTodayIn.series[0].data[2].value = todayIn.adsIn;
|
|
// this.optionTodayIn.series[0].data[2].value = todayIn.adsIn;
|
|
@@ -944,17 +950,17 @@
|
|
|
// this.option.data[2].count = todayIn.total;
|
|
// this.option.data[2].count = todayIn.total;
|
|
|
//历史收入
|
|
//历史收入
|
|
|
let historyIn = res.data.data.totalIn;
|
|
let historyIn = res.data.data.totalIn;
|
|
|
- this.useraccountData.historyIn = historyIn.userOut;
|
|
|
|
|
- this.agenteraccountData.historyIn = historyIn.proxyOut;
|
|
|
|
|
- this.bussinessaccountData.historyIn = historyIn.adsOut;
|
|
|
|
|
|
|
+ that.useraccountData.historyIn = historyIn.userIn;
|
|
|
|
|
+ that.agenteraccountData.historyIn = historyIn.proxyIn;
|
|
|
|
|
+ that.bussinessaccountData.historyIn = historyIn.adsIn;
|
|
|
// this.optionHistoryIn.series[0].data[0].value = historyIn.userIn;
|
|
// this.optionHistoryIn.series[0].data[0].value = historyIn.userIn;
|
|
|
// this.optionHistoryIn.series[0].data[1].value = historyIn.proxyIn;
|
|
// this.optionHistoryIn.series[0].data[1].value = historyIn.proxyIn;
|
|
|
// this.optionHistoryIn.series[0].data[2].value = historyIn.adsIn;
|
|
// this.optionHistoryIn.series[0].data[2].value = historyIn.adsIn;
|
|
|
-
|
|
|
|
|
|
|
+ that.$forceUpdate()
|
|
|
// this.option.data[3].count = historyIn.total;
|
|
// this.option.data[3].count = historyIn.total;
|
|
|
|
|
|
|
|
|
|
|
|
|
- this.drawPie();
|
|
|
|
|
|
|
+ that.drawPie();
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
getOrderCommissionData() {
|
|
getOrderCommissionData() {
|