投被同人签名修改

This commit is contained in:
mengxiaolong
2020-09-11 18:20:28 +08:00
parent f7fdfb9ad1
commit 96cc28598b

View File

@@ -68,11 +68,11 @@
<!-- end --> <!-- end -->
<div class="autograph"> <div class="autograph">
<div class="list"> <div class="list">
<span>投保人<span v-if="releationType">/被保险人</span>亲笔签名</span> <span>投保人<span v-if="releationType && $route.params.receiveType === '1'">/被保险人</span>亲笔签名</span>
<van-button type="danger" size="small" @click="autograph(0)">{{ policyholderSigned ? '已签名' : '未签名' }}</van-button> <van-button type="danger" size="small" @click="autograph(0)">{{ policyholderSigned ? '已签名' : '未签名' }}</van-button>
</div> </div>
<div class="list" v-if="$route.query.receiveType === '1' && !releationType"> <div class="list" v-if="$route.query.receiveType === '1' && !releationType">
<span>被保险人<span>/监护人</span>亲笔签名</span> <span>被保险人/监护人亲笔签名</span>
<van-button type="danger" size="small" @click="autograph(1)">{{ insurantSigned ? '已签名' : '未签名' }}</van-button> <van-button type="danger" size="small" @click="autograph(1)">{{ insurantSigned ? '已签名' : '未签名' }}</van-button>
</div> </div>
</div> </div>
@@ -271,12 +271,23 @@ export default {
} }
let name = personType === 0 ? this.problemInfo.appntName : this.problemInfo.insuredName let name = personType === 0 ? this.problemInfo.appntName : this.problemInfo.insuredName
let number = personType === 0 ? this.problemInfo.appntIdCardNo : this.problemInfo.insuredIdCardNo let number = personType === 0 ? this.problemInfo.appntIdCardNo : this.problemInfo.insuredIdCardNo
let keyword = ''
if (personType === 1) {
keyword = '被保险人/监护人签名:'
}
if (personType === 0) {
if (this.releationType && this.$route.params.receiveType === '1') {
keyword = '投保人/被保险人签名:'
} else {
keyword = '投保人签名:'
}
}
if (!this.isWeixin) { if (!this.isWeixin) {
let signParam = { let signParam = {
name, name,
type: '1', type: '1',
number, number,
keyword: personType === 0 ? (this.releationType ? '投保人/被保险人签名:' : '投保人签名:') : '被保险人/监护人签名:', keyword,
pageNo: '1', pageNo: '1',
index: 1, index: 1,
offset: 20, offset: 20,