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