<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMWPListWpProcessTreeExpViewBase from './emwplist-wp-process-tree-exp-view-base.vue';

import view_treeexpbar from '@widgets/emwplist/wp-process-tree-exp-viewtreeexpbar-treeexpbar/wp-process-tree-exp-viewtreeexpbar-treeexpbar.vue';

/**
 * 采购申请树导航视图
 *
 * @export
 * @class EMWPListWpProcessTreeExpView
 * @extends {EMWPListWpProcessTreeExpViewBase}
 */
@Component({
    components: {
        view_treeexpbar, 
    },
    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 EMWPListWpProcessTreeExpView extends EMWPListWpProcessTreeExpViewBase { }
</script>