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

/**
 * 产品关联表格视图视图
 *
 * @export
 * @class ProductAssociationGridView
 * @extends {ProductAssociationGridViewBase}
 */
@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 ProductAssociationGridView extends ProductAssociationGridViewBase { }
</script>
