Commit d73d99f3 authored by linxin's avatar linxin

fix

parent 047843c6
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
user_bp_class: '', user_bp_class: '',
bp_id: '', bp_id: '',
user_phone: '', user_phone: '',
// show: false, user_bp_name: '',
} }
}, },
watch: { watch: {
...@@ -219,6 +219,7 @@ export default { ...@@ -219,6 +219,7 @@ export default {
name: 'NaturePerson', name: 'NaturePerson',
params: { params: {
bp_id: this.bp_id, bp_id: this.bp_id,
user_bp_name: this.user_bp_name,
}, },
}) })
} else { } else {
...@@ -226,6 +227,7 @@ export default { ...@@ -226,6 +227,7 @@ export default {
name: 'Enterprise', name: 'Enterprise',
params: { params: {
bp_id: this.bp_id, bp_id: this.bp_id,
user_bp_name: this.user_bp_name,
}, },
}) })
} }
...@@ -236,6 +238,7 @@ export default { ...@@ -236,6 +238,7 @@ export default {
name: 'NaturePerson', name: 'NaturePerson',
params: { params: {
bp_id: this.bp_id, bp_id: this.bp_id,
user_bp_name: this.user_bp_name,
status: 'APPROVED', status: 'APPROVED',
}, },
}) })
...@@ -244,6 +247,7 @@ export default { ...@@ -244,6 +247,7 @@ export default {
name: 'Enterprise', name: 'Enterprise',
params: { params: {
bp_id: this.bp_id, bp_id: this.bp_id,
user_bp_name: this.user_bp_name,
status: 'APPROVED', status: 'APPROVED',
}, },
}) })
...@@ -274,6 +278,7 @@ export default { ...@@ -274,6 +278,7 @@ export default {
vm.user_bp_status = res.info.user_bp_status vm.user_bp_status = res.info.user_bp_status
vm.user_bp_class = res.info.user_bp_class vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id vm.bp_id = res.info.user_bp_id
vm.user_bp_name = res.info.user_bp_name
vm.user_phone = res.info.user_phone vm.user_phone = res.info.user_phone
} else { } else {
this.hlsPopup.showLongCenter(res.message) this.hlsPopup.showLongCenter(res.message)
......
...@@ -22,10 +22,11 @@ ...@@ -22,10 +22,11 @@
<div class="card-content"> <div class="card-content">
<ul> <ul>
<li v-for="(item,index) in getBankList" :key="index" > <li v-for="(item,index) in getBankList" :key="index" >
<item-option class="slider" @click.native="sendList(item)"> <item-option class="slider">
<div <div
:style="'background-image: url('+ changeBgImg (item) +')'" :style="'background-image: url('+ changeBgImg (item) +')'"
class="my-bank-card" class="my-bank-card"
@click="sendList(item)"
> >
<div class="card-info"> <div class="card-info">
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
......
...@@ -807,7 +807,7 @@ export default { ...@@ -807,7 +807,7 @@ export default {
onConfirm: data => { onConfirm: data => {
console.log(data) console.log(data)
if (data) { if (data) {
let bpName = window.localStorage.getItem('bp_name') let bpName = this.from ? this.$route.params.user_bp_name : window.localStorage.getItem('bp_name')
if ( if (
this.bank.bank_account_num === '' || this.bank.bank_account_num === '' ||
this.bank.bank_account_name === '' || this.bank.bank_account_name === '' ||
...@@ -871,6 +871,8 @@ export default { ...@@ -871,6 +871,8 @@ export default {
vm.$router.push({ vm.$router.push({
name: 'Home', name: 'Home',
}) })
} else {
vm.hlsPopup.showLongCenter(res.message)
} }
}) })
} }
......
...@@ -29,12 +29,13 @@ ...@@ -29,12 +29,13 @@
<div class="card-content"> <div class="card-content">
<ul> <ul>
<li v-for="(item,index) in getBankList" :key="index"> <li v-for="(item,index) in getBankList" :key="index">
<item-option class="slider" @click.native="sendList(item)"> <item-option class="slider">
<div <div
:style="'background-image: url('+ changeBgImg (item) +')'" :style="'background-image: url('+ changeBgImg (item) +')'"
class="my-bank-card" class="my-bank-card"
@click="sendList(item)"
> >
<div class="card-info"> <div class="card-info" >
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
<span class="card-type">{{ item.bank_card_type }}</span> <span class="card-type">{{ item.bank_card_type }}</span>
<span class="number">卡号</span> <span class="number">卡号</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment