mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 02:16:44 +08:00
【建议书优化需求】建议书已选产品列表,新增【编辑】功能
This commit is contained in:
@@ -33,16 +33,17 @@ export default {
|
||||
jump(index) {
|
||||
if (index === this.current || index == 2) return
|
||||
if (this.moveOn) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + `/#/${this.routerInfos[index]}`,
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: `/${this.routerInfos[index]}`
|
||||
}
|
||||
})
|
||||
this.$router.push({ path: '/'+this.routerInfos[index] })
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + `/#/${this.routerInfos[index]}`,
|
||||
// needRefresh: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: `/${this.routerInfos[index]}`
|
||||
// }
|
||||
// })
|
||||
}
|
||||
},
|
||||
showArrow(index) {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
|
||||
<div class="text-right pv5">
|
||||
<!-- <van-button size="small" round class="mr5" type="danger">编辑</van-button> -->
|
||||
<van-button v-if="isFrom == 'proposal'" size="small" round @click="editInsure(index)" class="mr5" type="danger">编辑</van-button>
|
||||
<van-button size="small" round @click="deteleInsure(index)" plain type="danger">删除</van-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -386,6 +386,21 @@ export default {
|
||||
this.$toast(resultData.resultMessage)
|
||||
}
|
||||
},
|
||||
//编辑
|
||||
editInsure(index){
|
||||
let isProposal = localStorage.isFrom == 'proposal' ? true : false
|
||||
if (isProposal) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/common/calculatePremium?orderNo='+this.$CacheUtils.getLocItem('proposalNo')+'&insuanceId='+this.chooseProducts[index].insuanceId
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/common/calculatePremium?orderNo='+this.$CacheUtils.getLocItem('proposalNo')+'&insuanceId='+this.chooseProducts[index].insuanceId
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
//下一步
|
||||
async nextStep() {
|
||||
if (!this.$route.query.salePageFlag) {
|
||||
|
||||
Reference in New Issue
Block a user