<template src="./sales-literature-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { SalesLiteratureGridViewBase } from './sales-literature-grid-view-base';
import view_grid from '@widgets/sales-literature/main-grid/main-grid.vue';
import view_searchform from '@widgets/sales-literature/default-searchform/default-searchform.vue';

/**
 * 销售宣传资料表格视图视图
 *
 * @export
 * @class SalesLiteratureGridView
 * @extends {SalesLiteratureGridViewBase}
 */
@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 SalesLiteratureGridView extends SalesLiteratureGridViewBase { }
</script>
