|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
<div class=""> |
|
|
|
|
<form [formGroup]="scoreFrom"> |
|
|
|
|
<!-- 用户名--> |
|
|
|
|
<div class="input-group mb-3 mx-auto col-4"> |
|
|
|
|
<div class="input-group mb-3 mx-auto col-6"> |
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<span class="input-group-text">{{ prefix('username') | translate }}</span> |
|
|
|
|
</div> |
|
|
|
@ -13,6 +13,33 @@ |
|
|
|
|
<option value="true">{{prefix('search_is_like')|translate}}</option> |
|
|
|
|
<option value="false">{{prefix('search_is_not_like')|translate}}</option> |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<span |
|
|
|
|
class="input-group-text bg-transparent">{{ prefix('orderScore') | translate:{order: scoreFrom.get('desc').value ? (prefix('desc')|translate) : (prefix('asc')|translate)} }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<div class="input-group-text"> |
|
|
|
|
<input type="checkbox" formControlName="orderScore"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<ng-container *ngIf="scoreFrom.get('orderScore').value"> |
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<div class="input-group-text"> |
|
|
|
|
{{prefix('desc')|translate}} |
|
|
|
|
</div> |
|
|
|
|
<div class="input-group-text"> |
|
|
|
|
<input type="radio" formControlName="desc" [value]="true"> |
|
|
|
|
</div> |
|
|
|
|
<div class="input-group-text"> |
|
|
|
|
{{prefix('asc')|translate}} |
|
|
|
|
</div> |
|
|
|
|
<div class="input-group-text"> |
|
|
|
|
<input type="radio" formControlName="desc" [value]="false"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<button class="btn btn-outline-secondary" type="button" [disabled]="form().invalid" |
|
|
|
|
(click)="loadAll(1)">{{'button.search'|translate}}</button> |
|
|
|
|