测试签名PDF

This commit is contained in:
mengxiaolong
2020-08-09 19:16:07 +08:00
parent c31e4b523a
commit 3effebcd7d

View File

@@ -272,7 +272,7 @@ export default {
name, name,
type: '1', type: '1',
number, number,
keyword: personType === 0 ? '投保人签名' : '被保人签名', keyword: personType === 0 ? '投保人签名:' : '日期:',
pageNo: '1', pageNo: '1',
index: 1, index: 1,
offset: 20, offset: 20,
@@ -301,9 +301,9 @@ export default {
console.log('签名结果: ', res) console.log('签名结果: ', res)
} else { } else {
if (personType === 0) { if (personType === 0) {
this.toAirSign('0', '投保人签名', '-150', '2', personType) this.toAirSign('0', '投保人签名:', '-150', '2', personType)
} else { } else {
this.toAirSign('0', '被保人签名', '-150', '2', personType) this.toAirSign('0', '被保人签名:', '-150', '2', personType)
} }
} }
}, },
@@ -416,7 +416,9 @@ export default {
} }
}, },
async getMessage({ data }) { async getMessage({ data }) {
let signInfo = [this.policyholderBase64] let signInfo = []
if (this.policyholderBase64) signInfo.push(this.policyholderBase64)
if (this.insurantBase64) signInfo.push(this.insurantBase64)
// 获取dialog信息type为confirm时为短信框alert时是确定框 // 获取dialog信息type为confirm时为短信框alert时是确定框
let problemData = { let problemData = {
id: this.$route.params.id, id: this.$route.params.id,