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 f76c9b09
authored
Feb 21, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
028ba3d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
src/views/customer/groupDetail.vue
src/views/customer/groupDetail.vue
View file @
f76c9b0
...
@@ -61,16 +61,20 @@ export default {
...
@@ -61,16 +61,20 @@ export default {
mounted
()
{
mounted
()
{
this
.
showLoading
()
this
.
showLoading
()
let
{
id
}
=
this
.
getQuery
()
let
{
id
}
=
this
.
getQuery
()
console
.
log
(
'id'
,
id
)
console
.
log
(
id
)
// id = '11
03
'
// id = '11
27
'
if
(
id
)
{
if
(
id
)
{
this
.
chatId
=
id
this
.
chatId
=
id
this
.
initData
(
id
)
this
.
initData
(
id
)
this
.
hideLoading
()
this
.
hideLoading
()
}
else
{
}
else
{
wxConfig
.
init
([
'getC
urExternalContac
t'
]).
then
(()
=>
{
wxConfig
.
init
([
'getC
ontext'
,
'getCurExternalCha
t'
]).
then
(()
=>
{
wxConfig
wxConfig
.
getCurExternalContact
()
.
getContext
()
.
then
(
data
=>
{
if
(
data
.
entry
==
'group_chat_tools'
)
{
wxConfig
.
getCurExternalChat
()
.
then
(
chatId
=>
{
.
then
(
chatId
=>
{
this
.
chatId
=
chatId
this
.
chatId
=
chatId
this
.
initData
(
id
)
this
.
initData
(
id
)
...
@@ -79,7 +83,20 @@ export default {
...
@@ -79,7 +83,20 @@ export default {
this
.
hideLoading
()
this
.
hideLoading
()
Dialog
.
alert
({
Dialog
.
alert
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'该功能暂不支持在群侧边栏打开'
,
message
:
'该功能暂不支持在单聊侧边栏打开'
,
confirmButtonText
:
'知道了'
,
confirmButtonColor
:
'#3975c6'
}).
then
(()
=>
{
wx
.
closeWindow
()
})
})
}
})
.
catch
(
e
=>
{
this
.
hideLoading
()
Dialog
.
alert
({
title
:
'提示'
,
message
:
'该功能暂不支持在单聊侧边栏打开'
,
confirmButtonText
:
'知道了'
,
confirmButtonText
:
'知道了'
,
confirmButtonColor
:
'#3975c6'
confirmButtonColor
:
'#3975c6'
}).
then
(()
=>
{
}).
then
(()
=>
{
...
...
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