<template src="./goal-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { GoalGridViewBase } from './goal-grid-view-base';
import view_grid from '@widgets/goal/main-grid/main-grid.vue';
import view_searchform from '@widgets/goal/default-searchform/default-searchform.vue';

/**
 * 目标信息视图
 *
 * @export
 * @class GoalGridView
 * @extends {GoalGridViewBase}
 */
@Component({
    components: {
        view_grid, 
        view_searchform, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$appService.navHistory.setViewTag(vm.viewtag, to);
        });
    }
})
@VueLifeCycleProcessing()
export default class GoalGridView extends GoalGridViewBase { }
</script>
