保誠-保戶業務員媒合平台
Tomas
2021-12-08 f3c630a4b2082d115267b7e5c5b500844015864a
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();
    }
 
}