批量上传门店号

master
yechenhao 6 years ago
parent 1b825cd633
commit 8449efbc0c

@ -392,6 +392,17 @@
} }
this.getMainList(); 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*/ /**mainList*/
getMainList: function () { getMainList: function () {
let request = { let request = {
@ -413,8 +424,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.allCustomer = data.allCustomer;
that.customerViewVO.allValidCustomer = data.allValidCustomer;
that.customerViewVO.validDeleteCustomer = data.validDeleteCustomer; that.customerViewVO.validDeleteCustomer = data.validDeleteCustomer;
that.customerViewVO.allVipCount = data.allVipCount; that.customerViewVO.allVipCount = data.allVipCount;
that.customerViewVO.customerList = data.customerList; that.customerViewVO.customerList = data.customerList;

@ -10,6 +10,9 @@ import http from '../CommonHttp'
export function getMainRequest(params, call) { export function getMainRequest(params, call) {
return http.get('/customer/view/main', params).then(call) return http.get('/customer/view/main', params).then(call)
} }
export function getAllCount(params, call) {
return http.get('/customer/view/all/count', params).then(call)
}
export function getAnalysisRequest(params, call) { export function getAnalysisRequest(params, call) {
return http.post('/analysis/add/customer', params).then(call) return http.post('/analysis/add/customer', params).then(call)
} }
@ -24,6 +27,7 @@ export function downLoadExcel(params,filename, call) {
export default { export default {
//mainList //mainList
getMainRequest, getMainRequest,
getAllCount,
getAnalysisRequest, getAnalysisRequest,
downLoadExcel, downLoadExcel,
getAnalysisApplyRequest, getAnalysisApplyRequest,

Loading…
Cancel
Save