Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
218f1389
Commit
218f1389
authored
Jul 04, 2023
by
xiongjinke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
fff0095f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
6 deletions
+28
-6
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+28
-6
No files found.
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
218f1389
...
...
@@ -167,15 +167,37 @@ export default {
},
watch
:
{
'$route'
(
to
,
from
)
{
// 检测查询参数的变化
if
(
to
.
query
.
customerId
)
{
if
(
to
.
name
==
'PartyA'
&&
to
.
query
.
customerId
){
if
(
to
.
query
.
customerId
&&
to
.
query
.
path
==
'business'
||
to
.
query
.
path
==
'gjjl'
)
{
if
(
this
.
companyId
==
0
)
{
let
customerId
=
to
.
query
.
customerId
this
.
association
(
customerId
)
customerInfo
(
to
.
query
.
customerId
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
)
{
this
.
$nextTick
(()
=>
{
this
.
customerInfo
=
res
.
data
this
.
customerId
=
res
.
data
.
customerId
this
.
isCustomer
=
true
this
.
isCompany
=
false
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
||
'business'
this
.
companyInfo
=
{
companyName
:
this
.
customerInfo
.
companyName
}
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
customerInfo
.
companyName
})
}
}
})
}
if
(
to
.
query
.
customerId
==
this
.
customerId
&&
to
.
query
.
path
)
{
this
.
currentPath
.
pathName
=
to
.
query
.
path
}
}
if
(
to
.
query
.
path
)
{
this
.
currentPath
.
pathName
=
to
.
query
.
path
}
else
{
if
(
from
.
name
==
'PartyA'
&&
!
from
.
query
.
customerId
){
this
.
$nextTick
(()
=>
{
this
.
isCompany
=
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