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

import view_gridexpbar from '@widgets/emrfode/grid-exp-viewgridexpbar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar.vue';

/**
 * 现象表格导航视图
 *
 * @export
 * @class EMRFODEGridExpView
 * @extends {EMRFODEGridExpViewBase}
 */
@Component({
    components: {
        view_gridexpbar, 
    },
    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 EMRFODEGridExpView extends EMRFODEGridExpViewBase { }
</script>