Commit ee450c5d authored by 李晓兵's avatar 李晓兵

'bug修复'

parent 6c5f1333
......@@ -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)
......
......@@ -396,8 +396,9 @@ export default {
background: #00469c;
border-radius: 4px;
color: #fff;
margin-bottom: 60px;
margin-bottom: 68px;
margin-left:2%;
margin-top: 20px;
}
}
.content {
......
......@@ -257,7 +257,7 @@
<input
slot="content"
v-model="bank.bank_account_num"
readonly
placeholder="识别银行卡自动填充"
>
</item>
......@@ -267,7 +267,7 @@
</item>
<item>
<div slot="name">银行名称</div>
<input slot="content" v-model="bank.bank_full_name" readonly placeholder="识别银行卡自动填充" >
<input slot="content" v-model="bank.bank_full_name" placeholder="识别银行卡自动填充" >
</item>
<item>
<div slot="name">支行名称</div>
......@@ -410,9 +410,9 @@ export default {
beforeRouteEnter (to, from, next) {
if (from.fullPath === '/tab/my-info') { // 绑定查询入口
next(vm => {
vm.from = true
vm.basicInfoQuery()
vm.loadItemList()// 附件查询
vm.from = true
})
}
next()
......@@ -457,6 +457,7 @@ export default {
})
},
async verified () {
this.dowload_list = [] // 保存之前将图片下载列表清空,防止出现重复的图片
let bpId = await this.saveWord()
this.getBankInfo()
// 查询资料清单
......@@ -464,7 +465,7 @@ export default {
},
loadItemList () {
let vm = this
let bpId = window.localStorage.getItem('user_id')
let bpId = vm.from ? vm.$route.params.bp_id : window.localStorage.getItem('user_id')
let url = process.env.basePath + 'prj_cdd_check_list'
let param = {
master: {
......@@ -711,12 +712,17 @@ export default {
height: 1382,
}
let success = function (imgdata) {
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgdata) : (vm.idCardBack = imgdata)
vm.idCardIdentify(imgdata)
} else if (ocrType === 'bankCard') {
vm.bankImg = imgdata
vm.bankCardIdentify(imgdata)
if(!imgdata){
hlsPopup.showLongCenter('请拍照')
}
else{
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgdata, vm.idCardIdentify(imgdata)) : (vm.idCardBack = imgdata)
vm.idCardIdentify(imgdata)
} else if (ocrType === 'bankCard') {
vm.bankImg = imgdata
vm.bankCardIdentify(imgdata)
}
}
}
let error = function () {
......@@ -733,11 +739,16 @@ export default {
maxCount: 1,
}
let success = function (imgUrl) {
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0])) : (vm.idCardBack = imgUrl[0])
} else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0])
if(!imgUrl){
hlsPopup.showLongCenter('请选择一张图片')
}
else{
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0])) : (vm.idCardBack = imgUrl[0])
} else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0])
}
}
}
let error = function () {
......
......@@ -690,6 +690,7 @@ export default {
},
verified () {
this.dowload_list = [] // 保存之前将图片下载列表清空,防止出现重复的图片
if (this.flag) {
// this.flag = false
for (let i in this.authMsg) {
......@@ -1139,14 +1140,19 @@ export default {
height: 1382,
}
let success = function (imgdata) {
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgdata, vm.idCardIdentify(imgdata)) : (vm.idCardBack = imgdata)
} else if (ocrType === 'bankCard') {
vm.bankImg = imgdata
vm.bankCardIdentify(imgdata)
} else if (ocrType === 'license') {
vm.licenseImg = imgdata
vm.licenseIdentify(imgdata)
if(!imgdata){
hlsPopup.showLongCenter('请拍照')
}
else{
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgdata, vm.idCardIdentify(imgdata)) : (vm.idCardBack = imgdata)
} else if (ocrType === 'bankCard') {
vm.bankImg = imgdata
vm.bankCardIdentify(imgdata)
} else if (ocrType === 'license') {
vm.licenseImg = imgdata
vm.licenseIdentify(imgdata)
}
}
}
let error = function () {
......@@ -1163,17 +1169,20 @@ export default {
maxCount: 1,
}
let success = function (imgUrl) {
if (ocrType === 'idCard') {
type === 'front'
? (vm.idCardFront = imgUrl[0])
: (vm.idCardBack = imgUrl[0])
vm.idCardIdentify(imgUrl[0])
} else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0])
} else if (ocrType === 'license') {
vm.licenseImg = imgUrl[0]
vm.licenseIdentify(imgUrl[0])
if(!imgUrl){
hlsPopup.showLongCenter('请选择一张图片')
}
else{
if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0])) : (vm.idCardBack = imgUrl[0])
vm.idCardIdentify(imgUrl[0])
} else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0])
} else if (ocrType === 'license') {
vm.licenseImg = imgUrl[0]
vm.licenseIdentify(imgUrl[0])
}
}
}
let error = function () {
......
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