From 46da7429ca192bf6a947d79437e8076b94676a05 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期四, 13 一月 2022 16:29:45 +0800 Subject: [PATCH] update: 刪除重複的 interface: clientInfo => appointment --- PAMapp/pages/myAppointmentList/onProgressList.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/PAMapp/pages/myAppointmentList/onProgressList.vue b/PAMapp/pages/myAppointmentList/onProgressList.vue index aedf894..e4de5e7 100644 --- a/PAMapp/pages/myAppointmentList/onProgressList.vue +++ b/PAMapp/pages/myAppointmentList/onProgressList.vue @@ -30,22 +30,23 @@ <script lang="ts"> import { Vue, Component, Watch, State, namespace } from 'nuxt-property-decorator'; -import { ClientInfo } from '~/shared/models/client.model'; +import { Appointment } from '~/shared/models/appointment.model'; + const localStorage = namespace('localStorage'); @Component export default class ClientContactedList extends Vue { @State('myAppointmentList') - myAppointmentList!: ClientInfo[]; + myAppointmentList!: Appointment[]; @localStorage.Getter currentAppointmentIdFromMsg!: string; - contactedList: ClientInfo[] = []; - filterList : ClientInfo[] = []; + contactedList: Appointment[] = []; + filterList : Appointment[] = []; keyWord : string = ''; - pageList : ClientInfo[] = []; + pageList : Appointment[] = []; currentPage : number = 1; ////////////////////////////////////////////////////////////////////// @@ -83,7 +84,7 @@ }) } - changePage(pageList: ClientInfo[]): void { + changePage(pageList: Appointment[]): void { this.pageList = pageList; } -- Gitblit v1.8.0