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

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

小时动态 增加 微信昵称跳转
parent 1efc2109
......@@ -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;
}
}
}
}
......
......@@ -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 = `业绩详情`
}
},
......
......@@ -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="聊天条数">
......
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