保誠-保戶業務員媒合平台
Mila
2021-12-22 bdae23a40c461c2c6b6ee614f661eac731c949c8
PAMapp/pages/myConsultantList/contactedList.vue
比對新檔案
@@ -0,0 +1,29 @@
<template>
    <div>
        <ConsultantList
            :agents="pageList"
            :title="'contactedList'"
        ></ConsultantList>
        <UiPagination
            :totalList="contactedList"
            @changePage="changePage"
        ></UiPagination>
    </div>
</template>
<script lang="ts">
import { Vue, Component, Prop } from 'nuxt-property-decorator' ;
import { Consultant } from '~/shared/models/consultant.model';
@Component
export default class ContactedList extends Vue {
    @Prop() contactedList!: Consultant[];
    pageList: Consultant[] = [];
    changePage(pageList: Consultant[]) {
        this.pageList = pageList;
    }
}
</script>