
<div>
      <List [renderHeader]=(renderHeader) [renderFooter]=(renderFooter)>
      

   
<InputItem
 [placeholder]=" '检验单位'"
   [(ngModel)]="search.checkCompany" 
   [clear]="true"  >
</InputItem>     
         


      


      



   
<InputItem
 [placeholder]=" '检验名称'"
   [(ngModel)]="search.name" 
   [clear]="true"  >
</InputItem>     
         


      


      



   
<InputItem
 [placeholder]=" '检验单号'"
   [(ngModel)]="search.num" 
   [clear]="true"  >
</InputItem>     
         


      


      



    


    
 <ListItem   [extra]="search.checkDate" [arrow]="'horizontal'" (onClick)="showDate('checkDate')">
          {{'检验时间'}}
</ListItem>
         


      


        <ListItem>
          <a Button [type]="'primary'"   [size]="'small'" [inline]="true" (onClick)="doSearch(search)">
            提交
          </a>
          <a Button style="margin-left: 2.5px;" [size]="'small'" [inline]="true" (onClick)="onReset()">
            重置
          </a>
        </ListItem>
      </List>
</div>

  <ListItem   *ngFor="let row of table.rows" multipleLine  >
        <div  [ngClass]="{'list-content':!row.showAll}">
           <p>检验单位:{{row.checkCompany}}</p><p>检验名称:{{row.name}}</p><p>检验单号:{{row.num}}</p><p>备注信息:{{row.remarks}}</p><p>提交人:{{row.submitter? row.submitter.id:""}}</p><p>检验时间:{{row.checkDate}}</p>
        </div>
        <div Button [type]="'primary'" (click)="goDetail(row.id)" [inline]="true" class="list-detail" [size]="'small'">详情</div>
        <div (click)="row.showAll=!row.showAll" class="list-more am-list-arrow" [ngClass]="row.showAll?'am-list-arrow-vertical-up':'am-list-arrow-vertical'" ></div>
      </ListItem>
  
 <Calendar [(ngModel)]="this.state.date"
                [locale]="this.state.en ? 'enUS' : 'zhCN'"
                [enterDirection]="this.state.enterDirection"
                [visible]="this.state.show"
                [getDateExtra]="this.state.getDateExtra"
                [defaultDate]="this.state.now"
                [minDate]="this.state.minDate"
                [maxDate]="this.state.maxDate"
                [pickTime]="this.state.pickTime"
                [type]="this.state.type"
                [rowSize]="this.state.rowSize"
                [showShortcut]="this.state.showShortcut"
                [infinite]="this.state.infinite"
                [defaultValue]="this.state.defaultValue"
                [onSelect]="this.state.onSelect"
                (onCancel)="triggerCancel()"
                (onConfirm)="triggerConfirm($event)"
                (onSelectHasDisableDate)="triggerSelectHasDisableDate($event)"></Calendar>


