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

'附件'

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