import { Component } from 'vue-property-decorator';
import { AppStyle2DefaultLayout } from '../app-style2-default-layout/app-style2-default-layout';
import "./app-style2-wfdynaactionview-layout.less";
@Component({})
export class AppStyle2WFDynaActionViewLayout extends AppStyle2DefaultLayout {
/**
* 绘制视图
*
* @memberof AppStyle2WFDynaActionViewLayout
*/
render(h: any): any {
const { codeName } = this.viewInstance;
const viewClassNames = this.initRenderClassNames();
const styleMode: any = this.$uiState.layoutState.styleMode;
if (Object.is('DEFAULT', styleMode)) {
return (
{this.renderViewCaption()}
{this.$slots.quickSearch}
{this.$slots.topMessage}
{this.$slots.quickSearchForm}
{this.$slots.quickGroupTab}
{this.$slots.quickGroupSearch}
{this.$slots.datapanel}
{this.$slots.toolbar}
{this.$slots.searchForm}
{this.$slots.searchBar}
{this.$slots.bodyMessage}
{this.$slots.default}
{this.$slots.bottomMessage}
{this.$slots.button}
);
} else {
return (
{this.renderViewCaption()}
{this.$slots.quickSearch}
{this.$slots.topMessage}
{this.$slots.quickSearchForm}
{this.$slots.quickGroupTab}
{this.$slots.quickGroupSearch}
{this.$slots.datapanel}
{this.$slots.toolbar}
{this.$slots.searchForm}
{this.$slots.searchBar}
{this.$slots.bodyMessage}
{this.$slots.default}
{this.$slots.bottomMessage}
{this.$slots.button}
);
}
}
}