<template src="./campaign-summary.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { CampaignSummaryBase } from './campaign-summary-base';
import view_dashboard from '@widgets/campaign/summary-dashboard/summary-dashboard.vue';

/**
 * 市场活动概览视图
 *
 * @export
 * @class CampaignSummary
 * @extends {CampaignSummaryBase}
 */
@Component({
    components: {
        view_dashboard, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class CampaignSummary extends CampaignSummaryBase { }
</script>
