Commit c2395584 authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents 2405eddc f7776573
<!--
* @Author: your name
* @Date: 2019-11-07 17:48:53
* @LastEditTime: 2019-12-11 15:25:51
* @LastEditTime: 2019-12-16 17:31:46
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -650,6 +650,7 @@ export default {
params: {
bp_id: this.bp_id,
user_bp_name: this.user_bp_name,
bp_class: vm.user_bp_class,
},
})
}
......@@ -675,6 +676,7 @@ export default {
isAGENT: this.isAGENT,
status: 'APPROVED',
isMultiRole: this.isMultiRole,
bp_class: vm.user_bp_class,
},
})
}
......
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-12-11 19:26:10
* @LastEditTime: 2019-12-16 17:53:17
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -180,8 +180,8 @@ export default {
this.showModalValue = true
},
sendList (a) {
this.$emit('getList', a)
this.sendFlag(false)
this.sendFlag()
this.bank_lists = a
},
changeBgImg (item) {
if (item.bank_full_name.indexOf('农业银行') !== -1) {
......
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-12-16 16:22:55
* @LastEditTime: 2019-12-16 17:42:13
* @LastEditors: Please set LastEditors
-->
<template>
......
......@@ -2,7 +2,7 @@
* @Description: 附件信息
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-12-16 16:32:08
* @LastEditTime: 2019-12-16 17:55:43
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -135,7 +135,7 @@
</item>
</list-item>
</div>
<!-- 不动产 -->
<!-- <div v-if="list.cdd_item==='REAL_EST_CERTIFICATE'">
<div v-if="!propertyImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img src="@/assets/userBind/camera.png" class="upload-btn" >
......@@ -250,50 +250,46 @@
<input
slot="content"
v-model="carInfo.vehicle_identify_num"
readonly
placeholder="识别行驶证自动填充"
>
</item>
<item>
<div slot="name">住址</div>
<input slot="content" v-model="carInfo.address" readonly placeholder="识别行驶证自动填充" >
<input slot="content" v-model="carInfo.address" placeholder="识别行驶证自动填充" >
</item>
<item>
<div slot="name">品牌型号</div>
<input
slot="content"
v-model="carInfo.brand_model_number"
readonly
placeholder="识别行驶证自动填充"
>
</item>
<item>
<div slot="name">发证日期"</div>
<input slot="content" v-model="carInfo.start_date" readonly placeholder="识别行驶证自动填充" >
<input slot="content" v-model="carInfo.start_date" placeholder="识别行驶证自动填充" >
</item>
<item>
<div slot="name">车辆类型</div>
<input
slot="content"
v-model="carInfo.vehicle_type"
readonly
placeholder="识别行驶证自动填充"
>
</item>
<item>
<div slot="name">所有人</div>
<input slot="content" v-model="carInfo.owner" readonly placeholder="识别行驶证自动填充" >
<input slot="content" v-model="carInfo.owner" placeholder="识别行驶证自动填充" >
</item>
<item>
<div slot="name">使用性质</div>
<input slot="content" v-model="carInfo.use_nature" readonly placeholder="识别行驶证自动填充" >
<input slot="content" v-model="carInfo.use_nature" placeholder="识别行驶证自动填充" >
</item>
<item>
<div slot="name">发动机号码</div>
<input
slot="content"
v-model="carInfo.engine_number"
readonly
placeholder="识别行驶证自动填充"
>
</item>
......@@ -302,7 +298,6 @@
<input
slot="content"
v-model="carInfo.plate_number"
readonly
placeholder="识别行驶证自动填充"
>
</item>
......@@ -311,7 +306,6 @@
<input
slot="content"
v-model="carInfo.regist_date"
readonly
placeholder="识别行驶证自动填充"
>
</item>
......@@ -370,6 +364,7 @@ export default {
isApproved: false,
isUploadCar: false,
isUploadHouse: false,
isProperty: false,
carAttachmentId: '', // 车辆证id
houseAttachmentId: '', // 房产证id
cddItemList: [], // 资料清单列表
......@@ -627,6 +622,10 @@ export default {
vm.isUploadCar = true
vm.carImg = imgdata
vm.carCardIdentify(imgdata)
} else if (ocrType === 'REAL_EST_CERTIFICATE') {
vm.isProperty = true
vm.propertyImg = imgdata
vm.propertyIdentify(imgdata)
}
}
}
......@@ -655,6 +654,10 @@ export default {
vm.carImg = imgUrl[0]
vm.isUploadCar = true
vm.carCardIdentify(imgUrl[0])
} else if (ocrType === 'REAL_EST_CERTIFICATE') {
vm.isProperty = true
vm.propertyImg = imgUrl[0]
vm.propertyIdentify(imgUrl[0])
}
}
}
......@@ -708,6 +711,26 @@ export default {
vm.carInfo.success = res.success
})
},
// 不动产证识别
propertyIdentify (fileUrl) {
let vm = this
hlsPopup.showLoading('正在识别')
let url = process.env.ocrPath + '/baidu/ocr/houseRight'
hlsUtil.baiduOcr(fileUrl, url, function (res) {
hlsPopup.hideLoading()
let result = res.result.data
vm.propertyInfo.right_person = result.right_person.word
vm.propertyInfo.public_situation = result.public_situation.word
vm.propertyInfo.house_located = result.house_located.word
vm.propertyInfo.real_unit_number = result.real_unit_number.word
vm.propertyInfo.right_type = result.right_type.word
vm.propertyInfo.right_property = result.right_property.word
vm.propertyInfo.house_purpose = result.house_purpose.word
vm.propertyInfo.house_area = result.house_area.word
vm.propertyInfo.land_use_limit = result.land_use_limit.word
vm.propertyInfo.right_others = result.right_others.word
})
},
loadItemList () {
let vm = this
let url = process.env.basePath + 'prj_cdd_check_list'
......
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-12-13 11:12:08
* @LastEditTime: 2019-12-16 17:42:00
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -215,31 +215,34 @@ export default {
})
},
verified () {
console.log('bpid', this.$route.params.bp_id)
this.$router.push({
name: 'Enclosure',
params: {
bp_id: this.bp_id,
},
})
// let vm = this
// let url = process.env.basePath + 'bp_invoice_save'
// let param = {
// bp_id: '',
// bp_class: '',
// ...vm.invoiceInfo,
// }
// delete param.taxpayer_type_n
// delete param.invoice_kind_n
// vm.hlsPopup.showLoading('请稍候')
// vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// if (res.result === 'S') {
// vm.$router.push({
// name: 'Enclosure',
// })
// }
// console.log('bpid', this.$route.params.bp_id)
// this.$router.push({
// name: 'Enclosure',
// params: {
// bp_id: this.bp_id,
// },
// })
let vm = this
let url = process.env.basePath + 'bp_invoice_save'
let param = {
bp_id: vm.bp_id,
bp_class: 'ORG',
...vm.invoiceInfo,
}
delete param.taxpayer_type_n
delete param.invoice_kind_n
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.$router.push({
name: 'Enclosure',
params: {
bp_id: vm.bp_id,
},
})
}
})
},
},
}
......
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