<template src="./opportunity-pickup-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { OpportunityPickupViewBase } from './opportunity-pickup-view-base';
import view_pickupviewpanel from '@widgets/opportunity/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';

/**
 * 商机数据选择视图视图
 *
 * @export
 * @class OpportunityPickupView
 * @extends {OpportunityPickupViewBase}
 */
@Component({
    components: {
        view_pickupviewpanel, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class OpportunityPickupView extends OpportunityPickupViewBase { }
</script>
