零推广,过滤店铺改到后台

master
wyj2080 6 years ago
parent 59255e7368
commit 429cd60ea2

@ -205,8 +205,6 @@
let entity = data[i];
that.originAllData.push(entity);
}
//
that.filterCustomer("export");
require.ensure([], () => {
const { export_json_to_excel } = require('../excel/Export2Excel');
const tHeader = ['序号', '店铺名称', '店铺编码', '大区', '零售公司', '客户', '推广数'];
@ -256,8 +254,6 @@
//null--
that.checkParamBlank(entity);
}
//
that.filterCustomer("main");
}
if(data == null || data.length === 0){
that.totalSize = 0;
@ -286,16 +282,6 @@
that.insertAllOption();
});
},
//
filterCustomer: function(name){
if(this.customerId){
switch (name) {
case "main":this.data1 = this.data1.filter(shop => shop.customerId === this.customerId);break;
case "export": this.originAllData = this.originAllData.filter(shop => shop.customerId === this.customerId);break;
}
}
},
//
handlePage: function (value) {
this.pageNum = value;

Loading…
Cancel
Save