mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 18:46:43 +08:00
建议书编辑投保人信息是点击保存和完成按钮页面跳转错误问题修改
This commit is contained in:
@@ -2931,7 +2931,12 @@ export default {
|
||||
saveOrUpdateTrialRecordInfo(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
//被保人产品列表界面 点击编辑按钮进入产品试算界面 点击完成 页面跳转不正确
|
||||
let proposalOrderNo = this.$route.query.proposalOrderNo || ''
|
||||
let proposalOrderNo = ''
|
||||
if(this.$route.query.proposalOrderNo){
|
||||
proposalOrderNo = this.$route.query.proposalOrderNo
|
||||
}else{
|
||||
proposalOrderNo = this.$route.query.orderNo
|
||||
}
|
||||
let url = `/common/selectedProduct?proposalOrderNo=${proposalOrderNo}`
|
||||
if ( localStorage.isFrom == 'orderTrial' && localStorage.isFrom == 'sale') {
|
||||
this.$toast.clear()
|
||||
@@ -2939,17 +2944,26 @@ export default {
|
||||
this.verifyResultList = res.content.data.verifyResultList
|
||||
}
|
||||
this.$jump({
|
||||
flag: 'goBack',
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
refresh: '1',
|
||||
index: '-2'
|
||||
url: location.origin + '/#' + url
|
||||
},
|
||||
routerInfo: {
|
||||
type: 2,
|
||||
index: -2,
|
||||
path: url
|
||||
}
|
||||
})
|
||||
// this.$jump({
|
||||
// flag: 'goBack',
|
||||
// extra: {
|
||||
// refresh: '1',
|
||||
// index: '-2'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// type: 2,
|
||||
// index: -2,
|
||||
// path: url
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
this.$toast(res.resMessage)
|
||||
}
|
||||
|
||||
@@ -429,14 +429,20 @@ export default {
|
||||
//编辑
|
||||
editInsure(index,insuanceId){
|
||||
let isProposal = localStorage.isFrom == 'proposal' ? true : false
|
||||
let thismyurl = ''
|
||||
if (this.$route.query.orderNo) {
|
||||
thismyurl = '/common/calculatePremium/?orderNo=' + this.$route.query.orderNo + '&insuanceId='+insuanceId
|
||||
} else if (this.$route.query.proposalOrderNo) {
|
||||
thismyurl = '/common/calculatePremium?proposalOrderNo=' + this.$route.query.proposalOrderNo + '&insuanceId='+insuanceId
|
||||
}
|
||||
if (isProposal) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/common/calculatePremium?proposalOrderNo='+this.$route.query.proposalOrderNo+'&insuanceId='+insuanceId
|
||||
url: location.origin + '/#' + thismyurl
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/common/calculatePremium?proposalOrderNo='+this.$route.query.proposalOrderNo+'&insuanceId='+insuanceId
|
||||
path: thismyurl
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -575,7 +581,6 @@ export default {
|
||||
} else if (this.$route.query.proposalOrderNo) {
|
||||
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
|
||||
}
|
||||
// this.$router.push({ path: '/common/mainRiskList' + thismyurl })
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -629,7 +634,6 @@ export default {
|
||||
} else if (this.$route.query.proposalOrderNo) {
|
||||
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
|
||||
}
|
||||
// this.$router.push({ path: '/common/mainRiskList' + thismyurl })
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
|
||||
Reference in New Issue
Block a user