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

/**
 * 宣传资料竞争对手明细视图
 *
 * @export
 * @class CompetitorSalesLiteratureSalLitCompGridView
 * @extends {CompetitorSalesLiteratureSalLitCompGridViewBase}
 */
@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 CompetitorSalesLiteratureSalLitCompGridView extends CompetitorSalesLiteratureSalLitCompGridViewBase { }
</script>
