diff --git a/src/views/ebiz/sale/AccountInformation.vue b/src/views/ebiz/sale/AccountInformation.vue index 7c53d4197..28007d277 100644 --- a/src/views/ebiz/sale/AccountInformation.vue +++ b/src/views/ebiz/sale/AccountInformation.vue @@ -650,7 +650,10 @@ export default { }) } }, - async created() { + created() { + + }, + async mounted() { this.$store.commit('updateAnswerType', false ) let res = await getOrderDetail({ orderNo: this.$route.query.orderNo }) this.$toast.loading({ @@ -665,25 +668,27 @@ export default { this.renovate = new Date().getTime() console.log(updateAnswerType,'updateAnswerType'); if(res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint == '1'&&res.orderDTO.riskEvaluationDTO.totalScore == null){ - Dialog.alert({ - title: '提示', - message: '您当前未完成测评,请完成后再进行后续操作', - theme: 'round-button', - }).then(() => { - this.$jump({ - flag: 'h5', - extra: { - url: location.origin + '/#/sale/answerPage', - }, - routerInfo: { - path: '/sale/answerPage' - } - }) - // on close - }) + Dialog.alert({ + title: '提示', + message: '您当前未完成测评,请完成后再进行后续操作', + theme: 'round-button', + }).then(() => { + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/answerPage', + }, + routerInfo: { + path: '/sale/answerPage' + } + }) + // on close + }) } - + + this.appntDTO = res.orderDTO.appntDTO + this.$set(this.appntDTO,'mobile',res.orderDTO.appntDTO.mobile) this.orderInfoDTO = res.orderDTO.orderInfoDTO //如果是从编辑进来的 if (this.$route.query.edit) { @@ -742,8 +747,7 @@ export default { this.isForceRenew = localStorage.isForceRenew == '0' ? true : false this.isChecked = localStorage.isForceRenew == '0' ? true : false this.$toast.clear() - }, - mounted() { + document.body.style.backgroundColor = '#F5F5F5' setTimeout(() => { // eslint-disable-next-line no-undef