建议书已选产品编辑功能路由传参修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-06-29 13:43:33 +08:00
parent bafc29a595
commit 4967324d87
3 changed files with 43 additions and 35 deletions

View File

@@ -23,7 +23,7 @@
</div>
<div class="text-right pv5">
<!-- <van-button v-if="isFrom == 'proposal'" size="small" round @click="editInsure(index,item)" class="mr5" type="danger">编辑</van-button>-->
<van-button v-if="isFrom == 'proposal'" size="small" round @click="editInsure(index,item)" class="mr5" type="danger">编辑</van-button>
<van-button size="small" round @click="deteleInsure(index)" plain type="danger">删除</van-button>
</div>
</div>
@@ -437,9 +437,9 @@ export default {
let isProposal = localStorage.isFrom == 'proposal' ? true : false
let thismyurl = ''
if (this.$route.query.orderNo) {
thismyurl = '/common/calculatePremium/?orderNo=' + this.$route.query.orderNo + '&insuanceId='+insuanceId
thismyurl = '/common/calculatePremium/?orderNo=' + this.$route.query.orderNo + '&insuanceIdInfo='+JSON.stringify(insuanceIdInfo)
} else if (this.$route.query.proposalOrderNo) {
thismyurl = '/common/calculatePremium?proposalOrderNo=' + this.$route.query.proposalOrderNo + '&insuanceId='+insuanceId
thismyurl = '/common/calculatePremium?proposalOrderNo=' + this.$route.query.proposalOrderNo + '&insuanceIdInfo='+JSON.stringify(insuanceIdInfo)
}
if (isProposal) {
this.$jump({