Commit 0c987360 authored by 786817560's avatar 786817560

'test:修改测试问题'

parent 8e19f407
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-14 16:32:55
* @LastEditTime: 2019-11-15 10:42:26
* @LastEditors: Please set LastEditors
* @Description: 合同查询--记录
* @FilePath:
......@@ -213,6 +213,7 @@ export default {
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'HomePage') {
vm.selected = 'all'
vm.recordQuery()
}
})
......
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-13 20:09:28
* @LastEditTime: 2019-11-15 09:40:02
* @LastEditors: Please set LastEditors
* @Description: 还款
* @FilePath:
......@@ -18,7 +18,7 @@
<div class="total">
<div class="sum">
<div>融资</div>
<div>租金总</div>
<p>{{ info.total_rental_sum | currency }}</p>
<img src="@/assets/contractInquire/num.png" alt="">
<h3><span>{{ info.lease_times }}</span></h3>
......
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-13 17:20:21
* @LastEditTime: 2019-11-15 15:26:54
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -114,7 +114,7 @@
<div slot="name" class="aguremrnt-list">
<img src="@/assets/constractSigning/pack.png" alt="" class="pics">
<p class="second">农行代扣授权书</p>
<img src="@/assets/constractSigning/read.png" alt="" class="read">
<img :src="bankPic" alt="" class="read">
</div>
<div slot="content" class="in-all">
<div @click="entryInfo"><img src="@/assets/constractSigning/scan.png" alt=""></div>
......@@ -126,7 +126,7 @@
<div slot="name" class="aguremrnt-list">
<img src="@/assets/constractSigning/pack.png" alt="" class="pics">
<p class="second">租赁主合同</p>
<img src="@/assets/constractSigning/unread.png" alt="" class="read">
<img :src="leasePic" alt="" class="read">
</div>
<div slot="content" class="in-detail" @click="goContractContent('租赁主合同')"><img src="@/assets/constractSigning/detail.png" alt=""></div>
</item>
......@@ -134,7 +134,7 @@
<div slot="name" class="aguremrnt-list">
<img src="@/assets/constractSigning/pack.png" alt="" class="pics">
<p class="second">经销商担保协议</p>
<img src="@/assets/constractSigning/unread.png" alt="" class="read">
<img :src="agentPic" alt="" class="read">
</div>
<div slot="content" class="in-detail" @click="goContractContent('经销商担保协议')"><img src="@/assets/constractSigning/detail.png" alt=""></div>
</item>
......@@ -315,6 +315,12 @@ export default {
entry_info_flag: false,
faceListUpload: [], // 自拍照上传
auth_credit_flag: 'N', // 征信授权书确认状态
readed: require('@/assets/constractSigning/read.png'), // 已读
unRead: require('@/assets/constractSigning/unread.png'), // 未读
leasePic: '', // 租赁合同图片
agentPic: '', // 经销商担保协议图片
bankPic: '', // 农行代扣授权书图片
legalPic: '', // 法人授权书图片
}
},
computed: {},
......@@ -342,12 +348,16 @@ export default {
vm.bank_flag = false
vm.isConfirm = false
vm.ischecked = false
vm.confirm_note = '' // 审批意见
vm.num = 0 // 进入详情显示基本信息
vm.bp_name = vm.$route.params.item.bp_name
vm.user_bp_type = vm.$route.params.user_bp_type
vm.auth_credit_flag = vm.$route.params.item.auth_credit_flag // 征信授权书确认状态
vm.project_id = vm.$route.params.item.project_id
vm.confirm_id = vm.$route.params.item.confirm_id
vm.con_confirm_status = vm.$route.params.item.confirm_status
vm.agentPic = vm.unRead
vm.leasePic = vm.unRead
if (vm.$route.params.item.bp_class === 'NP') {
vm.bp_flag = false
} else {
......@@ -442,7 +452,7 @@ export default {
if (res.result === 'S') {
let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token
return cardUrl
} else if(res.result === 'S' && !res.info.attachment_id){
} else if (res.result === 'S' && !res.info.attachment_id) {
hlsPopup.showLongCenter('未找到身份证照片')
return null
} else {
......@@ -474,7 +484,7 @@ export default {
}
},
})
} else{
} else {
hlsPopup.showLongCenter('比对失败')
}
})
......@@ -652,6 +662,11 @@ export default {
name,
},
})
if (name === '经销商担保协议') {
setTimeout(() => { this.agentPic = this.readed }, 1000)
} else if (name === '租赁主合同') {
setTimeout(() => { this.leasePic = this.readed }, 1000)
}
},
// 跳转银行信息录入
entryInfo () {
......@@ -708,8 +723,10 @@ export default {
if (res.result === 'S') {
if (res.info.bank_full_name === ' ') {
vm.bank_flag = false
vm.bankPic = vm.unRead
} else {
vm.bank_flag = true
vm.bankPic = vm.readed
}
} else {
hlsPopup.showLongCenter(res.message)
......
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-13 20:07:38
* @LastEditTime: 2019-11-15 09:14:47
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -17,7 +17,7 @@
<div class="total">
<div class="sum">
<div>融资</div>
<div>租金总</div>
<p>{{ info.total_rental_sum|currency }}</p>
<img src="@/assets/contractInquire/num.png" alt="">
<h3><span>{{ info.lease_times }}</span></h3>
......
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-11 14:52:00
* @LastEditTime: 2019-11-15 09:09:02
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -108,6 +108,7 @@ export default {
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'MyInfo') {
vm.num = 1
vm.user_bp_type = vm.$route.params.user_bp_type
}
vm.contractList()
......
......@@ -2,7 +2,7 @@
* @Description: 合同详情
* @Author: your name
* @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-11-14 18:01:59
* @LastEditTime: 2019-11-15 15:41:08
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -185,7 +185,7 @@
<div slot="name" class="aguremrnt-list">
<img src="@/assets/distributorSign/gray.png" alt="" class="pics">
<p class="second">经销商担保协议</p>
<img src="@/assets/distributorSign/read.png" alt="" class="read">
<img :src="agentPic" alt="" class="read">
</div>
<div slot="content" class="in-detail" @click="goContractContent('经销商担保协议')"><img src="@/assets/constractSigning/detail.png" alt=""></div>
</item>
......@@ -224,6 +224,9 @@ export default {
faceListUpload: [], // 自拍照上传
confirm_note: '',
confirm_id: window.sessionStorage.getItem('confirm_id'),
agentPic: '', // 经销商担保协议图片
readed: require('@/assets/constractSigning/read.png'), // 已读
unRead: require('@/assets/constractSigning/unread.png'), // 未读
}
},
computed: {},
......@@ -242,7 +245,16 @@ export default {
}
},
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'ContractContent') {
vm.tabNum = 2
vm.agentPic = vm.readed
}
})
},
created () {
this.agentPic = this.unRead
this.confirm_status = window.sessionStorage.getItem('confirm_status')
if (this.bp_class === 'NP') {
this.bp_flag = false
......@@ -498,6 +510,9 @@ export default {
},
// 跳转合同详情
goContractContent (name) {
// if (name === '经销商担保协议') {
// setTimeout(() => { this.agentPic = this.readed }, 1000)
// }
this.$router.push({
name: 'ContractContent',
params: {
......
<!--
* @Author: your name
* @Date: 2019-11-07 17:48:53
* @LastEditTime: 2019-11-13 11:29:25
* @LastEditTime: 2019-11-15 13:35:38
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
......@@ -67,7 +67,10 @@
<img src="@/assets/myInfo/unFace.png" >
<p>待面签</p>
</div>
<div @click="goCarConfirm">
<div class="content-wrap" @click="goCarConfirm">
<span
:class="{'content-wrap-class-width':carNum>99, 'content-wrap-class':carNum<99}"
>{{ carNum > 99 ? '99+' : carNum }}</span>
<img src="@/assets/myInfo/carConfirm.png" >
<p>发车确认</p>
</div>
......@@ -124,6 +127,7 @@ export default {
user_bp_name: '',
user_bp_type: '',
signCount: '0',
carNum: '0',
confirmCount: '0',
vedioCount: '0',
productCount: '0',
......@@ -479,9 +483,10 @@ export default {
vm.$post(url, param).then(function (res) {
if (res.result === 'S') {
if ('info' in res) {
vm.signCount = res.info.con_sign_num
vm.confirmCount = res.info.con_confirm_num
vm.signCount = res.info.con_confirm_num
// vm.confirmCount = res.info.con_confirm_num
vm.productCount = res.info.collect_num
vm.carNum = res.info.car_confirm_num
}
} else {
this.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