Commit 6b8611d5 authored by linxin's avatar linxin

add

parents 7fd0d9d4 9db3e40c
......@@ -569,25 +569,12 @@ export default {
this.flag = true
}
},
'flag' (newVal, oldVal) {
if (window.localStorage.getItem('bp_id') && !this.flag) {
this.checkUpdate()
}
if (newVal) {
this.authMsg = {
auth_person_name: '',
auth_person_matter: '',
auth_person_id_card: '',
auth_cell_phone: '',
auth_person_position: '',
auth_id_card_date_from: '', // 授权人身份证有效期从
auth_id_card_date_to: '', // 授权人身份证有效期到
}
this.authidCardFront = ''
this.authidCardBack = ''
this.laImg = ''
}
},
// 'flag' (newVal, oldVal) {
// if (window.localStorage.getItem('bp_id') && !newVal) {
// debugger
// this.checkUpdate()
// }
// },
// 监听客户类型
'baseInfo.bp_type_n' () {
let vm = this
......@@ -1405,10 +1392,23 @@ export default {
// 授权切换
authorizeChange () {
this.flag = !this.flag
this.authMsg = {
auth_person_name: '',
auth_person_matter: '',
auth_person_id_card: '',
auth_cell_phone: '',
auth_person_position: '',
auth_id_card_date_from: '', // 授权人身份证有效期从
auth_id_card_date_to: '', // 授权人身份证有效期到
}
this.authidCardFront = ''
this.authidCardBack = ''
this.laImg = ''
if (this.flag) {
this.auth_flag = '未授权'
} else {
this.auth_flag = '已授权'
this.checkUpdate()
}
},
// 选择省份
......
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