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

团队管理 更新 弹窗标题,增加 微信昵称跳转

小时动态 增加 微信昵称跳转
parent 1efc2109
...@@ -302,9 +302,16 @@ ...@@ -302,9 +302,16 @@
& + .cell-link { & + .cell-link {
margin-left: 0; margin-left: 0;
} }
a {
color: #444;
transition: color 240ms, background-color 240ms;
}
&:hover { &:hover {
background-color: #cce4ff; background-color: #cce4ff;
color: #007fff; color: #007fff;
a {
color: #007fff;
}
} }
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.user_id"> <template v-if="scope.row.user_id">
<span class="cell-link"> <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 || '-'}} {{scope.row.nickname || '-'}}
</router-link> </router-link>
</span> </span>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.friend_uid"> <template v-if="scope.row.friend_uid">
<span class="cell-link"> <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 || '-'}} {{scope.row.nick || '-'}}
</router-link> </router-link>
</span> </span>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.friend_uid"> <template v-if="scope.row.friend_uid">
<span class="cell-link"> <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 || '-'}} {{scope.row.nick || '-'}}
</router-link> </router-link>
</span> </span>
...@@ -233,19 +233,23 @@ ...@@ -233,19 +233,23 @@
getData() { // todo 名字 getData() { // todo 名字
if (this.dialogObj.type == 'callback') { if (this.dialogObj.type == 'callback') {
this.getVisited(); 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') { } else if (this.dialogObj.type == 'validchat') {
this.getValidchat(); 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') { } else if (this.dialogObj.type == 'phonerecord') {
this.getPhonerecord(); 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') { } else if (this.dialogObj.type == 'class') {
this.getClass(); 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') { } else if (this.dialogObj.type == 'achievement') {
this.getAchievement(); this.getAchievement();
this.title = `业绩详情:${this.dialogObj.staff_name} T${this.dialogObj.squad}` this.title = `业绩详情`
} }
}, },
......
...@@ -16,28 +16,28 @@ ...@@ -16,28 +16,28 @@
<tr v-if="table.td1.length != 0"> <tr v-if="table.td1.length != 0">
<td>微信有效沟通</td> <td>微信有效沟通</td>
<td v-for="(td, index) in table.td1"> <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> </td>
</tr> </tr>
<!--沟通>10--> <!--沟通>10-->
<tr v-if="table.td2.length != 0"> <tr v-if="table.td2.length != 0">
<td>沟通>10</td> <td>沟通>10</td>
<td v-for="(td, index) in table.td2"> <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> </td>
</tr> </tr>
<!--有效通次--> <!--有效通次-->
<tr v-if="table.td3.length != 0"> <tr v-if="table.td3.length != 0">
<td>有效通次</td> <td>有效通次</td>
<td v-for="(td, index) in table.td3"> <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> </td>
</tr> </tr>
<!-->3分钟--> <!-->3分钟-->
<tr v-if="table.td4.length != 0"> <tr v-if="table.td4.length != 0">
<td>>3分钟</td> <td>>3分钟</td>
<td v-for="(td, index) in table.td4"> <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> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -48,7 +48,16 @@ ...@@ -48,7 +48,16 @@
<el-table-column label="老师" prop="teacher_name"></el-table-column> <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="UID" prop="friend_uid"></el-table-column>
<el-table-column label="客户微信昵称"> <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>
<el-table-column label="聊天条数"> <el-table-column label="聊天条数">
<template slot-scope="scope">{{scope.row.chat_count}}</template> <template slot-scope="scope">{{scope.row.chat_count}}</template>
...@@ -74,8 +83,7 @@ ...@@ -74,8 +83,7 @@
<!--<el-button size="small" v-if="scope.row.chat_count > 0">聊天记录</el-button>--> <!--<el-button size="small" v-if="scope.row.chat_count > 0">聊天记录</el-button>-->
<chat-record <chat-record
v-if="scope.row.chat_count > 0" v-if="scope.row.chat_count > 0"
:friend-id="scope.row.friend_id" :start-at="dialogObj.start_at" :friend-id="scope.row.friend_id" :start-at="dialogObj.start_at"></chat-record>
></chat-record>
<phone-record <phone-record
v-if="scope.row.phone_source_file" v-if="scope.row.phone_source_file"
:src="scope.row.phone_source_file"></phone-record> :src="scope.row.phone_source_file"></phone-record>
...@@ -99,7 +107,16 @@ ...@@ -99,7 +107,16 @@
<el-table-column label="老师" prop="teacher_name"></el-table-column> <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="UID" prop="friend_uid"></el-table-column>
<el-table-column label="客户微信昵称"> <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>
<el-table-column v-if="dialog.search.type == '0'" label="聊天条数"> <el-table-column v-if="dialog.search.type == '0'" label="聊天条数">
......
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