From 7c7c4ae64b84be1766a5ebbe3ba5ee97cba8c6da Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 04 七月 2024 16:21:41 +0800
Subject: [PATCH] ‘’
---
h5/pages/appointmentDetails/appointmentDetails.vue | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/h5/pages/appointmentDetails/appointmentDetails.vue b/h5/pages/appointmentDetails/appointmentDetails.vue
index ce81109..e9a26ee 100644
--- a/h5/pages/appointmentDetails/appointmentDetails.vue
+++ b/h5/pages/appointmentDetails/appointmentDetails.vue
@@ -77,10 +77,25 @@
data() {
return {
info: {},
- show: false
+ show: false,
+ detail: ''
}
},
+ onBackPress(options) {
+ if (this.detail == 1) {
+ uni.redirectTo({
+ url: '/pages/applicationRecord/applicationRecord'
+ })
+ } else {
+ uni.redirectTo({
+ url: '/pages/index/index'
+ })
+ }
+
+ return true
+ },
onLoad(option) {
+ this.detail = option.detail || ''
this.getDetail(option.id)
// visitorSubDetail({ id: option.id })
// .then(res => {
--
Gitblit v1.9.3