<template src="./activity-pointer-by-parent-key.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ActivityPointerByParentKeyBase } from './activity-pointer-by-parent-key-base';
import view_grid from '@widgets/activity-pointer/main-grid/main-grid.vue';
import view_searchform from '@widgets/activity-pointer/default-searchform/default-searchform.vue';

/**
 * 活动视图
 *
 * @export
 * @class ActivityPointerByParentKey
 * @extends {ActivityPointerByParentKeyBase}
 */
@Component({
    components: {
        view_grid, 
        view_searchform, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class ActivityPointerByParentKey extends ActivityPointerByParentKeyBase { }
</script>
