保誠-保戶業務員媒合平台
Tomas
2022-01-13 46da7429ca192bf6a947d79437e8076b94676a05
PAMapp/pages/myAppointmentList/appointmentList.vue
@@ -26,22 +26,23 @@
<script lang="ts">
import { Vue, Component, State, Watch, 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 ClientReservedList extends Vue {
    @State('myAppointmentList')
    myAppointmentList!: ClientInfo[];
    myAppointmentList!: Appointment[];
    @localStorage.Getter
    currentAppointmentIdFromMsg!: string;
    appointmentList: ClientInfo[] = [];
    filterList     : ClientInfo[] = [];
    appointmentList: Appointment[] = [];
    filterList     : Appointment[] = [];
    keyWord        : string       = '';
    pageList       : ClientInfo[] = [];
    pageList       : Appointment[] = [];
    currentPage    : number = 1;
    //////////////////////////////////////////////////////////////////////
@@ -92,7 +93,7 @@
        })
    }
    changePage(pageList: ClientInfo[]): void {
    changePage(pageList: Appointment[]): void {
        this.pageList = pageList;
    }