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 d94a1a45
authored
Feb 23, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
跳转详情修改
1 parent
14f025d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
src/views/customer/detail.vue
src/views/customer/groupDetail.vue
src/views/customer/index.vue
src/views/customer/detail.vue
View file @
d94a1a4
...
...
@@ -243,10 +243,10 @@ export default {
},
mounted
()
{
this
.
showLoading
()
let
{
id
,
customerId
}
=
this
.
getQuery
()
let
{
id
,
customerId
,
isTrue
}
=
this
.
getQuery
()
// console.log(id,'测试测试')
// id = 'wo_pmOEQAAr93aXGLTNtAjLGZZxpwXuQ'
if
(
id
)
{
if
(
id
||
isTrue
)
{
this
.
id
=
id
this
.
customerId
=
customerId
//用来判断。若员工尚未添加该客户为好友,则暂不允许在客户跟进中修改客户的信息,仅只读。
this
.
getCustomerDetail
(
id
)
...
...
src/views/customer/groupDetail.vue
View file @
d94a1a4
...
...
@@ -46,6 +46,7 @@
<
script
>
import
index
from
'@/views/customer'
import
{
detailApi
,
wxConfig
}
from
'@/api'
import
{
Dialog
}
from
'vant'
export
default
{
components
:
{
index
},
data
()
{
...
...
src/views/customer/index.vue
View file @
d94a1a4
...
...
@@ -102,7 +102,7 @@ export default {
Toast
(
'该用户尚未成为企业微信客户,请先添加为客户'
)
return
}
if
(
this
.
tabIndex
==
0
)
this
.
$router
.
push
({
path
:
'/customer/detail'
,
query
:
{
id
:
data
.
userId
,
customerId
:
data
.
isMyCustomer
}
})
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;...,用分号隔开。
...
...
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