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

'法人身份证上传'

parent 8d64d7ae
...@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService' ...@@ -58,8 +58,8 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService' import Jmessage from './scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') { //if (process.env.CONFIG_ENV === 'uat') {
const VConsole = require('vconsole') // const VConsole = require('vconsole')
new VConsole() // eslint-disable-line // new VConsole() // eslint-disable-line
//} //}
Vue.use(componentInstall) Vue.use(componentInstall)
......
...@@ -503,11 +503,11 @@ export default { ...@@ -503,11 +503,11 @@ export default {
}, },
loadItemList () { loadItemList () {
let vm = this let vm = this
// let bpId = vm.from ? vm.$route.params.bp_id : 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 url = process.env.basePath + 'prj_cdd_check_list'
let param = { let param = {
master: { master: {
'document_id': 7730, 'document_id': bpId,
'document_table': 'HLS_BP_MASTER', 'document_table': 'HLS_BP_MASTER',
'tab_group': 'HLS_NP', 'tab_group': 'HLS_NP',
}, },
......
...@@ -937,7 +937,7 @@ export default { ...@@ -937,7 +937,7 @@ export default {
} }
}) })
}*/ }*/
// this.loadItemList() this.loadItemList()
}, },
hideModal () { hideModal () {
this.showModalValue = false this.showModalValue = false
...@@ -1252,7 +1252,7 @@ export default { ...@@ -1252,7 +1252,7 @@ export default {
hlsUtil.baiduOcr(fileUrl, url, function (res) { hlsUtil.baiduOcr(fileUrl, url, function (res) {
hlsPopup.hideLoading() hlsPopup.hideLoading()
let result = res.result.result let result = res.result.result
vm.bank_lists.bank_account_num = result.bank_card_number vm.bank_lists.bank_account_num = result.bank_card_number.replace(/\s*/g, '')
vm.bank_lists.bank_full_name = result.bank_name vm.bank_lists.bank_full_name = result.bank_name
vm.bank_lists.bank_card_type = result.bank_card_type vm.bank_lists.bank_card_type = result.bank_card_type
}) })
...@@ -1292,7 +1292,7 @@ export default { ...@@ -1292,7 +1292,7 @@ export default {
vm.idCardFront = res.lists[1].url vm.idCardFront = res.lists[1].url
break break
case 'ORG_CODE': case 'ORG_CODE':
vm.licenseImg = res.lists[0] vm.licenseImg = res.lists[0].url
break break
default: default:
vm.dowload_list.push(res.lists) vm.dowload_list.push(res.lists)
...@@ -1304,11 +1304,11 @@ export default { ...@@ -1304,11 +1304,11 @@ export default {
}, },
loadItemList () { loadItemList () {
let vm = this let vm = this
// let bpId = vm.from ? vm.$route.params.bp_id : vm.bp_id let bpId = vm.from ? vm.$route.params.bp_id : vm.bp_id
let url = process.env.basePath + 'prj_cdd_check_list' let url = process.env.basePath + 'prj_cdd_check_list'
let param = { let param = {
master: { master: {
'document_id': 8142, 'document_id': bpId,
'document_table': 'HLS_BP_MASTER', 'document_table': 'HLS_BP_MASTER',
'tab_group': vm.flag ? 'HLS_ORG_NAUTH' : 'HLS_ORG_AUTH', 'tab_group': vm.flag ? 'HLS_ORG_NAUTH' : 'HLS_ORG_AUTH',
}, },
......
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