From 9ba8b3801f274399b6ecdfb91feabe1dcff12fd7 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 7 Apr 2023 19:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=BB=BA=E8=AE=AE=E4=B9=A6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E9=9C=80=E6=B1=82=E3=80=91=E5=BB=BA=E8=AE=AE=E4=B9=A6?= =?UTF-8?q?=E5=B7=B2=E9=80=89=E4=BA=A7=E5=93=81=E5=88=97=E8=A1=A8,?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E3=80=90=E7=BC=96=E8=BE=91=E3=80=91=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ebiz/proposal/BreadcrumbNavigator.vue | 21 ++++++++++--------- src/views/ebiz/common/SelectedProduct.vue | 17 ++++++++++++++- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/src/components/ebiz/proposal/BreadcrumbNavigator.vue b/src/components/ebiz/proposal/BreadcrumbNavigator.vue index a995a8c22..6e824626a 100644 --- a/src/components/ebiz/proposal/BreadcrumbNavigator.vue +++ b/src/components/ebiz/proposal/BreadcrumbNavigator.vue @@ -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) { diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index 58de8318c..cbcde7a84 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -23,7 +23,7 @@
- + 编辑 删除
@@ -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) {