维护客户基本完善---点击加载
This commit is contained in:
@@ -184,6 +184,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
title="消费记录"
|
title="消费记录"
|
||||||
:visible.sync="cost_fall"
|
:visible.sync="cost_fall"
|
||||||
|
v-loading="cost_loading"
|
||||||
width="50%">
|
width="50%">
|
||||||
<el-table height="500px" :data="cost_list" border>
|
<el-table height="500px" :data="cost_list" border>
|
||||||
<el-table-column prop="ProductName" label="产品"></el-table-column>
|
<el-table-column prop="ProductName" label="产品"></el-table-column>
|
||||||
@@ -200,6 +201,7 @@
|
|||||||
<el-dialog
|
<el-dialog
|
||||||
title="帐号记录"
|
title="帐号记录"
|
||||||
:visible.sync="account_fall"
|
:visible.sync="account_fall"
|
||||||
|
v-loading="account_loading"
|
||||||
width="50%">
|
width="50%">
|
||||||
<el-table height="500px" :data="account_list" border>
|
<el-table height="500px" :data="account_list" border>
|
||||||
<el-table-column prop="ProductName" label="产品"></el-table-column>
|
<el-table-column prop="ProductName" label="产品"></el-table-column>
|
||||||
@@ -222,6 +224,8 @@ export default {
|
|||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
|
cost_loading: false,
|
||||||
|
account_loading: false,
|
||||||
retData: { TotalCount: 0, Data: [] },
|
retData: { TotalCount: 0, Data: [] },
|
||||||
dateRange1: [],
|
dateRange1: [],
|
||||||
dateRange2: [],
|
dateRange2: [],
|
||||||
@@ -359,14 +363,18 @@ export default {
|
|||||||
},
|
},
|
||||||
click_all_amount (row, index) {
|
click_all_amount (row, index) {
|
||||||
this.cost_fall = true
|
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.$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_list = res.data
|
||||||
|
this.cost_loading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
click_account (row, index) {
|
click_account (row, index) {
|
||||||
this.account_fall = true
|
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.$api.get(this.$api.phpURL + 'manager/UserFollow/getAccountList', {id: row.Id, index: index}).then(res => {
|
||||||
this.account_list = res.data
|
this.account_list = res.data
|
||||||
|
this.account_loading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
dataExport () {
|
dataExport () {
|
||||||
|
|||||||
Reference in New Issue
Block a user