Commit be51428c by 王志慧

群客户跟进群主标识添加

1 parent d94a1a45
......@@ -41,6 +41,9 @@
color: #3975C6;
line-height: 20px;
}
.icon-identifier{
margin-left:8px;
}
}
.time{
font-size: 12px;
......
.sprite-icon { background-image: url(../images/sprite.png);background-size: 108px 74px;}
.sprite-icon { background-image: url(../images/sprite.png);background-size: 110px 74px;}
.icon-active { width: 20px; height: 20px; background-position: 0px -54px;}
.icon-arrow { width: 7px; height: 11px; background-position: -92px -26px;}
.icon-arrow { width: 7px; height: 11px; background-position: -92px -56px;}
.icon-avatar { width: 44px; height: 44px; background-position: 0px 0px;}
.icon-customer-active { width: 16px; height: 16px; background-position: -92px 0px;}
.icon-customer-active { width: 16px; height: 16px; background-position: -92px -30px;}
.icon-customer-add { width: 28px; height: 20px; background-position: -54px 0px;}
.icon-customer-copy { width: 18px; height: 20px; background-position: -60px -54px;}
.icon-customer-copy { width: 18px; height: 20px; background-position: -92px 0px;}
.icon-customer-phone { width: 20px; height: 20px; background-position: -30px -54px;}
.icon-open-arrow { width: 8px; height: 7px; background-position: -92px -47px;}
\ No newline at end of file
.icon-open-arrow { width: 8px; height: 7px; background-position: -54px -30px;}
.icon-identifier { width: 20px; height: 20px; background-position: -60px -54px;}
\ No newline at end of file

6.14 KB | W: | H:

7.63 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -13,7 +13,10 @@
<div class="info">
<div class="phone flex text-hide">
{{ item.groupNickName }}
<div class="wx">{{ item.type == 1 ? '@微信' : '@企微' }}</div>
<template v-if="tabIndex == 0">
<div class="wx">{{ item.type == 1 ? '@微信' : '@企微' }}</div>
</template>
<div class="sprite-icon icon-identifier" v-if="tabIndex == 1&&item.isLord == 0"></div>
</div>
<template v-if="tabIndex == 1">
<div class="time">进群时间:{{ item.joinTime }}</div>
......@@ -42,7 +45,7 @@
</template>
<script type='text/ecmascript-6'>
import { ssoApi, wxConfig } from '@/api'
import { ssoApi, wxConfig } from '@/api'
import { Toast } from 'vant'
export default {
name: '',
......@@ -102,10 +105,10 @@ export default {
Toast('该用户尚未成为企业微信客户,请先添加为客户')
return
}
if (this.tabIndex == 0) this.$router.push({ name: 'customer.detail', query: { id: data.userId, customerId: data.isMyCustomer,isTrue:true } })
if (this.tabIndex == 0) this.$router.push({ name: 'customer.detail', query: { id: data.userId, customerId: data.isMyCustomer, isTrue: true } })
if (this.tabIndex == 1) {
let seach = {
userIds: [this.workUserId], //参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
userIds: [data.userId], //参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
externalUserIds: [data.userId], // 参与会话的外部联系人列表,格式为userId1;userId2;…,用分号隔开。
groupName: '', // 会话名称。单聊时该参数传入空字符串""即可。
chatId: ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!