Commit a4da7e50 authored by linxin's avatar linxin

add

parent d7aa4307
...@@ -1314,22 +1314,22 @@ export default { ...@@ -1314,22 +1314,22 @@ export default {
type === 'front' type === 'front'
? ((vm.idCardFront = hlsUtil.convertImageUrl(imgUrl[0])), ? ((vm.idCardFront = hlsUtil.convertImageUrl(imgUrl[0])),
vm.idCardIdentify(imgUrl[0], 'idCard'), vm.idCardIdentify(imgUrl[0], 'idCard'),
(vm.idCardFrontUpload = imgdata), (vm.idCardFrontUpload = imgdata[0]),
(vm.idCardFrontEditFlag = true)) (vm.idCardFrontEditFlag = true))
: ((vm.idCardBack = hlsUtil.convertImageUrl(imgUrl[0])), : ((vm.idCardBack = hlsUtil.convertImageUrl(imgUrl[0])),
vm.idCardBackIdentify(imgUrl[0], 'idCard'), vm.idCardBackIdentify(imgUrl[0], 'idCard'),
(vm.idCardBackUpload = imgdata), (vm.idCardBackUpload = imgdata[0]),
(vm.idCardBackEditFlag = true)) (vm.idCardBackEditFlag = true))
} else if (ocrType === 'idCardSp') { } else if (ocrType === 'idCardSp') {
// 配偶身份证识别 // 配偶身份证识别
type === 'front' type === 'front'
? ((vm.idCardFrontSp = hlsUtil.convertImageUrl(imgUrl[0])), ? ((vm.idCardFrontSp = hlsUtil.convertImageUrl(imgUrl[0])),
vm.idCardIdentify(imgUrl[0], 'idCardSp'), vm.idCardIdentify(imgUrl[0], 'idCardSp'),
(vm.idCardFrontSpUpload = imgdata), (vm.idCardFrontSpUpload = imgdata[0]),
(vm.idCardFrontSpEditFlag = true)) (vm.idCardFrontSpEditFlag = true))
: ((vm.idCardBackSp = hlsUtil.convertImageUrl(imgUrl[0])), : ((vm.idCardBackSp = hlsUtil.convertImageUrl(imgUrl[0])),
vm.idCardBackIdentify(imgUrl[0], 'idCardSp'), vm.idCardBackIdentify(imgUrl[0], 'idCardSp'),
(vm.idCardBackSptSpUpload = imgdata), (vm.idCardBackSptSpUpload = imgdata[0]),
(vm.idCardBackSpEditFlag = true)) (vm.idCardBackSpEditFlag = true))
} else if (ocrType === 'bankCard') { } else if (ocrType === 'bankCard') {
vm.bankImg = hlsUtil.convertImageUrl(imgUrl[0]) vm.bankImg = hlsUtil.convertImageUrl(imgUrl[0])
......
...@@ -602,6 +602,7 @@ export default { ...@@ -602,6 +602,7 @@ export default {
vm.getProvince() vm.getProvince()
vm.isAddNewType = false vm.isAddNewType = false
if (from.fullPath === '/tab/my-info') { /* || from.fullPath === '/margin-first-pay' */ if (from.fullPath === '/tab/my-info') { /* || from.fullPath === '/margin-first-pay' */
vm.bp_type_flag = false
vm.legal_personMsg = { vm.legal_personMsg = {
id_card_no: null, id_card_no: null,
bp_legal_name: '', bp_legal_name: '',
...@@ -798,7 +799,10 @@ export default { ...@@ -798,7 +799,10 @@ export default {
vm.multiRoleList = res.lists vm.multiRoleList = res.lists
vm.type = '请输入业务经办员工代码' vm.type = '请输入业务经办员工代码'
vm.typeName = '业务经办人' vm.typeName = '业务经办人'
vm.bp_type_flag = true if (res.lists.length > 0) {
vm.bp_type_flag = true
console.log(11111111111111)
}
if (res.lists.length === 0 || res.lists.length === 1) { if (res.lists.length === 0 || res.lists.length === 1) {
vm.hasMultiRole = false vm.hasMultiRole = false
} else if (res.lists.length === 2) { } else if (res.lists.length === 2) {
......
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