<template src="./goal-edit-child-goal-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { GoalEdit_ChildGoalViewBase } from './goal-edit-child-goal-view-base';
import view_form from '@widgets/goal/edit-child-goal-form/edit-child-goal-form.vue';

/**
 * 子目标信息视图
 *
 * @export
 * @class GoalEdit_ChildGoalView
 * @extends {GoalEdit_ChildGoalViewBase}
 */
@Component({
    components: {
        view_form, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class GoalEdit_ChildGoalView extends GoalEdit_ChildGoalViewBase { }
</script>
