From 23f7ec5f7cd67322617e623361a5620d405dfeda Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 22 十二月 2021 12:00:30 +0800 Subject: [PATCH] refactor: separate api/appointment.ts into several services --- PAMapp/components/Client/ClientCard.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue index 37300cc..b600629 100644 --- a/PAMapp/components/Client/ClientCard.vue +++ b/PAMapp/components/Client/ClientCard.vue @@ -100,6 +100,7 @@ import { isMobileDevice } from '~/shared/device'; import { hideReviews } from '~/shared/const/hide-reviews'; import { ClientInfo } from '~/shared/models/client.model'; +import myConsultantService from '~/shared/services/my-consultant.service'; @Component({ @@ -198,7 +199,7 @@ } markAppointment() { - appointmentService.markAsContact(this.client.id).then(data => { + myConsultantService.markAsContact(this.client.id).then(data => { // TODO: 閬敺����� updated client 鞈�� - Ben 2021/11/16 const updatedClient = {...this.client}; updatedClient.communicateStatus = 'contacted'; -- Gitblit v1.8.0