Compare commits

..

No commits in common. '65d84d4fe95ef16a252e0ce776670f039c8359a4' and '39370ea641f07f321cb9c1b54b912cc9b7995a60' have entirely different histories.

@ -689,8 +689,7 @@ export default {
function(data) {
that.loading = false;
if (data.data.code == "0000") {
that.$Message.info(data.data.results);
_this.$router.push("/recruit/check/list");
that.$Message.info("审核通过");
} else {
that.$Message.error("系统异常");
}

@ -123,29 +123,27 @@
},
{
title: '等级',
width:80,
render: (h, params) => {
return h('span', params.row.organizational.level);
}
key: 'level',
width:80
},
{
title: '客户经理数',
key: 'customerManagerCount',
key: 'managerNumb',
width:120
},
{
title: '推广员数',
key: 'extensionCount',
key: 'extensionNumb',
width:120
},
{
title: '客户数',
key: 'customerCount',
key: 'clientNumb',
width:80
},
{
title: '业绩',
key: 'achievement',
key: 'performance',
width:80
},
{
@ -341,9 +339,9 @@
};
bulletinService.promoterList(request, function (data) {
that.loading = false;
if (data.data.code == "0000") {
if (data.code == "0000") {
that.data1 = [];
let datas = data.data.results;
let datas = data.results;
//
if (datas.total == null) {
that.total = 0;
@ -369,23 +367,9 @@
cancel(){
this.isShow = false;
},
//
confirm(rData) {
let request={
promoterId:rData.id
}
let that = this;
bulletinService.promoterUpgrade(request, function (data) {
that.loading = false;
if (data.data.code == "0000") {
that.$Message.info("升级成功");
that.getPromoterList();
}else{
that.$Message.error("系统异常");
}
}, function (error) {
that.loading = false;
});
//
confirm(index) {
console.log(123);
this.isShow = false;
},
show(index) {
@ -393,28 +377,16 @@
this.rowData = index;
},
doShow (currData,ishow) {
debugger
this.showrecruit = false;
let that = this;
let param = {
promoterId:currData.id
}
bulletinService.promoterDetail(param, function (data) {
that.loading = false;
if (data.data.code == "0000") {
// TODO ,,.
that.showrecruit = ishow;
that.recruitSchedule = currData;
console.log(data.data);
}else{
that.$Message.error("系统异常");
}
}, function (error) {
that.loading = false;
});
this.showrecruit = ishow;
this.recruitSchedule = currData;
},
}
}
// : /fission/promoter/list
// : /fission/promoter/detail
// : /fission/promoter/upgrade
//
</script>
<style scoped>

@ -8,8 +8,8 @@
width="70%">
<div class="m-info">
<div class="m-info-top">
<p>所属零售公司{{schedule.organizational.name}}</p>
<p>所属店铺{{schedule.store.name}}</p>
<p>所属零售公司上海零售公司</p>
<p>所属店铺上海奇硕店铺</p>
</div>
<div class="m-superior">上级</div>
<Table ref="table" style="width:100%!important" :show-header="false" :loading="loading" :columns="columns1" :data="data1" class="table-store">
@ -48,7 +48,7 @@ export default {
{
title: '上级手机号',
key: 'superiorPhone',
width:140
width:120
},
{
title: '职务',
@ -73,7 +73,7 @@ export default {
{
title: '下级手机号',
key: 'subordinatePhone',
width:130
width:120
},
{
title: '职务',
@ -118,9 +118,6 @@ export default {
show () {
this.showUse = this.show;
},
schedule(){
console.log('schedule监听',this.schedule)
}
},
mounted () { },
methods: {

@ -22,7 +22,7 @@ export function promoterList(params, call) {
}
//推广员管理 查看看上下级
export function promoterDetail(params, call) {
return http.get('/fission/promoter/detail', params).then(call)
return http.post('/fission/promoter/detail', params).then(call)
}
//推广员管理 升级
export function promoterUpgrade(params, call) {

Loading…
Cancel
Save