diff --git a/src/components/user/statistics.vue b/src/components/user/statistics.vue index d6bd408..2f5f0d5 100644 --- a/src/components/user/statistics.vue +++ b/src/components/user/statistics.vue @@ -184,6 +184,7 @@ @@ -200,6 +201,7 @@ @@ -222,6 +224,8 @@ export default { data () { return { loading: false, + cost_loading: false, + account_loading: false, retData: { TotalCount: 0, Data: [] }, dateRange1: [], dateRange2: [], @@ -359,14 +363,18 @@ export default { }, click_all_amount (row, index) { this.cost_fall = true + this.cost_loading = true this.$api.get(this.$api.phpURL + 'manager/UserFollow/getCostList', {id: row.Id, index: index, search: this.searchModel}).then(res => { this.cost_list = res.data + this.cost_loading = false }) }, click_account (row, index) { this.account_fall = true + this.account_loading = true this.$api.get(this.$api.phpURL + 'manager/UserFollow/getAccountList', {id: row.Id, index: index}).then(res => { this.account_list = res.data + this.account_loading = false }) }, dataExport () {