Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
7873f20d
Commit
7873f20d
authored
Dec 19, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
置空
parent
e8092f45
Pipeline
#4241
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
accessory-info.vue
src/pages/userBindNew/np/accessory-info.vue
+12
-4
invoice-info.vue
src/pages/userBindNew/np/invoice-info.vue
+1
-1
index.js
src/router/index.js
+1
-1
No files found.
src/pages/userBindNew/np/accessory-info.vue
View file @
7873f20d
...
...
@@ -343,11 +343,19 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'NPInvoiceInfo'
&&
window
.
localStorage
.
from
)
{
vm
.
propertyInfo
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
)}
vm
.
hauseInfo
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
)}
vm
.
carInfo
=
{
bp_id
:
window
.
localStorage
.
getItem
(
'bp_id'
)}
vm
.
houseImg
=
''
vm
.
carImg
=
''
vm
.
estateImg
=
''
vm
.
bp_type
=
window
.
localStorage
.
bp_type
vm
.
loadItemList
()
vm
.
getCarInfo
()
vm
.
getHouseInfo
()
vm
.
getEstateInfo
()
setTimeout
(()
=>
{
vm
.
loadItemList
()
vm
.
getCarInfo
()
vm
.
getHouseInfo
()
vm
.
getEstateInfo
()
},
0
)
}
})
},
...
...
src/pages/userBindNew/np/invoice-info.vue
View file @
7873f20d
...
...
@@ -99,8 +99,8 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
invoiceInfo
=
{}
if
(
from
.
name
===
'NPBaseInfo'
&&
window
.
localStorage
.
from
)
{
vm
.
invoiceInfo
=
{}
vm
.
getInvoice
()
}
})
...
...
src/router/index.js
View file @
7873f20d
...
...
@@ -284,7 +284,7 @@ export default new Router({
// 新版用户绑定-自然人
{
path
:
'/np-base-info'
,
component
:
NPBaseInfo
,
name
:
'NPBaseInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/np-invoice-info'
,
component
:
NPInvoiceInfo
,
name
:
'NPInvoiceInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/np-bank-info'
,
component
:
NPBankInfo
,
name
:
'NPBankInfo'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/np-bank-info'
,
component
:
NPBankInfo
,
name
:
'NPBankInfo'
,
meta
:
{
keepAlive
:
fals
e
}},
{
path
:
'/accessory-info'
,
component
:
AccessoryInfo
,
name
:
'AccessoryInfo'
,
meta
:
{
keepAlive
:
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