app-default-wfsteptraceview-layout.tsx 664 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import { AppDefaultViewLayout } from '../app-default-view-layout/app-default-view-layout';
import { Component } from 'vue-property-decorator';
import { Util } from 'ibiz-core';

@Component({})
export default class AppDefaultWfStepTraceViewLayout extends AppDefaultViewLayout {
    /**
     * 绘制布局
     *
     * @memberof AppDefaultViewLayout
     */
    public render(h: any) {
        let viewClass = {
            'view-container': true,
            [this.viewInstance.viewType?.toLowerCase()]: true,
            [Util.srfFilePath2(this.viewInstance.codeName)]: true,
        };
        return <div class={viewClass}>{this.$slots.default}</div>;
    }
}