diff --git a/src/pages/CustomerView.vue b/src/pages/CustomerView.vue index bf2b25a..9b0e082 100644 --- a/src/pages/CustomerView.vue +++ b/src/pages/CustomerView.vue @@ -355,7 +355,18 @@ that.$Message.error("系统异常"); } data = data.data.results; - that.customerViewVO = data; + // 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; + that.customerViewVO.validCustomerList = data.validCustomerList; + that.customerViewVO.orgNewCustomerList = data.orgNewCustomerList; + that.customerViewVO.shopNewCustomerList = data.shopNewCustomerList; + that.customerViewVO.zeroExtendList = data.zeroExtendList; that.chartData.rows = []; if(that.startTime && that.endTime){ let tmpStartTime = that.startTime;