Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
a643bae3
Commit
a643bae3
authored
Sep 12, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
今日实时数据 更新 (有效沟通、总好友、添加好友)用户昵称链接链接字段为friend_uid,用户属性 更新为 最后登录时间
parent
837f7d9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
4 deletions
+28
-4
customer.vue
src/components/teacherDetail/customer.vue
+28
-4
No files found.
src/components/teacherDetail/customer.vue
View file @
a643bae3
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment