保誠-保戶業務員媒合平台
Tomas
2022-01-13 46da7429ca192bf6a947d79437e8076b94676a05
PAMapp/pages/myAppointmentList/contactedList.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;
    }