import { AppDefaultViewLayout } from "../app-default-view-layout/app-default-view-layout"; import { Prop, Component } from 'vue-property-decorator'; import './app-default-tabsearchview-layout.less'; @Component({}) export class AppDefaultTabSearchViewLayout extends AppDefaultViewLayout { /** * 绘制头部内容 * * @memberof AppDefaultTabSearchViewLayout */ renderViewHeader() { return (
{this.showCaption ?
{this.$slots.captionInfo ? this.$slots.captionInfo : this.viewInstance.caption}
: null } {this.$slots.tabsHeader} {this.$slots.quickGroupSearch}
{this.$slots.quickSearch} {this.$slots.quickSearchForm} {this.viewIsshowToolbar ? this.$slots.toolbar : null}
) } /** * 绘制内容 * * @memberof AppDefaultTabSearchViewLayout */ renderContent() { let cardClass = { 'view-card': true, 'view-no-caption': !this.showCaption, 'view-no-toolbar': !this.viewIsshowToolbar, }; return ( {this.renderViewHeader()} {this.$slots.topMessage} {this.$slots.searchForm} {this.$slots.searchBar}
{this.$slots.bodyMessage} {this.$slots.default}
{this.$slots.bottomMessage}
); } }