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
84d7aeaa
Commit
84d7aeaa
authored
Sep 25, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改
parent
5e59ea0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+5
-13
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
84d7aeaa
...
...
@@ -269,11 +269,10 @@ export default {
}
},
'tabNum'
:
function
(
newVal
,
oldVal
)
{
// if ((newVal === 1 && !window.localStorage.user_id) || (newVal === 2 && !window.localStorage.user_id)) {
// // this.handleNotify()
// this.hlsPopup.showError('清先保存基本信息')
// this.tabNum = oldVal
// }
if
((
newVal
===
1
&&
!
window
.
sessionStorage
.
user_id
)
||
(
newVal
===
2
&&
!
window
.
sessionStorage
.
user_id
))
{
this
.
hlsPopup
.
showError
(
'清先保存基本信息'
)
this
.
tabNum
=
oldVal
}
},
},
created
()
{
...
...
@@ -310,6 +309,7 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
window
.
localStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
sessionStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
localStorage
.
setItem
(
'bp_name'
,
vm
.
baseInfo
.
bp_name
)
console
.
log
(
'dbnxuweijhcdieuc'
,
window
.
localStorage
.
getItem
(
'bp_name'
))
}
...
...
@@ -421,14 +421,6 @@ export default {
}
})
},
handleNotify
()
{
this
.
hlsPopup
.
showNotify
({
content
:
'清先保存基本信息'
,
position
:
'top'
,
time
:
2000
,
type
:
'warning'
,
})
},
getinvoiceList
(
i
)
{
Object
.
assign
(
this
.
baseInfo
,
i
)
},
...
...
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