This commit is contained in:
geek 2018-06-22 15:40:51 +09:00
parent f6571cebf3
commit 7027f8f0b1
4 changed files with 53 additions and 37 deletions

View File

@ -1 +1,19 @@
<div>filter</div> <div class="ui-g ui-fluid">
<!--<input type="text" pInputText placeholder="Search..." [(ngModel)]="filterWord" (keyup)="onSearch($event)">-->
<div class="ui-g-12 ui-md-10">
<div class="ui-inputgroup">
<input type="text" pInputText placeholder="Keyword" >
<button pButton type="button" label="Search"></button>
</div>
</div>
<div class="ui-g">
<!--<div *ngFor="let targetStatus of targetStatusList">-->
<!--<p-toggleButton offLabel="{{targetStatus.key}}" onLabel="{{targetStatus.key}}" [style]="{'width':'100px'}" (onChange)="onTargetStatus($event, service)"-->
<!--[(ngModel)]="filterServices[service.key]"></p-toggleButton>-->
</div>
</div>
</div>

View File

@ -1,9 +0,0 @@
.radio-group {
display: inline-flex;
flex-direction: column;
}
.radio-button {
margin: 5px;
}

View File

@ -5,7 +5,6 @@ import { Router } from '@angular/router';
@Component({ @Component({
selector: 'of-target-filter', selector: 'of-target-filter',
templateUrl: './target-filter.component.html', templateUrl: './target-filter.component.html',
styleUrls: ['./target-filter.component.scss']
}) })
export class TargetFilterComponent implements OnInit { export class TargetFilterComponent implements OnInit {

View File

@ -4,6 +4,12 @@
</div> </div>
<ng-template #content> <ng-template #content>
<div class="ui-g">
<div class="ui-g-12 ui-md-3">
<of-target-filter></of-target-filter>
</div>
<div class="ui-g-12 ui-md-9">
<p-table [value]="targetList" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true" > <p-table [value]="targetList" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true" >
<ng-template pTemplate="header"> <ng-template pTemplate="header">
<tr> <tr>
@ -30,6 +36,8 @@
</tr> </tr>
</ng-template> </ng-template>
</p-table> </p-table>
</div>
</div>
<!--<p-paginator #paginator [rows]="targetPage.size" [totalRecords]="targetPage.totalElements" [first]="(pageIdx-1) * targetPage.size"--> <!--<p-paginator #paginator [rows]="targetPage.size" [totalRecords]="targetPage.totalElements" [first]="(pageIdx-1) * targetPage.size"-->
<!--(onPageChange)="onPaginate($event)"></p-paginator>--> <!--(onPageChange)="onPaginate($event)"></p-paginator>-->