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

/**
 * 快速新建视图
 *
 * @export
 * @class SalesLiteratureQuickCreateView
 * @extends {SalesLiteratureQuickCreateViewBase}
 */
@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 SalesLiteratureQuickCreateView extends SalesLiteratureQuickCreateViewBase { }
</script>
