<div class="app-search-form">
    <form nz-form nz-row class="<#if ctrl.getPSSysCss()??> ${ctrl.getPSSysCss().getCssName()}</#if>">
        <#if ctrl.isNoTabHeader()>
        <#list ctrl.getPSDEFormPages() as formmenber>
            ${P.getPartCode(formmenber).code}
        </#list>
        <#else>
        <nz-tabset>
            <#list ctrl.getPSDEFormPages() as formpage>
            <nz-tab nzTitle="${formpage.getCaption()}">
                ${P.getPartCode(formpage).code}
            </nz-tab>
            </#list>
        </nz-tabset>
        </#if>
    </form>
    <nz-button-group>
        <button nz-button (click)="onSearch()">搜索</button>
        <button nz-button nz-dropdown [nzDropdownMenu]="menu" nzPlacement="bottomRight">
            <i nz-icon nzType="down" nzTheme="outline"></i>
        </button>
    </nz-button-group>
    <nz-dropdown-menu #menu="nzDropdownMenu">
        <ul nz-menu>
            <li nz-menu-item (click)="onReset()">重置</li>
        </ul>
    </nz-dropdown-menu>
</div>