Merge branch 'feature/20200413_exploit' into feature/20200514_version

feature_0521
kevin jiang 5 years ago
commit 9b164041ad

@ -402,6 +402,7 @@
break;
}
this.getMainList();
this.getMainVip();
this.getMainDateList();
this.getMainDel();
this.getAllCount();
@ -437,7 +438,6 @@
// that.customerViewVO = data;//
that.customerViewVO.newCustomer = data.newCustomer;
that.customerViewVO.newValidCustomer = data.newValidCustomer;
that.customerViewVO.allVipCount = data.allVipCount;
that.customerViewVO.customerList = data.customerList;
that.customerViewVO.validCustomerList = data.validCustomerList;
that.chartData.rows = [];
@ -464,6 +464,23 @@
that.resizeWindow();
});
},
getMainVip: function () {
let request = {
userId: this.userId
};
let that = this;
customerView.getMainVipRequest(request, function (data) {
if (data.data.code !== "0000") {
that.$Message.error("系统异常");
}
data = data.data.results;
that.customerViewVO.allVipCount = data.allVipCount;
//
that.percentResize();
//()
that.resizeWindow();
});
},
getMainDateList: function () {
let request = {
userId: this.userId,

@ -10,6 +10,9 @@ import http from '../CommonHttp'
export function getMainRequest(params, call) {
return http.get('/customer/view/main', params).then(call)
}
export function getMainVipRequest(params, call) {
return http.get('/customer/view/main/vip', params).then(call)
}
export function getMainDateRequest(params, call) {
return http.get('/customer/view/main/date', params).then(call)
}
@ -33,6 +36,7 @@ export function downLoadExcel(params,filename, call) {
export default {
//mainList
getMainRequest,
getMainVipRequest,
getMainDel,
getMainDateRequest,
getAllCount,

Loading…
Cancel
Save