Commit a643bae3 authored by 赵茹林's avatar 赵茹林

今日实时数据 更新 (有效沟通、总好友、添加好友)用户昵称链接链接字段为friend_uid,用户属性 更新为 最后登录时间

parent 837f7d9b
...@@ -85,7 +85,15 @@ ...@@ -85,7 +85,15 @@
<td>{{ index + 1 }}</td> <td>{{ index + 1 }}</td>
<td>{{ customerObj.name }}</td> <td>{{ customerObj.name }}</td>
<td>{{ item.friend_uid }}</td> <td>{{ item.friend_uid }}</td>
<td><router-link :to="{path:'/user', query:{type: 'detail',userid: item.user_id, teacherid: customerO.id}}" target="_blank">{{ item.nick }}</router-link></td> <!--<td><router-link :to="{path:'/user', query:{type: 'detail',userid: item.user_id, teacherid: customerO.id}}" target="_blank">{{ item.nick }}</router-link></td>-->
<td>
<span v-if="item.friend_uid" class="cell-link">
<router-link :to="{path:'/user', query:{type: 'detail',userid: item.friend_uid, teacherid: customerO.id}}" target="_blank">
{{ item.nick }}
</router-link>
</span>
<template v-else>{{item.nick || '-'}}</template>
</td>
<td>{{ item.chat_count }}</td> <td>{{ item.chat_count }}</td>
<td>{{ item.visit_desc }}</td> <td>{{ item.visit_desc }}</td>
<td>{{ item.next_visit_at }}</td> <td>{{ item.next_visit_at }}</td>
...@@ -100,7 +108,15 @@ ...@@ -100,7 +108,15 @@
<td > <td >
<img style="width: 40px; height: 40px;" :src="item.headimg" alt=""> <img style="width: 40px; height: 40px;" :src="item.headimg" alt="">
</td> </td>
<td><router-link :to="{path:'/user', query:{type: 'detail',userid: item.user_id, teacherid: customerO.id}}" target="_blank">{{ item.nick }}</router-link></td> <!--<td><router-link :to="{path:'/user', query:{type: 'detail',userid: item.user_id, teacherid: customerO.id}}" target="_blank">{{ item.nick }}</router-link></td>-->
<td>
<span v-if="item.friend_uid" class="cell-link">
<router-link :to="{path:'/user', query:{type: 'detail',userid: item.friend_uid, teacherid: customerO.id}}" target="_blank">
{{ item.nick }}
</router-link>
</span>
<template v-else>{{item.nick || '-'}}</template>
</td>
<td>{{ item.friend_uid }}</td> <td>{{ item.friend_uid }}</td>
<td>{{ item.mobile }}</td> <td>{{ item.mobile }}</td>
<td>{{ item.create_time }}</td> <td>{{ item.create_time }}</td>
...@@ -113,7 +129,14 @@ ...@@ -113,7 +129,14 @@
<template v-if="infoShow == 4"> <template v-if="infoShow == 4">
<td >{{ customerObj.name }}</td> <td >{{ customerObj.name }}</td>
<td>{{ item.friend_uid }}</td> <td>{{ item.friend_uid }}</td>
<td style="text-decoration: underline;"><router-link :to="{path:'/user', query:{type: 'detail',userid: item.user_id, teacherid: customerO.id}}" target="_blank">{{ item.friend_nickname }}</router-link></td> <td>
<span v-if="item.friend_uid" class="cell-link">
<router-link :to="{path:'/user', query:{type: 'detail',userid: item.friend_uid, teacherid: customerO.id}}" target="_blank">
{{ item.friend_nickname }}
</router-link>
</span>
<template v-else>{{item.friend_nickname || '-'}}</template>
</td>
<td>{{ item.mobile }}</td> <td>{{ item.mobile }}</td>
<td>{{ item.allow_time }}</td> <td>{{ item.allow_time }}</td>
<td>{{ item.add_time_long }}min</td> <td>{{ item.add_time_long }}min</td>
...@@ -479,7 +502,8 @@ ...@@ -479,7 +502,8 @@
this.phoneRecordList.pageData = res.chat_friend_list.page_data this.phoneRecordList.pageData = res.chat_friend_list.page_data
this.total = res.chat_friend_list.total this.total = res.chat_friend_list.total
}else if(infoShow === 3){ }else if(infoShow === 3){
this.phoneRecordList.headerTh = ['用户头像', '用户昵称', 'UID', '电话号码', '添加时间', '用户属性', '意向度', '最后沟通', '下次回访'] // this.phoneRecordList.headerTh = ['用户头像', '用户昵称', 'UID', '电话号码', '添加时间', '用户属性', '意向度', '最后沟通', '下次回访']
this.phoneRecordList.headerTh = ['用户头像', '用户昵称', 'UID', '电话号码', '添加时间', '最后一次登录时间', '意向度', '最后沟通', '下次回访']
this.phoneRecordList.pageData = res.friend_list this.phoneRecordList.pageData = res.friend_list
this.total = res.friend_total this.total = res.friend_total
}else if(infoShow === 4) { }else if(infoShow === 4) {
......
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