<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMEQAHEqCalendarExpViewBase from './emeqaheq-calendar-exp-view-base.vue';

import view_searchform from '@widgets/emeqah/default-searchform/default-searchform.vue';
import view_calendarexpbar from '@widgets/emeqah/eq-calendar-exp-viewcalendarexpbar-calendarexpbar/eq-calendar-exp-viewcalendarexpbar-calendarexpbar.vue';

/**
 * 设备活动日历导航视图
 *
 * @export
 * @class EMEQAHEqCalendarExpView
 * @extends {EMEQAHEqCalendarExpViewBase}
 */
@Component({
    components: {
        view_searchform, 
        view_calendarexpbar, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            if(!Object.is(vm.navModel,"route")){
                vm.initNavDataWithTab(vm.viewCacheData);
            }
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class EMEQAHEqCalendarExpView extends EMEQAHEqCalendarExpViewBase { }
</script>