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 5db1b23d
authored
Nov 12, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/glsx/dj-scrm-wx-work-attachment-customer
2 parents
2fe80d79
4cf90720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
src/views/customerGroup/index.vue
src/views/customerGroup/index.vue
View file @
5db1b23
...
...
@@ -53,9 +53,13 @@
并新建一个
</div>
<div>
外部客户群聊
</div>
<div
class=
"imgBox"
style=
"margin-left: 93px; width: 132px; height: 132px;
margin-top:16px;margin-bottom:34px;
"
>
<div
class=
"imgBox"
style=
"margin-left: 93px; width: 132px; height: 132px;
margin-top: 16px; margin-bottom: 34px
"
>
<div
class=
"itemsBox"
>
<div
:class=
"[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']"
v-for=
"user in dialogMessage"
:key=
"user.id"
>
<div
:class=
"[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']"
v-for=
"user in dialogMessage"
:key=
"user.id"
>
<img
:src=
"user.avatar"
alt=
""
/>
</div>
</div>
...
...
@@ -86,6 +90,11 @@ export default {
// 9: 14.67,
// },
dialogMessage
:
[],
insertParams
:
{
templateId
:
''
,
externalUserids
:
''
,
chatId
:
''
},
addGroupParams
:
{
externalUserId
:
[],
groupName
:
''
,
...
...
@@ -186,14 +195,6 @@ export default {
],
hasgroup
:
'1'
}
// { id: '1', orgName: 'songshu1', groupName: '@zhouzy2', welcome: '欢迎songshu3', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '2', orgName: 'songshu1', groupName: '@songshu3', welcome: '欢迎songshu4', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '3', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '4', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '5', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '6', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '7', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' },
// { id: '8', orgName: 'songshu1', groupName: '@zhouzy4', welcome: '欢迎songshu5', url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', hasgroup: '1' }
]
}
},
...
...
@@ -205,9 +206,10 @@ export default {
methods
:
{
// 创建群聊
addGroup
()
{
let
params
=
this
.
addGroupParams
window
.
$wx
.
openEnterpriseChat
(
params
).
then
(
res
=>
{
groupChat
.
addChat
(
this
.
addGroupParams
).
then
(
res
=>
{
window
.
$wx
.
openEnterpriseChat
(
this
.
addGroupParams
).
then
(
res
=>
{
this
.
insertParams
=
res
this
.
insertParams
.
templateId
=
this
.
dialogMessage
.
templateId
groupChat
.
addChat
(
this
.
insertParams
).
then
(
res
=>
{
console
.
log
(
res
)
})
})
...
...
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