<template src="./task-quick-create.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { TaskQuickCreateBase } from './task-quick-create-base';
import view_form from '@widgets/task/quick-create-form/quick-create-form.vue';

/**
 * 快速新建：任务视图
 *
 * @export
 * @class TaskQuickCreate
 * @extends {TaskQuickCreateBase}
 */
@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 TaskQuickCreate extends TaskQuickCreateBase { }
</script>
