|
@@ -1,11 +1,11 @@
|
|
<template>
|
|
<template>
|
|
<div class="coontent">
|
|
<div class="coontent">
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-
|
|
|
|
|
|
+import { getPayAmtList, getPayUserCntList, getSiteIncreaseList} from "@/api/admin/index";
|
|
import echarts from "echarts"
|
|
import echarts from "echarts"
|
|
import moment from 'moment'
|
|
import moment from 'moment'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
@@ -13,12 +13,12 @@ import { numberFormat, getTimeResult } from "@/utils/util";
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
-
|
|
|
|
|
|
+
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted: function () {
|
|
mounted: function () {
|
|
this.$nextTick(function () {
|
|
this.$nextTick(function () {
|
|
-
|
|
|
|
|
|
+
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|
|
@@ -27,9 +27,34 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
created() {
|
|
created() {
|
|
-
|
|
|
|
|
|
+ //this.getPayAmtList()
|
|
|
|
+ // this.getPayUserCntList()
|
|
|
|
+ this.getSiteIncreaseList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getPayAmtList() {
|
|
|
|
+ getPayAmtList({level:"days",days:30}).then(res => {
|
|
|
|
+ console.log("getPayAmtList == "+JSON.stringify(res));
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ this.loading = false
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ getPayUserCntList() {
|
|
|
|
+ getPayUserCntList({level:"week",days:30}).then(res => {
|
|
|
|
+ console.log("getPayUserCntList == "+JSON.stringify(res));
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ this.loading = false
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ getSiteIncreaseList() {
|
|
|
|
+ getSiteIncreaseList({level:"month",days:30}).then(res => {
|
|
|
|
+ console.log("getSiteIncreaseList == "+JSON.stringify(res));
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ this.loading = false
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
|
|
},
|
|
},
|
|
};
|
|
};
|