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
04495ad9
Commit
04495ad9
authored
Oct 25, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复银行卡删除问题
parent
7734660f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
42 deletions
+74
-42
bankInfo.vue
src/pages/userBind/np/bankInfo.vue
+34
-19
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+2
-1
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+35
-20
enterprise.vue
src/pages/userBind/org/enterprise.vue
+3
-2
No files found.
src/pages/userBind/np/bankInfo.vue
View file @
04495ad9
...
...
@@ -54,6 +54,10 @@ export default {
default
:
[],
type
:
Array
,
},
'from'
:
{
default
:
null
,
type
:
Boolean
,
},
},
data
()
{
return
{
...
...
@@ -82,6 +86,12 @@ export default {
return
num
.
substring
(
num
.
length
-
4
)
},
deleteFun
(
e
)
{
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'您确认删除吗?'
,
onConfirm
:
data
=>
{
console
.
log
(
data
)
if
(
data
===
1
)
{
let
index
=
this
.
getBankList
.
findIndex
(
item
=>
{
if
(
item
.
bank_account_num
===
e
)
{
return
true
...
...
@@ -92,7 +102,7 @@ export default {
let
url
=
process
.
env
.
basePath
+
'bp_bank_delete'
let
param
=
{
'master'
:
{
'bp_id'
:
window
.
localStorage
.
user_id
,
'bp_id'
:
this
.
from
?
this
.
$route
.
params
.
bp_id
:
window
.
localStorage
.
getItem
(
'user_id'
)
,
'bank_account_num'
:
e
,
},
}
...
...
@@ -100,9 +110,14 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
res
)
vm
.
hlsPopup
.
showSuccess
(
'删除成功'
)
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
})
},
},
}
...
...
src/pages/userBind/np/naturePerson.vue
View file @
04495ad9
...
...
@@ -257,6 +257,7 @@
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
:from=
"from"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
...
...
src/pages/userBind/org/bankInfo.vue
View file @
04495ad9
...
...
@@ -61,6 +61,10 @@ export default {
default
:
[],
type
:
Array
,
},
'from'
:
{
default
:
null
,
type
:
Boolean
,
},
},
data
()
{
return
{
...
...
@@ -90,6 +94,12 @@ export default {
return
num
.
substring
(
num
.
length
-
4
)
},
deleteFun
(
e
)
{
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'您确认删除吗?'
,
onConfirm
:
data
=>
{
console
.
log
(
data
)
if
(
data
===
1
)
{
let
index
=
this
.
getBankList
.
findIndex
(
item
=>
{
if
(
item
.
bank_account_num
===
e
)
{
return
true
...
...
@@ -100,7 +110,7 @@ export default {
let
url
=
process
.
env
.
basePath
+
'bp_bank_delete'
let
param
=
{
'master'
:
{
'bp_id'
:
window
.
localStorage
.
user_id
,
'bp_id'
:
this
.
from
?
this
.
$route
.
params
.
bp_id
:
window
.
localStorage
.
getItem
(
'user_id'
)
,
'bank_account_num'
:
e
,
},
}
...
...
@@ -108,14 +118,19 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
console
.
log
(
res
)
vm
.
hlsPopup
.
showSuccess
(
'删除成功'
)
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
})
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
>
#bank-card {
.info {
height: 70px;
...
...
src/pages/userBind/org/enterprise.vue
View file @
04495ad9
...
...
@@ -337,7 +337,8 @@
</div>
</div>
<!--
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
-->
<BankInfo
v-show=
"tabNum==1"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<BankInfo
v-show=
"tabNum==1"
:from=
"from"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<InvoiceInfo
v-show=
"tabNum==2"
:tabNum=
"tabNum"
...
...
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