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

/**
 * 客户表格视图视图
 *
 * @export
 * @class AccountGridView
 * @extends {AccountGridViewBase}
 */
@Component({
    components: {
        view_grid, 
        view_searchform, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$appService.navHistory.setViewTag(vm.viewtag, to);
        });
    }
})
@VueLifeCycleProcessing()
export default class AccountGridView extends AccountGridViewBase { }
</script>
