<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMEQSpareDetailGridView9Base from './emeqspare-detail-grid-view9-base.vue';

import view_searchform from '@widgets/emeqspare-detail/searchform-searchform/searchform-searchform.vue';
import view_grid from '@widgets/emeqspare-detail/main2-grid/main2-grid.vue';

/**
 * 备件物品
 *
 * @export
 * @class EMEQSpareDetailGridView9
 * @extends {EMEQSpareDetailGridView9Base}
 */
@Component({
    components: {
        view_searchform, 
        view_grid, 
    },
    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 EMEQSpareDetailGridView9 extends EMEQSpareDetailGridView9Base { }
</script>