|
@@ -14,10 +14,20 @@
|
|
|
<template slot-scope="{ row }" slot="avatar">
|
|
|
<viewer>
|
|
|
<div class="tabBox_img">
|
|
|
- <img v-lazy="row.avatar" />
|
|
|
+ <img v-lazy="row.user[0].avatar" />
|
|
|
</div>
|
|
|
</viewer>
|
|
|
</template>
|
|
|
+ <template slot-scope="{ row }" slot="nickname">
|
|
|
+ <viewer>
|
|
|
+ <div>{{row.user[0].nickname}}</div>
|
|
|
+ </viewer>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{ row }" slot="phone">
|
|
|
+ <viewer>
|
|
|
+ <div>{{row.user[0].phone}}</div>
|
|
|
+ </viewer>
|
|
|
+ </template>
|
|
|
<template slot-scope="{ row, index }" slot="action">
|
|
|
<a @click="edit(row)">编辑</a>
|
|
|
<Divider type="vertical" />
|
|
@@ -181,28 +191,23 @@
|
|
|
width: 80,
|
|
|
},
|
|
|
{
|
|
|
- title: "微信用户名称",
|
|
|
- key: "nickname",
|
|
|
- minWidth: 120,
|
|
|
- },
|
|
|
- {
|
|
|
- title: "客服头像",
|
|
|
+ title: "头像",
|
|
|
slot: "avatar",
|
|
|
minWidth: 60,
|
|
|
},
|
|
|
{
|
|
|
- title: "客服名称",
|
|
|
- key: "wx_name",
|
|
|
+ title: "昵称",
|
|
|
+ slot: "nickname",
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
{
|
|
|
- title: "企微员工",
|
|
|
- slot: "workMember",
|
|
|
+ title: "联系方式",
|
|
|
+ slot: "phone",
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
{
|
|
|
- title: "账号状态",
|
|
|
- slot: "account_status",
|
|
|
+ title: "全局奖励",
|
|
|
+ key: "global_commission",
|
|
|
minWidth: 120,
|
|
|
},
|
|
|
{
|
|
@@ -280,7 +285,7 @@
|
|
|
edit(row) {
|
|
|
// this.$modalForm(kefuEditApi(row.id)).then(() => this.getList());
|
|
|
this.$router.push({
|
|
|
- path: "/admin/agent/global/add?id=" + row.id + '&uid=' + row.uid + '&name=' + row.name
|
|
|
+ path: "/admin/agent/global/add?id=" + row.id + '&uid=' + row.uid + '&name=' + row.user[0].nickname + '&global_commission=' + row.global_commission
|
|
|
});
|
|
|
},
|
|
|
// 添加
|