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
c1ea8d44
Commit
c1ea8d44
authored
Jun 30, 2023
by
xiongjinke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a4d36f93
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
index.vue
dsk-operate-ui/src/views/detail/party-a/business/index.vue
+13
-3
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+6
-6
No files found.
dsk-operate-ui/src/views/detail/party-a/business/index.vue
View file @
c1ea8d44
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<template
v-if=
"isInfo"
>
<template
v-if=
"isInfo"
>
<!-- 企业信息 -->
<!-- 企业信息 -->
<div
class=
"view-content"
>
<div
class=
"view-content"
>
<Info
:companyInfo=
"
is
companyInfo"
/>
<Info
:companyInfo=
"companyInfo"
/>
</div>
</div>
<!-- 基本信息 -->
<!-- 基本信息 -->
<div
class=
"view-content"
>
<div
class=
"view-content"
>
...
@@ -99,6 +99,13 @@ export default {
...
@@ -99,6 +99,13 @@ export default {
iscompanyInfo
:{}
iscompanyInfo
:{}
}
}
},
},
watch
:
{
"customerIds"
(
newVal
,
oldVal
)
{
if
(
newVal
){
this
.
customerInfos
()
}
}
},
created
()
{
created
()
{
this
.
infos
=
this
.
customerInfo
this
.
infos
=
this
.
customerInfo
this
.
iscompanyInfo
=
this
.
companyInfo
?
this
.
companyInfo
:
{}
this
.
iscompanyInfo
=
this
.
companyInfo
?
this
.
companyInfo
:
{}
...
@@ -132,10 +139,13 @@ export default {
...
@@ -132,10 +139,13 @@ export default {
},
},
customerInfos
(){
customerInfos
(){
this
.
isInfo
=
false
customerInfo
(
this
.
customerIds
).
then
(
res
=>
{
customerInfo
(
this
.
customerIds
).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
infos
=
res
.
data
this
.
infos
=
res
.
data
this
.
handleQuery
()
this
.
handleQuery
()
})
})
})
},
},
focusNowedits
(
e
){
focusNowedits
(
e
){
this
.
nowedit
=
e
this
.
nowedit
=
e
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
c1ea8d44
...
@@ -167,11 +167,11 @@ export default {
...
@@ -167,11 +167,11 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
==
'CustomList'
){
if
(
to
.
query
.
customerId
){
if
(
to
.
query
.
path
){
let
customerId
=
to
.
query
.
customerId
vm
.
association
(
customerId
)
vm
.
currentPath
.
pathName
=
to
.
query
.
path
vm
.
currentPath
.
pathName
=
to
.
query
.
path
}
}
}
})
})
},
},
created
()
{
created
()
{
...
@@ -230,9 +230,9 @@ export default {
...
@@ -230,9 +230,9 @@ export default {
customerInfo
(
id
).
then
(
res
=>
{
customerInfo
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
)
{
if
(
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
)
{
this
.
$nextTick
(()
=>
{
this
.
customerInfo
=
res
.
data
this
.
customerInfo
=
res
.
data
this
.
customerId
=
res
.
data
.
customerId
this
.
customerId
=
res
.
data
.
customerId
this
.
$nextTick
(()
=>
{
this
.
isCustomer
=
true
this
.
isCustomer
=
true
this
.
isCompanyId
=
true
this
.
isCompanyId
=
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