ace-component
Version:
ace-components for ewms
42 lines (38 loc) • 1.23 kB
HTML
<div id='button' class='page-content'>
<h3>
search <small style="margin-right:10px">搜索框 </small><small>ace-search</small>
</h3>
<p>使用 import AceSearchModule</p>
<h5 class="text-warning">
属性
</h5>
<table class='table-striped table-bordered table'>
<tr>
<th *ngFor='let th of thead'>{{th}}</th>
</tr>
<tr *ngFor='let item of tableValue'>
<td *ngFor='let key of getKeys(item)'>
<p [innerHTML]="key"></p>
</td>
</tr>
</table>
<h5 class="text-warning">
事件
</h5>
<table class='table-striped table-bordered table'>
<tr>
<th *ngFor='let th of eventHeader'>{{th}}</th>
</tr>
<tr *ngFor='let item of eventValue'>
<td *ngFor='let key of getEventKeys(item)'>
<p [innerHTML]="key"></p>
</td>
</tr>
</table>
<!--<ace-dropdownselect></ace-dropdownselect>-->
<!--[width]="selWidth" [multiple]="multiple"-->
<div class="block">
<ace-search [target]="demo" [ajaxUrl]="baseurl" [ajax]="paramdata" [selectData]="resdata" [multiple]="multiple" [width]="width"
(render)="countChange($event)" (optionClick)="opClick($event)"></ace-search>
</div>
</div>