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
94c03ffa
Commit
94c03ffa
authored
Sep 27, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改localstorage'
parent
4e28425c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+3
-4
enterprise.vue
src/pages/userBind/org/enterprise.vue
+9
-7
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
94c03ffa
...
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: liuxin
* @Date: 2019-09-19 09:18:14
* @LastEditTime: 2019-09-27 1
3:21:31
* @LastEditTime: 2019-09-27 1
9:02:48
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -161,7 +161,7 @@
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"sign-modal"
>
<h-view>
<
div
class=
"modal-content"
>
<
h-content
class=
"modal-content"
>
<notify
v-model=
"show1"
content=
"请输入本人的银行卡"
type=
"warning"
class=
"notice"
/>
<notify
v-model=
"show2"
content=
"请输入完整字段"
type=
"warning"
class=
"notice"
/>
<notify
v-model=
"show3"
content=
"添加成功"
type=
"success"
class=
"notice"
/>
...
...
@@ -188,7 +188,7 @@
<input
slot=
"content"
v-model=
"bank.bank_branch_name"
placeholder=
"请输入支行名称"
>
</item>
</list-item>
</
div
>
</
h-content
>
</h-view>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"add-card"
@
click
.
native=
"addBankInfo"
>
添加
</tab-button>
...
...
@@ -812,7 +812,6 @@ export default {
display: none;
}
.modal-content {
width: 100%;
height: 75%;
position: absolute;
top: 25%;
...
...
src/pages/userBind/org/enterprise.vue
View file @
94c03ffa
...
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-09-27 1
8:11:48
* @LastEditTime: 2019-09-27 1
9:00:59
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -209,7 +209,7 @@
<tab-button
class=
"save"
@
click
.
native=
"verified"
>
保存
</tab-button>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"enterprise--modal"
>
<h-view>
<h-view
class=
"tras"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content-add-top"
>
<span>
添加银行卡
</span>
...
...
@@ -386,7 +386,8 @@ export default {
methods
:
{
getBankInfo
()
{
let
vm
=
this
let
bpId
=
window
.
localStorage
.
getItem
(
'user_id'
)
// let bpId = window.localStorage.getItem('user_id')
let
bpId
=
vm
.
bp_id
let
url
=
process
.
env
.
basePath
+
'bp_bank_query'
let
param
=
{
bp_id
:
bpId
,
...
...
@@ -403,7 +404,8 @@ export default {
let
url
=
$config
.
basePath
+
'bp_bind_submit'
let
param
=
{
master
:
{
bp_id
:
window
.
localStorage
.
getItem
(
'user_id'
),
// bp_id: window.localStorage.getItem('user_id'),
bp_id
:
this
.
bp_id
,
company_id
:
'2145'
,
},
}
...
...
@@ -659,8 +661,8 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showSuccess
(
'保存成功'
)
window
.
localStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
window
.
sessionStorage
.
setItem
(
'user_id'
,
res
.
bp_id
)
//
window.localStorage.setItem('user_id', res.bp_id)
//
window.sessionStorage.setItem('user_id', res.bp_id)
vm
.
bp_id
=
res
.
bp_id
}
})
...
...
@@ -1043,7 +1045,7 @@ export default {
color: #fff;
}
}
.
modal
{
.
tras
{
background-color: rgba(0, 0, 0, 0) !important;
}
</
style
>
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