mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 07:06:45 +08:00
【国富人寿】银行卡信息获取详情接口从create中移到mounted中
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user