<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMPRODUCTGridViewBase from './emproductgrid-view-base.vue';

import view_grid from '@widgets/emproduct/main2-grid/main2-grid.vue';
import view_searchform from '@widgets/emproduct/default-searchform/default-searchform.vue';

/**
 * 试用品
 *
 * @export
 * @class EMPRODUCTGridView
 * @extends {EMPRODUCTGridViewBase}
 */
@Component({
    components: {
        view_grid, 
        view_searchform, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class EMPRODUCTGridView extends EMPRODUCTGridViewBase { }
</script>