feature_0521
liuyang 5 years ago
parent 65d84d4fe9
commit fb23e89296

@ -270,7 +270,6 @@ export default {
}, },
{ {
title: "零售公司", title: "零售公司",
key: "companyName",
width: 150, width: 150,
render: (h, params) => { render: (h, params) => {
return h("span", params.row.organizational.name); return h("span", params.row.organizational.name);
@ -278,7 +277,6 @@ export default {
}, },
{ {
title: "零售公司编号", title: "零售公司编号",
key: "companyCode",
width: 80, width: 80,
render: (h, params) => { render: (h, params) => {
return h("span", params.row.organizational.code); return h("span", params.row.organizational.code);
@ -286,7 +284,6 @@ export default {
}, },
{ {
title: "店铺", title: "店铺",
key: "storeName",
width: 160, width: 160,
render: (h, params) => { render: (h, params) => {
return h("span", params.row.store.name); return h("span", params.row.store.name);
@ -294,7 +291,6 @@ export default {
}, },
{ {
title: "店铺编号", title: "店铺编号",
key: "storeNO",
width: 80, width: 80,
render: (h, params) => { render: (h, params) => {
return h("span", params.row.store.code); return h("span", params.row.store.code);
@ -302,7 +298,6 @@ export default {
}, },
{ {
title: "发展人", title: "发展人",
key: "fissionNum",
width: 80, width: 80,
render: (h, params) => { render: (h, params) => {
return h("span", params.row.fissionUser.name); return h("span", params.row.fissionUser.name);
@ -310,7 +305,6 @@ export default {
}, },
{ {
title: "加入时间", title: "加入时间",
key: "joinTime",
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
return h("span", formatDate(params.row.joinTime)); return h("span", formatDate(params.row.joinTime));
@ -337,70 +331,69 @@ export default {
}, },
{ {
title: "推广员姓名", title: "推广员姓名",
key: "shopName", width: 120,
width: 120 render: (h, params) => {
return h("span", params.row.promoterInfo.name);
}
}, },
{ {
title: "推广员手机号", title: "推广员手机号",
key: "shopPhone", width: 120,
width: 120 render: (h, params) => {
}, return h("span", params.row.promoterInfo.phone);
{ }
title: "身份证号码",
key: "shopCode",
width: 160
}, },
{ {
title: "零售公司", title: "零售公司",
key: "companyName", width: 150,
width: 150 render: (h, params) => {
return h("span", params.row.organizational.name);
}
}, },
{ {
title: "零售公司编号", title: "零售公司编号",
key: "companyCode", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.organizational.code);
}
}, },
{ {
title: "店铺", title: "店铺",
key: "storeName", width: 160,
width: 160 render: (h, params) => {
return h("span", params.row.store.name);
}
}, },
{ {
title: "店铺编号", title: "店铺编号",
key: "storeNO", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.store.code);
}
}, },
{ {
title: "导购", title: "导购",
key: "salesName", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.fissionUser.name);
}
}, },
{ {
title: "提交时间", title: "加入时间",
key: "submitDate", width: 120,
width: 120 render: (h, params) => {
return h("span", formatDate(params.row.joinTime));
}
}, },
{ {
title: "审核时间", title: "审核时间",
key: "checkDate", width: 120,
width: 120 render: (h, params) => {
return h("span", formatDate(params.row.updateTime));
}
} }
], ],
data2: [ data2: [
{
shopName: "张继军",
shopPhone: "13819890111",
shopCode: "110001199010018171",
bankCard: "62210199918822121",
companyName: "上海零售公司",
companyCode: "601",
storeName: "上海波司登",
storeNO: "1001",
salesName: "王超看",
submitDate: "2020/05/21",
checkDate: "2020/05/21"
}
], ],
columns3: [ columns3: [
{ {
@ -416,76 +409,76 @@ export default {
}, },
{ {
title: "推广员姓名", title: "推广员姓名",
key: "shopName", width: 120,
width: 120 render: (h, params) => {
return h("span", params.row.promoterInfo.name);
}
}, },
{ {
title: "推广员手机号", title: "推广员手机号",
key: "shopPhone", width: 120,
width: 120 render: (h, params) => {
}, return h("span", params.row.promoterInfo.phone);
{ }
title: "身份证号码",
key: "shopCode",
width: 160
}, },
{ {
title: "零售公司", title: "零售公司",
key: "companyName", width: 150,
width: 150 render: (h, params) => {
return h("span", params.row.organizational.name);
}
}, },
{ {
title: "零售公司编号", title: "零售公司编号",
key: "companyCode", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.organizational.code);
}
}, },
{ {
title: "店铺", title: "店铺",
key: "storeName", width: 160,
width: 160 render: (h, params) => {
return h("span", params.row.store.name);
}
}, },
{ {
title: "店铺编号", title: "店铺编号",
key: "storeNO", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.store.code);
}
}, },
{ {
title: "导购", title: "导购",
key: "salesName", width: 80,
width: 80 render: (h, params) => {
return h("span", params.row.fissionUser.name);
}
}, },
{ {
title: "提交时间", title: "加入时间",
key: "submitDate", width: 120,
width: 120 render: (h, params) => {
return h("span", formatDate(params.row.joinTime));
}
}, },
{ {
title: "审核时间", title: "审核时间",
key: "checkDate", width: 120,
width: 120 render: (h, params) => {
return h("span", formatDate(params.row.updateTime));
}
}, },
{ {
title: "审核不通过原因", title: "审核不通过原因",
key: "refuseInfo", width: 120,
width: 120 render: (h, params) => {
return h("span", formatDate(params.row.remark));
}
} }
], ],
data3: [ data3: [
{
shopName: "张继军",
shopPhone: "13819890111",
shopCode: "110001199010018171",
bankCard: "62210199918822121",
companyName: "上海零售公司",
companyCode: "601",
storeName: "上海波司登",
storeNO: "1001",
salesName: "王超看",
submitDate: "2020/05/21",
checkDate: "2020/05/21",
refuseInfo: "信息不完善"
}
], ],
selectDate: [], selectDate: [],
store: null, store: null,
@ -631,8 +624,13 @@ export default {
if (datas.list == null) { if (datas.list == null) {
datas.list = []; datas.list = [];
} }
if(that.tabIndex == 0){
that.data1 = datas.records; that.data1 = datas.records;
}else if(that.tabIndex == 1){
that.data2 = datas.records;
}else{
that.data3 = datas.records;
}
} }
}, },
function(error) { function(error) {
@ -647,6 +645,7 @@ export default {
this.companyId = null; this.companyId = null;
this.searchShop = null; this.searchShop = null;
this.selectDate = []; this.selectDate = [];
this.getRecruitList();
}, },
ok() { ok() {
this.refuseIsShow = false; this.refuseIsShow = false;
@ -690,7 +689,7 @@ export default {
that.loading = false; that.loading = false;
if (data.data.code == "0000") { if (data.data.code == "0000") {
that.$Message.info(data.data.results); that.$Message.info(data.data.results);
_this.$router.push("/recruit/check/list"); that.getRecruitList();
} else { } else {
that.$Message.error("系统异常"); that.$Message.error("系统异常");
} }

Loading…
Cancel
Save