Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
70388565
Commit
70388565
authored
Oct 22, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户类型默认值跳转参数
parent
6056e844
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
query.vue
src/views/ecw/customer/query.vue
+12
-2
No files found.
src/views/ecw/customer/query.vue
View file @
70388565
...
...
@@ -1040,7 +1040,6 @@ export default {
getCustomer
(
this
.
id
).
then
(
response
=>
{
this
.
customer
=
{...
this
.
customer
,
...
response
.
data
}
console
.
log
(
this
.
customer
,
'
this.customer
'
)
getCustomerContactsListByCustomer
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
this
.
customerContacts
=
r
.
data
if
(
this
.
customerContacts
.
length
>
0
)
{
...
...
@@ -1213,6 +1212,7 @@ export default {
serviceUserList
:
[],
customerContacts
:
[],
memberList
:
[],
relation
:
1
,
customer
:
{
id
:
undefined
,
number
:
undefined
,
...
...
@@ -1386,7 +1386,17 @@ export default {
this
.
$message
.
error
(
this
.
$t
(
"
此客户属于其他客户经理名下的客户。
"
));
return
;
}
this
.
$router
.
push
({
path
:
"
/offer/create
"
,
query
:
{
customer
:
row
,
type
:
1
}}
)
const
type
=
this
.
customer
.
type
if
(
type
){
// 客户类型不为空时
const
types
=
type
.
split
(
'
,
'
);
if
(
types
.
includes
(
"
0
"
))
{
this
.
relation
=
1
}
else
{
this
.
relation
=
2
}
}
this
.
$router
.
push
({
path
:
"
/offer/create
"
,
query
:
{
relation
:
this
.
relation
,
type
:
1
}}
)
}
,
handleCustomerFollow
(
row
,
flag
)
{
this
.
customerFollowVisible
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment