Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be51428c
authored
Feb 24, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群客户跟进群主标识添加
1 parent
d94a1a45
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
9 deletions
src/assets/css/customer.scss
src/assets/css/sprite.scss
src/assets/images/sprite.png
src/assets/spritesmith/identifier.png
src/views/customer/index.vue
src/assets/css/customer.scss
View file @
be51428
...
...
@@ -41,6 +41,9 @@
color
:
#3975C6
;
line-height
:
20px
;
}
.icon-identifier
{
margin-left
:
8px
;
}
}
.time
{
font-size
:
12px
;
...
...
src/assets/css/sprite.scss
View file @
be51428
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
1
08
px
74px
;}
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
1
10
px
74px
;}
.icon-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-54px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
-92px
-
2
6px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
-92px
-
5
6px
;}
.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
-3
0px
;}
.icon-customer-add
{
width
:
28px
;
height
:
20px
;
background-position
:
-54px
0px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-
60px
-54
px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-
92px
0
px
;}
.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
src/assets/images/sprite.png
View file @
be51428
6.14 KB
|
W:
|
H:
7.63 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/spritesmith/identifier.png
0 → 100644
View file @
be51428
1.35 KB
src/views/customer/index.vue
View file @
be51428
...
...
@@ -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
.
workU
serId
],
//参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
userIds
:
[
data
.
u
serId
],
//参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
externalUserIds
:
[
data
.
userId
],
// 参与会话的外部联系人列表,格式为userId1;userId2;…,用分号隔开。
groupName
:
''
,
// 会话名称。单聊时该参数传入空字符串""即可。
chatId
:
''
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment