Commit 2405eddc authored by 李晓兵's avatar 李晓兵

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents 80ee1c9b 80c9bac2
Pipeline #4200 canceled with stages
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="info"> <div class="info">
<div class="info-icon"> <div class="info-icon">
<img src="@/assets/userBind/info.png" > <img src="@/assets/userBind/info.png" >
<span @click="goEnterprise">温馨提示</span> <span>温馨提示</span>
</div> </div>
<p>绑定成功后,您即可使用APP中合同查询、还款查询等功能。</p> <p>绑定成功后,您即可使用APP中合同查询、还款查询等功能。</p>
</div> </div>
...@@ -66,11 +66,6 @@ export default { ...@@ -66,11 +66,6 @@ export default {
}, },
}) })
}, },
goEnterprise () {
this.$router.push({
name: 'EnterpriseNew',
})
},
}, },
} }
</script> </script>
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
<span style="color:#1D3FFF">{{ list.description }}</span> <span style="color:#1D3FFF">{{ list.description }}</span>
<div class="img-content"> <div class="img-content">
<!--待上传图片列表--> <!--待上传图片列表-->
<div v-if="list.cdd_item==='ASSETS_CARD'"> <div
v-if="list.cdd_item==='ASSETS_CARD'||list.cdd_item==='MARITAL STATUS'||list.cdd_item==='FAMILY_REGISTER'"
>
<div <div
v-for="(item, index) in upload_list" v-for="(item, index) in upload_list"
v-if="item.check_id==list.check_id" v-if="item.check_id==list.check_id"
...@@ -37,21 +39,6 @@ ...@@ -37,21 +39,6 @@
<img src="@/assets/userBind/camera.png" class="upload-btn" > <img src="@/assets/userBind/camera.png" class="upload-btn" >
</div> </div>
</div> </div>
<div v-if="list.cdd_item==='CAR_CARD'">
<div v-if="!carImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img src="@/assets/userBind/camera.png" class="upload-btn" >
</div>
<div
v-if="carImg&&!isApproved"
class="card-upload plus"
@click="ocrShow(list.cdd_item, '')"
>
<img :src="carImg" style="width:100%;height:100%" >
</div>
<div v-if="carImg&&isApproved" class="card-upload plus" @click="showBigPicture(carImg)">
<img :src="carImg" style="width:100%;height:100%" >
</div>
</div>
<div v-if="list.cdd_item==='HOUSE_CARD'"> <div v-if="list.cdd_item==='HOUSE_CARD'">
<div v-if="!houseImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')"> <div v-if="!houseImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img src="@/assets/userBind/camera.png" class="upload-btn" > <img src="@/assets/userBind/camera.png" class="upload-btn" >
...@@ -70,80 +57,42 @@ ...@@ -70,80 +57,42 @@
> >
<img :src="houseImg" style="width:100%;height:100%" > <img :src="houseImg" style="width:100%;height:100%" >
</div> </div>
</div>
<div v-if="list.cdd_item==='HOUSE_CARD'">
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info">
<item> <item>
<div slot="name">房屋所有权人</div> <div slot="name">房屋所有权人</div>
<input <input slot="content" v-model="hauseInfo.house_owner" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.house_owner"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">共有情况</div> <div slot="name">共有情况</div>
<input <input slot="content" v-model="hauseInfo.public_situation" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.public_situation"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">房屋坐落</div> <div slot="name">房屋坐落</div>
<input <input slot="content" v-model="hauseInfo.house_located" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.house_located"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">登记时间</div> <div slot="name">登记时间</div>
<input <input slot="content" v-model="hauseInfo.regist_date" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.regist_date"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">房屋性质</div> <div slot="name">房屋性质</div>
<input <input slot="content" v-model="hauseInfo.house_property" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.house_property"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">规划用途</div> <div slot="name">规划用途</div>
<input <input slot="content" v-model="hauseInfo.plan_purpose" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.plan_purpose"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">总层数</div> <div slot="name">总层数</div>
<input <input slot="content" v-model="hauseInfo.house_layers" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.house_layers"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">建筑面积</div> <div slot="name">建筑面积</div>
<input <input slot="content" v-model="hauseInfo.built_area" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.built_area"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">套内建筑面积</div> <div slot="name">套内建筑面积</div>
<input <input slot="content" v-model="hauseInfo.built_in_area" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.built_in_area"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">其他</div> <div slot="name">其他</div>
...@@ -151,31 +100,34 @@ ...@@ -151,31 +100,34 @@
</item> </item>
<item> <item>
<div slot="name">地号</div> <div slot="name">地号</div>
<input <input slot="content" v-model="hauseInfo.land_number" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.land_number"
placeholder="识别房产证自动填充"
>
</item> </item>
<item :proportion="[1,1]"> <item :proportion="[1,1]">
<div slot="name">土地使用权取得方式</div> <div slot="name">土地使用权取得方式</div>
<input <input slot="content" v-model="hauseInfo.land_get_method" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.land_get_method"
placeholder="识别房产证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">土地使用年限</div> <div slot="name">土地使用年限</div>
<input <input slot="content" v-model="hauseInfo.land_use_limit" placeholder="识别房产证自动填充" >
slot="content"
v-model="hauseInfo.land_use_limit"
placeholder="识别房产证自动填充"
>
</item> </item>
</list-item> </list-item>
</div> </div>
<div v-if="list.cdd_item==='CAR_CARD'"> <div v-if="list.cdd_item==='CAR_CARD'">
<div v-if="list.cdd_item==='CAR_CARD'">
<div v-if="!carImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img src="@/assets/userBind/camera.png" class="upload-btn" >
</div>
<div
v-if="carImg&&!isApproved"
class="card-upload plus"
@click="ocrShow(list.cdd_item, '')"
>
<img :src="carImg" style="width:100%;height:100%" >
</div>
<div v-if="carImg&&isApproved" class="card-upload plus" @click="showBigPicture(carImg)">
<img :src="carImg" style="width:100%;height:100%" >
</div>
</div>
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info">
<item> <item>
<div slot="name">车辆识别代号</div> <div slot="name">车辆识别代号</div>
...@@ -191,11 +143,7 @@ ...@@ -191,11 +143,7 @@
</item> </item>
<item> <item>
<div slot="name">品牌型号</div> <div slot="name">品牌型号</div>
<input <input slot="content" v-model="carInfo.brand_model_number" placeholder="识别行驶证自动填充" >
slot="content"
v-model="carInfo.brand_model_number"
placeholder="识别行驶证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">发证日期</div> <div slot="name">发证日期</div>
...@@ -203,11 +151,7 @@ ...@@ -203,11 +151,7 @@
</item> </item>
<item> <item>
<div slot="name">车辆类型</div> <div slot="name">车辆类型</div>
<input <input slot="content" v-model="carInfo.vehicle_type" placeholder="识别行驶证自动填充" >
slot="content"
v-model="carInfo.vehicle_type"
placeholder="识别行驶证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">所有人</div> <div slot="name">所有人</div>
...@@ -219,30 +163,66 @@ ...@@ -219,30 +163,66 @@
</item> </item>
<item> <item>
<div slot="name">发动机号码</div> <div slot="name">发动机号码</div>
<input <input slot="content" v-model="carInfo.engine_number" placeholder="识别行驶证自动填充" >
slot="content"
v-model="carInfo.engine_number"
placeholder="识别行驶证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">号牌号码</div> <div slot="name">号牌号码</div>
<input <input slot="content" v-model="carInfo.plate_number" placeholder="识别行驶证自动填充" >
slot="content"
v-model="carInfo.plate_number"
placeholder="识别行驶证自动填充"
>
</item> </item>
<item> <item>
<div slot="name">注册日期</div> <div slot="name">注册日期</div>
<input slot="content" v-model="carInfo.regist_date" placeholder="识别行驶证自动填充" >
</item>
</list-item>
</div>
<!-- <div v-if="list.cdd_item==='REAL_EST_CERTIFICATE'"> -->
<!-- <list-item :item-height="44" class="card-Info">
<item>
<div slot="name">权利人</div>
<input <input
slot="content" slot="content"
v-model="carInfo.regist_date" v-model="propertyInfo.right_person"
placeholder="识别行驶证自动填充" placeholder="识别不动产权证自动填充"
> >
</item> </item>
<item>
<div slot="name">共有情况</div>
<input slot="content" v-model="propertyInfo.public_situation" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">坐落</div>
<input slot="content" v-model="propertyInfo.house_located" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">不动产单元号</div>
<input slot="content" v-model="propertyInfo.real_unit_number" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">权利类型</div>
<input slot="content" v-model="propertyInfo.right_type" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">权利性质</div>
<input slot="content" v-model="propertyInfo.right_property" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">用途</div>
<input slot="content" v-model="propertyInfo.house_purpose" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">面积</div>
<input slot="content" v-model="propertyInfo.house_area" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">使用期限 </div>
<input slot="content" v-model="propertyInfo.land_use_limit" placeholder="识别不动产权证自动填充" >
</item>
<item>
<div slot="name">权利其他状况</div>
<input slot="content" v-model="propertyInfo.right_others" placeholder="识别不动产权证自动填充" >
</item>
</list-item> </list-item>
</div> </div> -->
</div> </div>
</div> </div>
</h-content> </h-content>
...@@ -267,6 +247,19 @@ export default { ...@@ -267,6 +247,19 @@ export default {
isUploadCar: false, // 行驶证修改标识 isUploadCar: false, // 行驶证修改标识
houseAttachmentId: '', houseAttachmentId: '',
carAttachmentId: '', carAttachmentId: '',
propertyInfo: {
bp_id: window.localStorage.getItem('bp_id'),
right_person: '',
public_situation: '',
house_located: '',
real_unit_number: '',
right_type: '',
right_property: '',
house_purpose: '',
house_area: '',
land_use_limit: '',
right_others: '',
},
hauseInfo: { hauseInfo: {
bp_id: window.localStorage.getItem('bp_id'), bp_id: window.localStorage.getItem('bp_id'),
house_owner: '', house_owner: '',
...@@ -872,7 +865,7 @@ export default { ...@@ -872,7 +865,7 @@ export default {
img { img {
width: 14px; width: 14px;
height: 14px; height: 14px;
margin-left:5px; margin-left: 5px;
} }
} }
img { img {
......
...@@ -543,14 +543,13 @@ export default { ...@@ -543,14 +543,13 @@ export default {
}) })
}, },
async verified () { async verified () {
// this.dowload_list = [] // 保存之前将图片下载列表清空,防止出现重复的图片 this.dowload_list = [] // 保存之前将图片下载列表清空,防止出现重复的图片
// this.upload_list = [] // 保存之前将待上传列表清空,防止出现重复的图片 this.upload_list = [] // 保存之前将待上传列表清空,防止出现重复的图片
// let res = await this.saveWord() let res = await this.saveWord()
// if (res) { if (res) {
// // 查询资料清单 // 查询资料清单
// this.loadItemList() this.loadItemList()
// } }
this.saveWord()
}, },
loadItemList () { loadItemList () {
let vm = this let vm = this
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-19 09:31:19 * @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-12-13 10:53:10 * @LastEditTime: 2019-12-16 16:22:55
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -1411,7 +1411,7 @@ export default { ...@@ -1411,7 +1411,7 @@ export default {
if (vm.idCardFrontEditFlag) { // 法定代表人身份证正面图片已修改,重新上传 if (vm.idCardFrontEditFlag) { // 法定代表人身份证正面图片已修改,重新上传
vm.idCardFrontUrlFlag = true vm.idCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardFrontAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.idCardFrontAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.idCardFrontCheck_id, 'pkvalue': vm.idCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
...@@ -1429,7 +1429,7 @@ export default { ...@@ -1429,7 +1429,7 @@ export default {
if (vm.idCardBackEditFlag) { // 法定代表人身份证背面图片已修改,重新上传 if (vm.idCardBackEditFlag) { // 法定代表人身份证背面图片已修改,重新上传
vm.idCardBackUrlFlag = true vm.idCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.idCardBackAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.idCardBackAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.idCardBackCheck_id, 'pkvalue': vm.idCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
...@@ -1447,7 +1447,7 @@ export default { ...@@ -1447,7 +1447,7 @@ export default {
if (vm.authidCardFrontEditFlag) { // 授权人身份证正面图片已修改,重新上传 if (vm.authidCardFrontEditFlag) { // 授权人身份证正面图片已修改,重新上传
vm.authidCardFrontUrlFlag = true vm.authidCardFrontUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardFrontAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.authidCardFrontAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.authidCardFrontCheck_id, 'pkvalue': vm.authidCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
...@@ -1465,7 +1465,7 @@ export default { ...@@ -1465,7 +1465,7 @@ export default {
if (vm.authidCardBackEditFlag) { // 授权人身份证背面图片已修改,重新上传 if (vm.authidCardBackEditFlag) { // 授权人身份证背面图片已修改,重新上传
vm.authidCardBackUrlFlag = true vm.authidCardBackUrlFlag = true
vm.delete_pic_to_ocr(vm.authidCardBackAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.authidCardBackAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.authidCardBackCheck_id, 'pkvalue': vm.authidCardBackCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
...@@ -1483,7 +1483,7 @@ export default { ...@@ -1483,7 +1483,7 @@ export default {
if (vm.licenseEditFlag) { // 营业执照图片已修改,重新上传 if (vm.licenseEditFlag) { // 营业执照图片已修改,重新上传
vm.licenseImgUrlFlag = true vm.licenseImgUrlFlag = true
vm.delete_pic_to_ocr(vm.licenseAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.licenseAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.licenseCheck_id, 'pkvalue': vm.licenseCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
...@@ -1501,7 +1501,7 @@ export default { ...@@ -1501,7 +1501,7 @@ export default {
if (vm.LaEditFlag) { // 授权书图片已修改,重新上传 if (vm.LaEditFlag) { // 授权书图片已修改,重新上传
vm.laImgUrlFlag = true vm.laImgUrlFlag = true
vm.delete_pic_to_ocr(vm.laAttachmentId)// 先删除之前识别的图片 vm.delete_pic_to_ocr(vm.laAttachmentId)// 先删除之前识别的图片
var list = [] let list = []
let obj = { let obj = {
'pkvalue': vm.laCheck_id, 'pkvalue': vm.laCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 附件信息 * @Description: 附件信息
* @Author: your name * @Author: your name
* @Date: 2019-09-20 09:35:11 * @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-12-13 16:15:32 * @LastEditTime: 2019-12-16 16:32:08
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -135,6 +135,100 @@ ...@@ -135,6 +135,100 @@
</item> </item>
</list-item> </list-item>
</div> </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" >
</div>
<div v-if="propertyImg&&isApproved" class="card-upload">
<img :src="propertyImg" @click="showBigPicture(propertyImg)">
</div>
<div v-if="propertyImg&&!isApproved" class="card-upload">
<img :src="propertyImg" @click="ocrShow(list.cdd_item, '')">
</div>
</div> -->
<!-- <div v-if="list.cdd_item==='REAL_EST_CERTIFICATE'">
<list-item :item-height="44" class="card-Info">
<item>
<div slot="name">权利人</div>
<input
slot="content"
v-model="propertyInfo.right_person"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">共有情况</div>
<input
slot="content"
v-model="propertyInfo.public_situation"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">坐落</div>
<input
slot="content"
v-model="propertyInfo.house_located"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">不动产单元号</div>
<input
slot="content"
v-model="propertyInfo.real_unit_number"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">权利类型</div>
<input
slot="content"
v-model="propertyInfo.right_type"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">权利性质</div>
<input
slot="content"
v-model="propertyInfo.right_property"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">用途</div>
<input
slot="content"
v-model="propertyInfo.house_purpose"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">面积</div>
<input
slot="content"
v-model="propertyInfo.house_area"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">使用期限</div>
<input
slot="content"
v-model="propertyInfo.land_use_limit"
placeholder="识别不动产权证自动填充"
>
</item>
<item>
<div slot="name">权利其他状况</div>
<input slot="content" v-model="propertyInfo.right_others" placeholder="识别不动产权证自动填充" >
</item>
</list-item>
</div> -->
<!-- 车辆 --> <!-- 车辆 -->
<div v-if="list.cdd_item==='CAR_CARD'"> <div v-if="list.cdd_item==='CAR_CARD'">
<div v-if="!carImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')"> <div v-if="!carImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
...@@ -269,6 +363,7 @@ export default { ...@@ -269,6 +363,7 @@ export default {
houseFlag: false, // 房产证查看标识,为false则用查询出来的,为true则用拍照出来的 houseFlag: false, // 房产证查看标识,为false则用查询出来的,为true则用拍照出来的
carImg: '', carImg: '',
houseImg: '', houseImg: '',
propertyImg: '', // 不动产识别图片
from: false, from: false,
bp_id: '', bp_id: '',
flag: false, flag: false,
...@@ -311,6 +406,19 @@ export default { ...@@ -311,6 +406,19 @@ export default {
land_get_method: '', land_get_method: '',
land_use_limit: '', land_use_limit: '',
}, },
propertyInfo: {
bp_id: this.$route.params.bp_id,
right_person: '',
public_situation: '',
house_located: '',
real_unit_number: '',
right_type: '',
right_property: '',
house_purpose: '',
house_area: '',
land_use_limit: '',
right_others: '',
},
} }
}, },
watch: {}, watch: {},
...@@ -325,6 +433,7 @@ export default { ...@@ -325,6 +433,7 @@ export default {
vm.loadItemList() vm.loadItemList()
vm.houseQuery() vm.houseQuery()
vm.carQuery() vm.carQuery()
// vm.propertyQuery() // 不动产权证查询
} }
}) })
}, },
...@@ -357,6 +466,7 @@ export default { ...@@ -357,6 +466,7 @@ export default {
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
console.log('行驶证信息查询', res)
if (res.result === 'S') { if (res.result === 'S') {
Object.assign(vm.carInfo, res.info) Object.assign(vm.carInfo, res.info)
} else { } else {
...@@ -364,6 +474,24 @@ export default { ...@@ -364,6 +474,24 @@ export default {
} }
}) })
}, },
// 不动产权证查询
propertyQuery () {
let vm = this
let url = process.env.basePath + 'bp_real_estate_query'
let param = {
bp_id: vm.bp_id,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
console.log('不动产权证查询', res)
if (res.result === 'S') {
Object.assign(vm.propertyInfo, res.info)
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// 行驶证信息保存 // 行驶证信息保存
saveCarInfo () { saveCarInfo () {
let vm = this let vm = this
...@@ -386,12 +514,34 @@ export default { ...@@ -386,12 +514,34 @@ export default {
} }
}) })
}, },
// 不动产信息保存
savePropertyInfo () {
let vm = this
let url = process.env.basePath + 'bp_real_estate_save'
let param = {
master: vm.propertyInfo,
}
// hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
if (res.result === 'S') {
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// 房产证信息保存 // 房产证信息保存
saveHouseInfo () { saveHouseInfo () {
let vm = this let vm = this
let url = process.env.basePath + 'bp_house_info_save' let url = process.env.basePath + 'bp_house_info_save'
// vm.hauseInfo.regist_date.substr(0, 10)
console.log('regist_date', vm.hauseInfo.regist_date)
let param = { let param = {
master: vm.hauseInfo, master: {
...vm.hauseInfo,
regist_date: vm.hauseInfo.regist_date.substr(0, 10),
},
} }
// hlsPopup.showLoading('请稍候') // hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -584,7 +734,7 @@ export default { ...@@ -584,7 +734,7 @@ export default {
break break
} }
}) })
vm.cddItemList = res.lists.filter(item => { return item.cdd_item === 'HOUSE_CARD' || item.cdd_item === 'CAR_CARD' || item.cdd_item === 'ASSETS_CARD' }) vm.cddItemList = res.lists.filter(item => { return item.cdd_item === 'HOUSE_CARD' || item.cdd_item === 'CAR_CARD' || item.cdd_item === 'ASSETS_CARD' || item.cdd_item === 'REAL_EST_CERTIFICATE' })
// 查询图片 // 查询图片
vm.cddItemList.forEach((item, index) => { vm.cddItemList.forEach((item, index) => {
vm.load_picture(item.check_id, index, item.cdd_item) vm.load_picture(item.check_id, index, item.cdd_item)
...@@ -843,8 +993,6 @@ export default { ...@@ -843,8 +993,6 @@ export default {
padding-bottom: 8px; padding-bottom: 8px;
height: auto; height: auto;
background-color: #fff; background-color: #fff;
margin-bottom: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -66,11 +66,6 @@ export default { ...@@ -66,11 +66,6 @@ export default {
}, },
}) })
}, },
goEnterprise () {
this.$router.push({
name: 'EnterpriseNew',
})
},
}, },
} }
</script> </script>
......
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