【国富人寿】银行卡信息获取详情接口从create中移到mounted中

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-05-23 18:13:32 +08:00
parent 0a12a761a8
commit 035df60bba

View File

@@ -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({
@@ -683,7 +686,9 @@ export default {
})
}
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