|
|
@ -402,6 +402,7 @@
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getMainList();
|
|
|
|
this.getMainList();
|
|
|
|
|
|
|
|
this.getMainVip();
|
|
|
|
this.getMainDateList();
|
|
|
|
this.getMainDateList();
|
|
|
|
this.getMainDel();
|
|
|
|
this.getMainDel();
|
|
|
|
this.getAllCount();
|
|
|
|
this.getAllCount();
|
|
|
@ -437,7 +438,6 @@
|
|
|
|
// that.customerViewVO = data;//数据部分没刷新
|
|
|
|
// that.customerViewVO = data;//数据部分没刷新
|
|
|
|
that.customerViewVO.newCustomer = data.newCustomer;
|
|
|
|
that.customerViewVO.newCustomer = data.newCustomer;
|
|
|
|
that.customerViewVO.newValidCustomer = data.newValidCustomer;
|
|
|
|
that.customerViewVO.newValidCustomer = data.newValidCustomer;
|
|
|
|
that.customerViewVO.allVipCount = data.allVipCount;
|
|
|
|
|
|
|
|
that.customerViewVO.customerList = data.customerList;
|
|
|
|
that.customerViewVO.customerList = data.customerList;
|
|
|
|
that.customerViewVO.validCustomerList = data.validCustomerList;
|
|
|
|
that.customerViewVO.validCustomerList = data.validCustomerList;
|
|
|
|
that.chartData.rows = [];
|
|
|
|
that.chartData.rows = [];
|
|
|
@ -464,6 +464,23 @@
|
|
|
|
that.resizeWindow();
|
|
|
|
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 () {
|
|
|
|
getMainDateList: function () {
|
|
|
|
let request = {
|
|
|
|
let request = {
|
|
|
|
userId: this.userId,
|
|
|
|
userId: this.userId,
|
|
|
|