Commit 355e35c1 authored by 李晓兵's avatar 李晓兵

'附件'

parent ad145ebd
......@@ -556,21 +556,19 @@ export default {
},
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp
.post(url, param)
.then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.showLongCenter('解绑成功')
vm.userQuery()
vm.approveBtn = false
this.$router.push({
name: 'UserBind',
})
} else {
vm.hlsPopup.showLongCenter(res.message)
}
})
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.showLongCenter('解绑成功')
vm.userQuery()
vm.approveBtn = false
this.$router.push({
name: 'UserBind',
})
} else {
vm.hlsPopup.showLongCenter(res.message)
}
})
.catch(() => {
vm.hlsPopup.showLongCenter('传入参数异常')
})
......
......@@ -43,18 +43,10 @@
<div v-if="!houseImg" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img src="@/assets/userBind/camera.png" class="upload-btn" >
</div>
<div
v-if="houseImg&&!isApproved"
class="card-upload plus"
@click="ocrShow(list.cdd_item, '')"
>
<div v-if="houseImg&&!isApproved" class="card-upload plus" @click="ocrShow(list.cdd_item, '')">
<img :src="houseImg" style="width:100%;height:100%" >
</div>
<div
v-if="houseImg&&isApproved"
class="card-upload plus"
@click="showBigPicture(houseImg)"
>
<div v-if="houseImg&&isApproved" class="card-upload plus" @click="showBigPicture(houseImg)">
<img :src="houseImg" style="width:100%;height:100%" >
</div>
<list-item :item-height="44" class="card-Info">
......@@ -349,6 +341,12 @@ export default {
vm.houseImg = ''
vm.carImg = ''
vm.estateImg = ''
vm.houseFlag = false, // 房产证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.carFlag = false, // 行驶证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.estateFlag = false, // 不动产权证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.isUploadHouse = false, // 房产证修改标识
vm.isUploadCar = false, // 行驶证修改标识
vm.isUploadEstate = false, // 不动产权证修改标识
vm.bp_type = window.localStorage.bp_type
setTimeout(() => {
vm.loadItemList()
......@@ -451,9 +449,9 @@ export default {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
/*vm.$router.push({
/* vm.$router.push({
name: 'NPBankInfo',
})*/
}) */
vm.attachmentCheck()
} else {
hlsPopup.showLongCenter(res.message)
......@@ -461,7 +459,7 @@ export default {
})
}
},
attachmentCheck(){
attachmentCheck () {
let vm = this
let url = process.env.basePath + 'bp_attachment_check'
let param = {
......
......@@ -414,6 +414,12 @@ export default {
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'Invoice') {
vm.carFlag = false, // 行驶证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.houseFlag = false, // 房产证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.propertyFlag = false, // 不动产证查看标识,为false则用查询出来的,为true则用拍照出来的
vm.isUploadCar = false,
vm.isUploadHouse = false,
vm.isUploadProperty = false,
vm.carImg = '',
vm.houseImg = '',
vm.propertyImg = '', // 不动产识别图片
......@@ -606,12 +612,12 @@ export default {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
/* vm.$router.push({
/* vm.$router.push({
name: 'BankInfo',
params: {
bp_id: vm.bp_id,
},
})*/
}) */
vm.attachmentCheck()
} else {
hlsPopup.showLongCenter(res.message)
......
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