测试微信分享

This commit is contained in:
mengxiaolong
2020-08-04 14:50:06 +08:00
parent fecb34f337
commit 7e70d62258
2 changed files with 7 additions and 6 deletions

View File

@@ -81,7 +81,7 @@
<span>投保人/监护人亲笔签名</span>
<van-button type="danger" size="small" @click="autograph(0)">{{ policyholderSigned ? '已签名' : '签名' }}</van-button>
</div>
<div class="list" v-if="problemDetail.receiveType === '1'">
<div class="list" v-if="$route.query.receiveType === '1'">
<span>被投保人亲笔签名</span>
<van-button type="danger" size="small" @click="autograph(1)">{{ insurantSigned ? '已签名' : '签名' }}</van-button>
</div>
@@ -282,7 +282,7 @@ export default {
extra: {
title: title,
content: this.shareContent,
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.receiveType}?&token=${localStorage.token}`,
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.issueType}?&token=${localStorage.token}&receiveType=${this.problemDetail.receiveType}`,
img: this.$assetsUrl + 'images/logo.png'
}
})
@@ -329,9 +329,9 @@ export default {
// 转账失败问题件不用签名
if (this.issueType !== '818901') {
// 校验签名
if (this.problemDetail.receiveType === '0') {
if (this.$route.query.receiveType === '0') {
if (!this.policyholderSigned) return this.$toast('请完成签名后继续操作')
} else {
} else if (this.$route.query.receiveType === '1') {
if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('请完成签名后继续操作')
}
}
@@ -444,6 +444,7 @@ export default {
}
this.getBankList()
this.getQuestionDetail()
console.log(this.$route.params)
},
mounted() {
setTimeout(() => {