<template src="./competitor-option-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { CompetitorOptionViewBase } from './competitor-option-view-base';
import view_form from '@widgets/competitor/quick-create-form/quick-create-form.vue';

/**
 * 竞争对手选项操作视图视图
 *
 * @export
 * @class CompetitorOptionView
 * @extends {CompetitorOptionViewBase}
 */
@Component({
    components: {
        view_form, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class CompetitorOptionView extends CompetitorOptionViewBase { }
</script>
