diff --git a/src/views/ebiz/saleFlowProImprove/InsuranceApplicationFlow.vue b/src/views/ebiz/saleFlowProImprove/InsuranceApplicationFlow.vue index ecadd05fe..459f4efcd 100644 --- a/src/views/ebiz/saleFlowProImprove/InsuranceApplicationFlow.vue +++ b/src/views/ebiz/saleFlowProImprove/InsuranceApplicationFlow.vue @@ -90,6 +90,7 @@ export default { }, events: { updateTotalPremium: money => { + // eslint-disable-next-line vue/no-side-effects-in-computed-properties this.totalPremium = money } } @@ -168,14 +169,14 @@ export default { return orderDetail({ orderNo }).then(({ result, orderDTO, resultMessage }) => { if (result !== '0') return this.$toast(resultMessage) const { insuredDTOs, appntDTO } = orderDTO - this.insuredInfo = insuredDTOs[0] || {} + this.insured = insuredDTOs[0] || {} this.applicant = appntDTO const { riskDTOLst } = insuredDTOs[0] this.risks = riskDTOLst return { applicant: appntDTO, - insured: this.insuredInfo + insured: this.insured } }) }, @@ -197,6 +198,7 @@ export default { handleBankCancel() { this.options.showBankAccountMsgPopup = false }, + /** 点击下一步时进行信息处理 */ async handleApplyInformationClick() { for (let task of this.nextStepProcesserContainer.getAllTasks()) { const [id, info] = task @@ -204,6 +206,23 @@ export default { if (!info.isMainTask) continue await this.nextStepProcesserContainer.executeTask(id) } + + this.navigateSuitabilityQuestionnaire() + }, + /**导航到适应性问卷*/ + navigateSuitabilityQuestionnaire() { + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + `/#/sale/productEvaluate?orderNo=${this.$route.query.orderNo}` + }, + routerInfo: { + query: { + orderNo: this.$route.query.orderNo + }, + name: 'productEvaluate' + } + }) }, async handleCalculatePremiumClick() { const [ref] = this.$refs['CalculatePremiumRef']