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

/**
 * 市场活动-营销列表表格视图视图
 *
 * @export
 * @class CampaignListGridView
 * @extends {CampaignListGridViewBase}
 */
@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 CampaignListGridView extends CampaignListGridViewBase { }
</script>
