Commit a4da7e50 authored by linxin's avatar linxin

add

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