Commit 8cef0734 authored by van.chen's avatar van.chen

改网关和传感器的查询

parent 54aef0ff
<div class="searchBar" @fade>
<app-search-item [label]="'gatewayName' | translate" [(value)]="query.gatewayName"></app-search-item>
<app-search-item [label]="'gatewaySN' | translate" [(value)]="query.gatewaySN"></app-search-item>
<app-search-item [label]="'gatewayName' | translate" [(value)]="query.name"></app-search-item>
<app-search-item [label]="'gatewaySN' | translate" [(value)]="query.sn"></app-search-item>
<div class="btnLine">
<button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="onSearch()">
<span>{{'search' | translate}}</span></button>
......
<div class="searchBar" @fade>
<app-search-item [label]="'sensorName' | translate" [(value)]="query.sensorName"></app-search-item>
<app-search-item [label]="'sensorSN' | translate" [(value)]="query.sensorSN"></app-search-item>
<app-search-item [label]="'sensorName' | translate" [(value)]="query.name"></app-search-item>
<app-search-item [label]="'sensorSN' | translate" [(value)]="query.sn"></app-search-item>
<div class="btnLine">
<button nz-button [nzType]="'primary'" [nzLoading]="isLoading" (click)="onSearch()">
<span>{{'search' | translate}}</span></button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment