Commit 1af4f69a authored by 李晓兵's avatar 李晓兵

'测试附件'

parent e5538b5f
...@@ -340,6 +340,9 @@ export default { ...@@ -340,6 +340,9 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token
return cardUrl return cardUrl
} else if (res.result === 'S' && !res.info.attachment_id) {
hlsPopup.showLongCenter('未找到身份证照片')
return null
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
return null return null
...@@ -369,6 +372,8 @@ export default { ...@@ -369,6 +372,8 @@ export default {
} }
}, },
}) })
} else {
hlsPopup.showLongCenter('比对失败')
} }
}) })
}, },
......
...@@ -739,6 +739,10 @@ export default { ...@@ -739,6 +739,10 @@ export default {
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('保存成功') vm.hlsPopup.showSuccess('保存成功')
vm.isSave = true vm.isSave = true
vm.idCardFrontEditFlag = false // 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.idCardBackEditFlag = false // 身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.idCardFrontSpEditFlag = false // 配偶身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.idCardBackSpEditFlag = false // 配偶身份证反面修改标识,为true则标识已修改,后续需要重新上传此照片
window.localStorage.setItem('user_id', res.bp_id) window.localStorage.setItem('user_id', res.bp_id)
window.sessionStorage.setItem('user_id', res.bp_id) window.sessionStorage.setItem('user_id', res.bp_id)
window.sessionStorage.setItem('bp_name', vm.baseInfo.bp_name) window.sessionStorage.setItem('bp_name', vm.baseInfo.bp_name)
......
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
<div v-if="authidCardFront" @click="ocrShow('authidCard', 'front')"> <div v-if="authidCardFront" @click="ocrShow('authidCard', 'front')">
<img :src="authidCardFront" style="width: 100%;height: 100%;margin: 0" > <img :src="authidCardFront" style="width: 100%;height: 100%;margin: 0" >
</div> </div>
<!-- <div v-if="authidCardFront && !isApproved" @click="ocrShow('authidCard', 'front')"> <!-- <div v-if="authidCardFront && !isApproved" @click="ocrShow('authidCard', 'front')">
<img :src="authidCardFront" style="width: 100%;height: 100%;margin: 0" > <img :src="authidCardFront" style="width: 100%;height: 100%;margin: 0" >
</div> </div>
<div v-if="isApproved && authidCardFront"> <div v-if="isApproved && authidCardFront">
...@@ -1077,8 +1077,12 @@ export default { ...@@ -1077,8 +1077,12 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('保存成功') vm.hlsPopup.showSuccess('保存成功')
// window.localStorage.setItem('user_id', res.bp_id) vm.idCardFrontEditFlag = false // 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
// window.sessionStorage.setItem('user_id', res.bp_id) vm.idCardBackEditFlag = false // 身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.authidCardFrontEditFlag = false // 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.authidCardBackEditFlag = false // 授权人身份证正面修改标识,为true则标识已修改,后续需要重新上传此照片
vm.licenseEditFlag = false // 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
vm.LaEditFlag = false // 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
vm.bp_id = res.bp_id vm.bp_id = res.bp_id
vm.getBankInfo() vm.getBankInfo()
// 查询资料清单 // 查询资料清单
......
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
} }
options.mimeType = 'multipart/form-date' options.mimeType = 'multipart/form-date'
let ft = new FileTransfer() // eslint-disable-line let ft = new FileTransfer() // eslint-disable-line
alert('options.fileName '+options.fileName)
function uploadSuccess (result) { function uploadSuccess (result) {
success(JSON.parse(result.response)) success(JSON.parse(result.response))
} }
......
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