<template>
<studio-view-style2 viewName="centeralportal" viewTitle="仪表盘" class='appportalview centeral-portal'>
    <template slot='title'>
    <span class='caption-info'>{{$t(model.srfTitle)}}</span>
    </template>
    <view_dashboard 
        :viewState="viewState"  
        :viewparams="viewparams" 
        :context="JSON.parse(JSON.stringify(context))" 
        :isEnableCustomized = "false"
        name="dashboard"  
        ref='dashboard' 
        @closeview="closeView($event)">
    </view_dashboard>
</studio-view-style2>
</template>

<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, PortalViewBase } from '@/studio-core';



/**
 * 仪表盘视图基类
 *
 * @export
 * @class CenteralPortalBase
 * @extends {PortalViewBase}
 */
@Component({})
@VueLifeCycleProcessing()
export default class CenteralPortalBase extends PortalViewBase {


    /**
     * 计数器服务对象集合
     *
     * @protected
     * @type {Array<*>}
     * @memberof CenteralPortalBase
     */    
    protected counterServiceArray: Array<any> = [];

	/**
	 * 自定义视图导航上下文集合
	 *
     * @protected
	 * @type {*}
	 * @memberof CenteralPortalBase
	 */
    protected customViewNavContexts: any = {
    };

	/**
	 * 自定义视图导航参数集合
	 *
     * @protected
	 * @type {*}
	 * @memberof CenteralPortalBase
	 */
    protected customViewParams: any = {
    };

    /**
     * 视图模型数据
     *
     * @protected
     * @type {*}
     * @memberof CenteralPortalBase
     */
    protected model: any = {
        srfCaption: 'app.views.centeralportal.caption',
        srfTitle: 'app.views.centeralportal.title',
        srfSubTitle: 'app.views.centeralportal.subtitle',
        dataInfo: ''
    }

    /**
     * 容器模型
     *
     * @protected
     * @type {*}
     * @memberof CenteralPortalBase
     */
    protected containerModel: any = {
        view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
    };


    /**
     * 引擎初始化
     *
     * @public
     * @memberof CenteralPortalBase
     */
    public engineInit(): void {
    }




}
</script>

<style lang='less'>
@import './centeral-portal.less';
</style>