Commit fbc9b058 authored by linxin's avatar linxin

新增弹出板块

parent 84d7aeaa
...@@ -54,6 +54,11 @@ export default { ...@@ -54,6 +54,11 @@ export default {
functionName: '用户绑定', functionName: '用户绑定',
functionState: 'UserBind', functionState: 'UserBind',
}, },
{
functionIcon: require('@/assets/intoApproval/introduce.png'),
functionName: '进件审批',
functionState: 'Base',
},
], // 全部应用 ], // 全部应用
messageList: [ messageList: [
{ {
......
<template> <template>
<div id="accessory"> <div id="accessory">
<list-item :item-height="44"> <list-item :item-height="44">
<item> <item @click.native="type=1;sendDown()">
<div slot="name">身份证</div> <div slot="name">身份证</div>
<span slot="content"> <span slot="content">
<img src="@/assets/intoApproval/download.png" >下载在线查看 <img src="@/assets/intoApproval/download.png" >下载在线查看
</span> </span>
</item> </item>
<item> <item @click.native="type=2;sendDown()">
<div slot="name">营业执照</div> <div slot="name">营业执照</div>
<span slot="content"> <span slot="content">
<img src="@/assets/intoApproval/download.png" >下载在线查看 <img src="@/assets/intoApproval/download.png" >下载在线查看
</span> </span>
</item> </item>
<item> <item @click.native="type=3;sendDown()">
<div slot="name">银行卡</div> <div slot="name">银行卡</div>
<span slot="content"> <span slot="content">
<img src="@/assets/intoApproval/download.png" >下载在线查看 <img src="@/assets/intoApproval/download.png" >下载在线查看
</span> </span>
</item> </item>
<item> <item @click.native="type=4;sendDown()">
<div slot="name">征信授权书</div> <div slot="name">征信授权书</div>
<span slot="content"> <span slot="content">
<img src="@/assets/intoApproval/download.png" >下载在线查看 <img src="@/assets/intoApproval/download.png" >下载在线查看
...@@ -32,9 +32,15 @@ ...@@ -32,9 +32,15 @@
export default { export default {
data () { data () {
return { return {
type: 0,
baseInfo: {}, baseInfo: {},
} }
}, },
methods: {
sendDown () {
this.$emit('down', this.type)
},
},
} }
</script> </script>
<style lang="less" scope> <style lang="less" scope>
......
...@@ -77,12 +77,27 @@ export default { ...@@ -77,12 +77,27 @@ export default {
return num.substring(num.length - 4) return num.substring(num.length - 4)
}, },
deleteFun (e) { deleteFun (e) {
let index = this.bankList.findIndex(item => { let index = this.getBankList.findIndex(item => {
if (item.bank_account_num === e) { if (item.bank_account_num === e) {
return true return true
} }
}) })
this.bankList.splice(index, 1) this.getBankList.splice(index, 1)
let vm = this
let url = process.env.basePath + 'bp_bank_delete'
let param = {
'master': {
'bp_id': window.localStorage.user_id,
'bank_account_num': e,
},
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
console.log(res)
}
})
}, },
}, },
} }
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<tab-button class="put" @click.native="putData">提交</tab-button> <tab-button class="put" @click.native="putData">提交</tab-button>
<tab-button class="save" @click.native="verified">保存</tab-button> <tab-button class="save" @click.native="verified">保存</tab-button>
</bottom-tab> </bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="search-modal"> <h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="sign-modal">
<h-view> <h-view>
<h-content class="modal-content"> <h-content class="modal-content">
<notify v-model="show1" content="请输入本人的银行卡" type="warning" class="notice" /> <notify v-model="show1" content="请输入本人的银行卡" type="warning" class="notice" />
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
<img src="@/assets/userBind/close.png" @click="hideModal" > <img src="@/assets/userBind/close.png" @click="hideModal" >
</div> </div>
<img src="@/assets/userBind/addBack.png" class="addBack" > <img src="@/assets/userBind/addBack.png" class="addBack" >
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info" >
<item> <item>
<div slot="name">银行卡卡号</div> <div slot="name">银行卡卡号</div>
<input slot="content" v-model="bank.bank_account_num" placeholder="银行卡卡号自动填充" > <input slot="content" v-model="bank.bank_account_num" placeholder="银行卡卡号自动填充" >
......
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