Commit 20c77822 authored by 赵茹林's avatar 赵茹林

update

parent 5c891193
......@@ -9,7 +9,11 @@
<el-table-column label="组别" width="50px">
<template slot-scope="scope">{{`T${scope.row.squad}`}}</template>
</el-table-column>
<el-table-column prop="staff_name" label="销售顾问"></el-table-column>
<el-table-column label="销售顾问">
<template slot-scope="scope">
{{scope.row.total ? '合计' : scope.row.staff_name}}
</template>
</el-table-column>
<el-table-column prop="reach_class_num">
<template slot="header" slot-scope="scope">
<el-tooltip effect="dark" :content="TIP_TEAM['reach_class_num']" placement="top">
......@@ -194,8 +198,10 @@
team: this.search.team
}
getTeamApi(json).then(res => {
this.list = res.page_data;
this.total = res.total;
res.team_total[1].total = true; // 方便"合计"
res.team_list.page_data.unshift(res.team_total[1]);
this.list = res.team_list.page_data;
this.total = res.team_list.total;
this.loading = false;
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment