Commit 17102c61 authored by 李晓兵's avatar 李晓兵

'身份证上传'

parent ffbb28a5
......@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') {
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
//}
Vue.use(componentInstall)
......
......@@ -438,9 +438,9 @@ export default {
}
})
},
load_picture (check_id) {
load_picture (check_id, index) {
let vm = this
let url = process.env.basePath + 'attachment_list_query'
let url = process.env.basePath + 'attachment_list_query' + '&index' + index // 附件查询
let param = {
check_id: check_id,
}
......@@ -646,7 +646,7 @@ export default {
},
// 图片保存
save_picture (list) {
alert('上传列表 '+JSON.stringify(list))
alert('上传列表 ' + JSON.stringify(list))
let vm = this
if (list.length) {
// hlsPopup.showLoading('图片上传请稍候')
......@@ -771,7 +771,7 @@ export default {
} else {
if (ocrType === 'idCard') {
vm.idCardEditFlag = true // 身份证图片状态已修改
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0]), vm.idCardImgList.push(imgdata)) : (vm.idCardBack = imgUrl[0], vm.idCardImgList.push(imgdata))
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0]), vm.idCardImgList.push(imgUrl[0])) : (vm.idCardBack = imgUrl[0], vm.idCardImgList.push(imgUrl[0]))
} else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0])
......
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