|
|
|
@ -392,6 +392,17 @@
|
|
|
|
|
}
|
|
|
|
|
this.getMainList();
|
|
|
|
|
},
|
|
|
|
|
getAllCount: function(){
|
|
|
|
|
let that = this;
|
|
|
|
|
customerView.getAllCount(null,function (data) {
|
|
|
|
|
if (data.data.code !== "0000") {
|
|
|
|
|
that.$Message.error("系统异常");
|
|
|
|
|
}
|
|
|
|
|
data = data.data.results;
|
|
|
|
|
that.customerViewVO.allCustomer = data.allCustomer;
|
|
|
|
|
that.customerViewVO.allValidCustomer = data.allValidCustomer;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**mainList*/
|
|
|
|
|
getMainList: function () {
|
|
|
|
|
let request = {
|
|
|
|
@ -413,8 +424,6 @@
|
|
|
|
|
// that.customerViewVO = data;//数据部分没刷新
|
|
|
|
|
that.customerViewVO.newCustomer = data.newCustomer;
|
|
|
|
|
that.customerViewVO.newValidCustomer = data.newValidCustomer;
|
|
|
|
|
that.customerViewVO.allCustomer = data.allCustomer;
|
|
|
|
|
that.customerViewVO.allValidCustomer = data.allValidCustomer;
|
|
|
|
|
that.customerViewVO.validDeleteCustomer = data.validDeleteCustomer;
|
|
|
|
|
that.customerViewVO.allVipCount = data.allVipCount;
|
|
|
|
|
that.customerViewVO.customerList = data.customerList;
|
|
|
|
|