From fe0f53b402928d99fc75e85355526565fb3e1b68 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期五, 21 一月 2022 16:58:23 +0800 Subject: [PATCH] fixed: 顧問預約單_結案 - get appointment detail before navigating --- PAMapp/components/Client/ClientCard.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue index 2200975..294eb5f 100644 --- a/PAMapp/components/Client/ClientCard.vue +++ b/PAMapp/components/Client/ClientCard.vue @@ -268,7 +268,9 @@ } navigateToCloseAppointment(): void { - this.$router.push(`/appointment/${this.client.id}/close`); + this.getAppointmentDetail(this.client.id).then((_) => { + this.$router.push(`/appointment/${this.client.id}/close`); + }); } inviteReview(): void { -- Gitblit v1.8.0