防止再次进入已处理问题件

This commit is contained in:
mengxiaolong
2020-08-24 15:14:48 +08:00
parent 4944dda4a9
commit 04cbf1e9c2

View File

@@ -481,7 +481,6 @@ export default {
url: `${location.origin}/#/questions/detail/${this.problemDetail.issueId}/${this.problemDetail.issueType}?&token=${localStorage.token}&receiveType=${this.problemDetail.receiveType}&prtNo=${this.$route.query.prtNo}`,
img: this.$assetsUrl + 'images/logo.png'
}
console.log(JSON.stringify(shareObj))
if (data.trigger == 'right_button_click') {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
@@ -630,16 +629,41 @@ export default {
prtNo: this.$route.query.prtNo,
userType: Number(this.$route.query.receiveType)
})
// 包含投保人和被保人证件id和姓名
this.problemInfo = rs.content
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.problemInfo.pdfUrl}`)
this.problemDetail = this.problemInfo.list[0]
// 问题件接收人类型: 0投保人, 1被保人
this.problemDetail.receiveType = this.$route.query.receiveType
// 被保人资料问题描述
this.supplement.descriptionInsurant = this.problemDetail.content
// 投保人资料问题描述
this.supplement.descriptionPolicyholder = this.problemDetail.issueContent
if (rs.result === '0') {
// 已处理问题件跳转至列表页
if (rs.content && rs.content.status === '1') {
Dialog({
message: '问题件已被处理',
confirmButtonColor: 'red',
beforeClose: (action, done) => {
done()
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/questions/list`,
forbidSwipeBack: '1'
},
routerInfo: {
path: `/questions/list`
}
})
}
})
return
}
// 包含投保人和被保人证件id和姓名
this.problemInfo = rs.content
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.problemInfo.pdfUrl}`)
this.problemDetail = this.problemInfo.list[0]
// 问题件接收人类型: 0投保人, 1被保人
this.problemDetail.receiveType = this.$route.query.receiveType
// 被保人资料问题描述
this.supplement.descriptionInsurant = this.problemDetail.content
// 投保人资料问题描述
this.supplement.descriptionPolicyholder = this.problemDetail.issueContent
} else {
this.$toast(rs.resultMessage)
}
},
// 微信空签
toAirSign(status, keyword, offset, originStatus, personType) {