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