<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKEditView4Base from './ibizbookedit-view4-base.vue';

import view_drtab from '@widgets/ibizbook/default-drtab/default-drtab.vue';
import view_form from '@widgets/ibizbook/main-form/main-form.vue';
// 基于 @VIEW/实体编辑视图（上下关系）/VIEW.vue.ftl 生成

@Component({
    components: {
        view_drtab, 
        view_form, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            if(!Object.is(vm.navModel,"route")){
                vm.initNavDataWithTab(vm.viewCacheData);
            }
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class IBIZBOOKEditView4 extends IBIZBOOKEditView4Base {

}
</script>