Commit 2ffee680 authored by 786817560's avatar 786817560

'提交'

parent 43e77420
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 10:21:55 * @LastEditTime: 2019-10-24 14:51:39
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -172,6 +172,7 @@ export default { ...@@ -172,6 +172,7 @@ export default {
isshow: false, // 提示框的显示与隐藏 isshow: false, // 提示框的显示与隐藏
num: 0, num: 0,
project_id: '', project_id: '',
bank_flag: false,
confirm_id: '', confirm_id: '',
conditionInfo: {}, conditionInfo: {},
check1: Check1, check1: Check1,
...@@ -196,6 +197,7 @@ export default { ...@@ -196,6 +197,7 @@ export default {
next() next()
}, },
activated () { activated () {
this.bankCardQuery()
// console.log('...........', this.$route.params.confirm_status) // console.log('...........', this.$route.params.confirm_status)
// if (window.sessionStorage.getItem('add_status') === 'true') { // 根据add_status值改变entry_info_flag,传入银行卡录入页面,负责重置数据与否 // if (window.sessionStorage.getItem('add_status') === 'true') { // 根据add_status值改变entry_info_flag,传入银行卡录入页面,负责重置数据与否
// this.entry_info_flag = true // this.entry_info_flag = true
...@@ -249,8 +251,8 @@ export default { ...@@ -249,8 +251,8 @@ export default {
}) })
}, },
inSure () { inSure () {
console.log(typeof window.sessionStorage.getItem('add_status')) // console.log(typeof window.sessionStorage.getItem('add_status'))
if (window.sessionStorage.getItem('add_status') === 'true') { if (this.bank_flag) {
// this.entry_info_flag = true // this.entry_info_flag = true
let vm = this let vm = this
let url = $config.basePath + 'con_bp_confirm' let url = $config.basePath + 'con_bp_confirm'
...@@ -273,6 +275,37 @@ export default { ...@@ -273,6 +275,37 @@ export default {
// this.entry_info_flag = false // this.entry_info_flag = false
} }
}, },
// 银行卡查询
bankCardQuery () {
let vm = this
let url = $config.basePath + 'con_bank_query'
let param = {
project_id: vm.project_id,
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log('bankcardinfo。。。。。。。。。。。。', res)
if (res.result === 'S') {
if (!(JSON.stringify(res.info) === '{}')) {
// vm.bank_lists = [res.info]
// console.log(vm.bank_lists[0])
vm.bank_flag = true
} else {
vm.bank_flag = false
// this.bank_lists = [
// {
// bank_full_name: '', // 银行名称
// bank_account_num: '', // 卡号
// bank_account_name: '',
// bank_branch_name: '',
// },
// ]
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
}, },
} }
</script> </script>
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-23 18:36:01 * @LastEditTime: 2019-10-24 14:51:12
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
}, },
// val: project_id, status: confirm_status // val: project_id, status: confirm_status
goDetails (val, status, id) { // 银行卡录入页面keep alive为true,根据project_id和add_status重置页面 goDetails (val, status, id) { // 银行卡录入页面keep alive为true,根据project_id和add_status重置页面
window.sessionStorage.setItem('add_status', false) // window.sessionStorage.setItem('add_status', false)
this.$router.push({ this.$router.push({
name: 'ContractDetail', name: 'ContractDetail',
params: { params: {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 10:32:12 * @LastEditTime: 2019-10-24 14:52:02
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -99,7 +99,6 @@ export default { ...@@ -99,7 +99,6 @@ export default {
watch: {}, watch: {},
activated () { activated () {
this.name = this.$route.params.name this.name = this.$route.params.name
this.bankCardQuery()
// || !this.$route.params.entry_info_flag // || !this.$route.params.entry_info_flag
if (this.project_id !== this.$route.params.project_id) { if (this.project_id !== this.$route.params.project_id) {
this.project_id = this.$route.params.project_id this.project_id = this.$route.params.project_id
...@@ -113,6 +112,7 @@ export default { ...@@ -113,6 +112,7 @@ export default {
}, },
] ]
} }
this.bankCardQuery()
}, },
methods: { methods: {
// ocr识别入口 // ocr识别入口
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
console.log('银行信息录入', res) console.log('银行信息录入', res)
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('保存成功') vm.hlsPopup.showSuccess('保存成功')
window.sessionStorage.setItem('add_status', true) // window.sessionStorage.setItem('add_status', true)
vm.$routeGo() vm.$routeGo()
// vm.$router.push({ // vm.$router.push({
// name: 'ContractDetail', // name: 'ContractDetail',
...@@ -234,8 +234,22 @@ export default { ...@@ -234,8 +234,22 @@ export default {
} }
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
console.log('bankcardinfo。。。。。。。。。。。。', res) console.log('bankcardinfo。。。。。。。。。。。。', res)
if (!(JSON.stringify(res.info) === '{}')) { if (res.result === 'S') {
vm.bank_lists[0] = res.info if (!(JSON.stringify(res.info) === '{}')) {
vm.bank_lists = [res.info]
// console.log(vm.bank_lists[0])
} else {
this.bank_lists = [
{
bank_full_name: '', // 银行名称
bank_account_num: '', // 卡号
bank_account_name: '',
bank_branch_name: '',
},
]
}
} else {
hlsPopup.showLongCenter(res.message)
} }
}) })
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 合同详情 * @Description: 合同详情
* @Author: your name * @Author: your name
* @Date: 2019-09-25 15:38:21 * @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-10-24 09:10:29 * @LastEditTime: 2019-10-24 15:53:19
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
</div> </div>
<div class="center"> <div class="center">
<p>业务经办:{{ baseInfo.bp_user_id_n }}</p> <p>业务经办:{{ baseInfo.bp_user_id_n }}</p>
<p>联系电话:{{ baseInfo.cell_phone }}</p> <p>联系电话:{{ baseInfo.agent_phone }}</p>
</div> </div>
<div class="right1" @click="callUp(baseInfo.phone)"> <div class="right1" @click="callUp(baseInfo.agent_phone)">
<img src="@/assets/distributorSign/calls.png" alt=""> <img src="@/assets/distributorSign/calls.png" alt="">
</div> </div>
</div> </div>
...@@ -158,9 +158,9 @@ ...@@ -158,9 +158,9 @@
</div> </div>
<div class="center"> <div class="center">
<p>业务经办:{{ baseInfo.bp_user_id_n }}</p> <p>业务经办:{{ baseInfo.bp_user_id_n }}</p>
<p>联系电话:{{ baseInfo.phone }}</p> <p>联系电话:{{ baseInfo.agent_phone }}</p>
</div> </div>
<div class="right1" @click="callUp(baseInfo.phone)"> <div class="right1" @click="callUp(baseInfo.agent_phone)">
<img src="@/assets/distributorSign/calls.png" alt=""> <img src="@/assets/distributorSign/calls.png" alt="">
</div> </div>
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-25 10:20:35 * @Date: 2019-09-25 10:20:35
* @LastEditTime: 2019-10-09 21:49:42 * @LastEditTime: 2019-10-24 16:04:40
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -191,9 +191,9 @@ ...@@ -191,9 +191,9 @@
</div> </div>
<div class="center"> <div class="center">
<p>业务经办:{{ bp_user_id_n }}</p> <p>业务经办:{{ bp_user_id_n }}</p>
<p>联系电话:{{ cell_phone }}</p> <p>联系电话:{{ personInfo.agent_phone }}</p>
</div> </div>
<div class="right1" @click="callUp(cell_phone)"> <div class="right1" @click="callUp(personInfo.agent_phone)">
<img src="@/assets/distributorSign/calls.png" alt=""> <img src="@/assets/distributorSign/calls.png" alt="">
</div> </div>
</div> </div>
...@@ -318,9 +318,9 @@ ...@@ -318,9 +318,9 @@
</div> </div>
<div class="center"> <div class="center">
<p>业务经办:{{ bp_user_id_n }}</p> <p>业务经办:{{ bp_user_id_n }}</p>
<p>联系电话:{{ cell_phone }}</p> <p>联系电话:{{ companyInfo.agent_phone }}</p>
</div> </div>
<div class="right1" @click="callUp(cell_phone)"> <div class="right1" @click="callUp(companyInfo.agent_phone)">
<img src="@/assets/distributorSign/calls.png" alt=""> <img src="@/assets/distributorSign/calls.png" alt="">
</div> </div>
</div> </div>
...@@ -416,6 +416,7 @@ export default { ...@@ -416,6 +416,7 @@ export default {
cell_phone: '', cell_phone: '',
marital_status: '', marital_status: '',
bp_name: '', bp_name: '',
agent_phone: '',
address_on_resident_booklit: '', address_on_resident_booklit: '',
working_place_sp: '', working_place_sp: '',
academic_background: '', academic_background: '',
...@@ -428,6 +429,7 @@ export default { ...@@ -428,6 +429,7 @@ export default {
registered_capital: '', registered_capital: '',
auth_person_name: '', auth_person_name: '',
auth_flag: '', auth_flag: '',
agent_phone: '',
bp_name: '', bp_name: '',
registered_place: '', registered_place: '',
phone: '', phone: '',
......
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