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
b95e6545
Commit
b95e6545
authored
Sep 11, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团队管理 更新 弹窗标题,增加 微信昵称跳转
小时动态 增加 微信昵称跳转
parent
1efc2109
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
16 deletions
+44
-16
App.vue
src/App.vue
+7
-0
dialog.vue
src/components/team/dialog.vue
+12
-8
hourDialog.vue
src/components/team/hourDialog.vue
+25
-8
No files found.
src/App.vue
View file @
b95e6545
...
...
@@ -302,9 +302,16 @@
& + .cell-link {
margin-left: 0;
}
a {
color: #444;
transition: color 240ms, background-color 240ms;
}
&:hover {
background-color: #cce4ff;
color: #007fff;
a {
color: #007fff;
}
}
}
}
...
...
src/components/team/dialog.vue
View file @
b95e6545
...
...
@@ -11,7 +11,7 @@
<template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.user_id"
>
<span
class=
"cell-link"
>
<router-link
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.user_id}}">
<router-link
target=
"_blank"
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.user_id}}">
{{
scope
.
row
.
nickname
||
'-'
}}
</router-link>
</span>
...
...
@@ -50,7 +50,7 @@
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.friend_uid"
>
<span
class=
"cell-link"
>
<router-link
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
<router-link
target=
"_blank"
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
{{
scope
.
row
.
nick
||
'-'
}}
</router-link>
</span>
...
...
@@ -89,7 +89,7 @@
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.friend_uid"
>
<span
class=
"cell-link"
>
<router-link
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
<router-link
target=
"_blank"
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
{{
scope
.
row
.
nick
||
'-'
}}
</router-link>
</span>
...
...
@@ -233,19 +233,23 @@
getData
()
{
// todo 名字
if
(
this
.
dialogObj
.
type
==
'callback'
)
{
this
.
getVisited
();
this
.
title
=
`销售顾问:${this.dialogObj.staff_name
}
T${this.dialogObj.squad
}
`
// this.title = `销售顾问:$
{
this
.
dialogObj
.
staff_name
}
T$
{
this
.
dialogObj
.
squad
}
`
this.title = `
当日已回访
`
}
else if (this.dialogObj.type == 'validchat') {
this.getValidchat();
this
.
title
=
`销售顾问:${this.dialogObj.staff_name
}
T${this.dialogObj.squad
}
`
// this.title = `
销售顾问:
$
{
this
.
dialogObj
.
staff_name
}
T$
{
this
.
dialogObj
.
squad
}
`
this.title = `
当日微信有效沟通
`
}
else if (this.dialogObj.type == 'phonerecord') {
this.getPhonerecord();
this
.
title
=
`销售顾问:${this.dialogObj.staff_name
}
T${this.dialogObj.squad
}
`
// this.title = `
销售顾问:
$
{
this
.
dialogObj
.
staff_name
}
T$
{
this
.
dialogObj
.
squad
}
`
this.title = `
当日有效通次
`
}
else if (this.dialogObj.type == 'class') {
this.getClass();
this
.
title
=
`销售顾问:${this.dialogObj.staff_name
}
T${this.dialogObj.squad
}
`
// this.title = `
销售顾问:
$
{
this
.
dialogObj
.
staff_name
}
T$
{
this
.
dialogObj
.
squad
}
`
this.title = `
未来
7
日开课班级
`
}
else if (this.dialogObj.type == 'achievement') {
this.getAchievement();
this
.
title
=
`业绩详情
:${this.dialogObj.staff_name
}
T${this.dialogObj.squad
}
`
this.title = `
业绩详情
`
}
}
,
...
...
src/components/team/hourDialog.vue
View file @
b95e6545
...
...
@@ -16,28 +16,28 @@
<tr
v-if=
"table.td1.length != 0"
>
<td>
微信有效沟通
</td>
<td
v-for=
"(td, index) in table.td1"
>
<span
class=
"cell
"
:class=
"index>0 ? 'cell-link' : ''
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
<span
class=
"cell
-link cell
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
</td>
</tr>
<!--沟通>10-->
<tr
v-if=
"table.td2.length != 0"
>
<td>
沟通>10
</td>
<td
v-for=
"(td, index) in table.td2"
>
<span
class=
"cell
"
:class=
"index>0 ? 'cell-link' : ''
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
<span
class=
"cell
-link cell
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
</td>
</tr>
<!--有效通次-->
<tr
v-if=
"table.td3.length != 0"
>
<td>
有效通次
</td>
<td
v-for=
"(td, index) in table.td3"
>
<span
class=
"cell
"
:class=
"index>0 ? 'cell-link' : ''
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
<span
class=
"cell
-link cell
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
</td>
</tr>
<!-->3分钟-->
<tr
v-if=
"table.td4.length != 0"
>
<td>
>3分钟
</td>
<td
v-for=
"(td, index) in table.td4"
>
<span
class=
"cell
"
:class=
"index>0 ? 'cell-link' : ''
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
<span
class=
"cell
-link cell
"
@
click=
"dialogToggle(td)"
>
{{
td
.
content
}}
</span>
</td>
</tr>
</tbody>
...
...
@@ -48,7 +48,16 @@
<el-table-column
label=
"老师"
prop=
"teacher_name"
></el-table-column>
<el-table-column
label=
"UID"
prop=
"friend_uid"
></el-table-column>
<el-table-column
label=
"客户微信昵称"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
nick
||
'-'
}}
</
template
>
<template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.friend_uid"
>
<span
class=
"cell-link"
>
<router-link
target=
"_blank"
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
{{
scope
.
row
.
nick
||
'-'
}}
</router-link>
</span>
</
template
>
<
template
v-else
>
{{
scope
.
row
.
nick
||
'-'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"聊天条数"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
chat_count
}}
</
template
>
...
...
@@ -74,8 +83,7 @@
<!--
<el-button
size=
"small"
v-if=
"scope.row.chat_count > 0"
>
聊天记录
</el-button>
-->
<chat-record
v-if=
"scope.row.chat_count > 0"
:friend-id=
"scope.row.friend_id"
:start-at=
"dialogObj.start_at"
></chat-record>
:friend-id=
"scope.row.friend_id"
:start-at=
"dialogObj.start_at"
></chat-record>
<phone-record
v-if=
"scope.row.phone_source_file"
:src=
"scope.row.phone_source_file"
></phone-record>
...
...
@@ -99,7 +107,16 @@
<el-table-column
label=
"老师"
prop=
"teacher_name"
></el-table-column>
<el-table-column
label=
"UID"
prop=
"friend_uid"
></el-table-column>
<el-table-column
label=
"客户微信昵称"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nick
||
'-'
}}
</
template
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.friend_uid"
>
<span
class=
"cell-link"
>
<router-link
target=
"_blank"
:to=
"
{path:'/user', query:{type: 'detail', userid: scope.row.friend_uid}}">
{{
scope
.
row
.
nick
||
'-'
}}
</router-link>
</span>
</
template
>
<
template
v-else
>
{{
scope
.
row
.
nick
||
'-'
}}
</
template
>
</template>
</el-table-column>
<el-table-column
v-if=
"dialog.search.type == '0'"
label=
"聊天条数"
>
...
...
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