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