From f2fe7c2bacd26cde387d4d3a17ce6161dd189e26 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期一, 06 十二月 2021 12:39:24 +0800 Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM --- PAMapp/assets/ts/api/appointment.ts | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/PAMapp/assets/ts/api/appointment.ts b/PAMapp/assets/ts/api/appointment.ts index aa419c6..f27be9d 100644 --- a/PAMapp/assets/ts/api/appointment.ts +++ b/PAMapp/assets/ts/api/appointment.ts @@ -1,5 +1,6 @@ import { service } from '~/assets/ts/api/share'; import { AxiosResponse } from 'axios'; +import { AppointmentLog } from '../models/appointment.model'; // ��������� export function getMyAppointmentList():Promise<ClientInfo[]> { @@ -19,6 +20,14 @@ .then(res => res.data) } +export function getMyReviewLog(): Promise<AppointmentLog[]> { + const headers = { + Authorization: 'Bearer ' + localStorage.getItem('id_token') + } + return service.get('/satisfaction/getMySatisfaction', { headers }).then(res => res.data); +} + + // 憿批��憿舐內����蝑敺孛� export function allAppointmentsView() { const headers = { @@ -37,14 +46,14 @@ export interface ClientInfo { - id: number, - phone: string, - email: string, - contactType: string, - gender: string, - age: string, - job: string, - requirement: string, + id : number, + phone : string, + email : string, + contactType : string, + gender : string, + age : string, + job : string, + requirement : string, communicateStatus: string, hopeContactTime: string, otherRequirement: string, -- Gitblit v1.8.0