|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="">
|
|
<view class="">
|
|
|
<StatLoanChart ref="outObj" :genre="1" :leftText="'提放汇总占比'"></StatLoanChart>
|
|
<StatLoanChart ref="outObj" :genre="1" :leftText="'提放汇总占比'"></StatLoanChart>
|
|
|
- <StatRanking :leftText="'提放汇总明细'"></StatRanking>
|
|
|
|
|
|
|
+ <stat_gather is_group :leftText="'提放汇总明细'" :out-list="outList" ></stat_gather>
|
|
|
<StatRanking ref="rankingObj" :is_margin_top="false" :is_type="2" :leftText="'个人业绩排行'" :data-list="userList"></StatRanking>
|
|
<StatRanking ref="rankingObj" :is_margin_top="false" :is_type="2" :leftText="'个人业绩排行'" :data-list="userList"></StatRanking>
|
|
|
<StatSituation ref="situationObj" :date-type-obj="dateTypeObj" :type="1"></StatSituation>
|
|
<StatSituation ref="situationObj" :date-type-obj="dateTypeObj" :type="1"></StatSituation>
|
|
|
</view>
|
|
</view>
|
|
@@ -9,9 +9,11 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import StatLoanChart from "../module/stat_loan_chart.vue"
|
|
import StatLoanChart from "../module/stat_loan_chart.vue"
|
|
|
- import StatRanking from "../module/stat_situation.vue"
|
|
|
|
|
- import StatSituation from "../module/stat_ranking.vue"
|
|
|
|
|
import md5 from "js-md5";
|
|
import md5 from "js-md5";
|
|
|
|
|
+ import {getRanking,getDepartmentMoney} from "@/api/statistics";
|
|
|
|
|
+ import StatSituation from "@/pages/statistics/module/stat_situation.vue";
|
|
|
|
|
+ import StatRanking from "@/pages/statistics/module/stat_ranking.vue";
|
|
|
|
|
+ import Stat_gather from "@/pages/statistics/module/stat_gather.vue";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
props:{
|
|
props:{
|
|
@@ -28,13 +30,16 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ Stat_gather,
|
|
|
|
|
+ StatRanking,
|
|
|
|
|
+ StatSituation,
|
|
|
StatLoanChart,
|
|
StatLoanChart,
|
|
|
- StatRanking,
|
|
|
|
|
- StatSituation,
|
|
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
-
|
|
|
|
|
|
|
+ userList:[],
|
|
|
|
|
+ moneyData:{},
|
|
|
|
|
+ outList:[]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch:{
|
|
watch:{
|
|
@@ -79,7 +84,7 @@
|
|
|
this.moneyData.out_money=res.data.moneyData.loanMoney
|
|
this.moneyData.out_money=res.data.moneyData.loanMoney
|
|
|
this.moneyData.out_num=res.data.moneyData.loanNum
|
|
this.moneyData.out_num=res.data.moneyData.loanNum
|
|
|
this.outList=res.data.items
|
|
this.outList=res.data.items
|
|
|
- this.$refs.outObj.setPeakChartData(this.outList)
|
|
|
|
|
|
|
+ // this.$refs.outObj.setPeakChartData(this.outList)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|