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

/**
 * 潜在顾客数据看板视图视图
 *
 * @export
 * @class LeadDashboardView
 * @extends {LeadDashboardViewBase}
 */
@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 LeadDashboardView extends LeadDashboardViewBase { }
</script>
