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

/**
 * 商机产品表格视图视图
 *
 * @export
 * @class OpportunityProductOpp_OppProGridView
 * @extends {OpportunityProductOpp_OppProGridViewBase}
 */
@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 OpportunityProductOpp_OppProGridView extends OpportunityProductOpp_OppProGridViewBase { }
</script>
