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