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
52f2850a
Commit
52f2850a
authored
Sep 25, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'银行卡删除'
parent
d831fb83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+12
-8
No files found.
src/pages/userBind/org/bankInfo.vue
View file @
52f2850a
...
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-09-25
19:34:03
* @LastEditTime: 2019-09-25
20:08:44
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -103,22 +103,26 @@ export default {
return
num
.
substring
(
num
.
length
-
4
)
},
deleteFun
(
e
)
{
console
.
log
(
this
.
bp_id
)
let
url
=
$config
.
basePath
+
'bp_bank_delete'
let
param
=
{
'master'
:
{
'bp_id'
:
this
.
bp_id
,
'
company_id'
:
'2145'
,
'
bank_account_num'
:
e
,
},
}
let
vm
=
this
this
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'银行卡删除'
,
res
)
if
(
res
.
result
===
'S'
)
{
let
index
=
vm
.
bankList
.
findIndex
(
item
=>
{
if
(
item
.
bank_account_num
===
e
)
{
return
true
}
})
vm
.
bankList
.
splice
(
index
,
1
)
}
})
// let index = this.bankList.findIndex(item => {
// if (item.bank_account_num === e) {
// return true
// }
// })
// this.bankList.splice(index, 1)
},
},
}
...
...
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