保誠-保戶業務員媒合平台
Tomas
2021-12-09 ac235850a9287dae6977c964213176fa7c86b140
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { Vue, Component, Action, State, namespace } from 'nuxt-property-decorator';
import { AppointmentLog } from '~/assets/ts/models/appointment.model';
 
const roleStorage = namespace('localStorage');
 
@Component
export default  class Reviews extends Vue{
 
    today = new Date();
 
    @roleStorage.Getter currentRole!:string;
 
    @State('myAppointmentReviewLogList') myAppointmentReviewLogList!: AppointmentLog[];
 
    @Action storeMyAppointmentReviewLog!: any;
 
    appointmentLogList: AppointmentLog[] = [];
 
    mounted() {
        this.storeMyAppointmentReviewLog();
    }
 
}