diff --git a/src/views/ebiz/cardList/CardTotreasure.vue b/src/views/ebiz/cardList/CardTotreasure.vue index 053c7b394..d5888ca00 100644 --- a/src/views/ebiz/cardList/CardTotreasure.vue +++ b/src/views/ebiz/cardList/CardTotreasure.vue @@ -173,6 +173,10 @@ export default { }, 100) window.appCallBack = this.appCallBack }, + beforeRouteLeave(to, from, next) { + document.body.style.backgroundColor = '' + next() + }, methods: { //分页用-查询订单列表 loadMore() { @@ -301,9 +305,9 @@ export default { } }, filters: { - statusFormat(examineApproveStatus) { + statusFormat(val) { let text - switch (examineApproveStatus) { + switch (val) { case '07': text = '公司谢绝' break diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue index 0bcc9975d..e350b2b9e 100644 --- a/src/views/ebiz/cardList/Pay.vue +++ b/src/views/ebiz/cardList/Pay.vue @@ -223,6 +223,10 @@ export default { // } // console.log('--自核结果--支付信息:', JSON.stringify(this.underWriteData)) }, + beforeRouteLeave(to, from, next) { + document.body.style.backgroundColor = '' + next() + }, methods: { appCallBack(data) { if (data.trigger == 'left_button_click') {