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

/**
 * 销售宣传资料编辑视图视图
 *
 * @export
 * @class SalesLiteratureEditView
 * @extends {SalesLiteratureEditViewBase}
 */
@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 SalesLiteratureEditView extends SalesLiteratureEditViewBase { }
</script>
