Browse Source

查询loading

beijing
陈鹏飞 3 years ago
parent
commit
458cc3da73
  1. 5
      src/app/pages/audit/audit-record/audit-record.component.html
  2. 1
      src/app/pages/license/update-category/update-category.component.ts

5
src/app/pages/audit/audit-record/audit-record.component.html

@ -71,14 +71,13 @@
<nz-form-item class="btn">
<nz-form-control>
<button nz-button type="submit" class="submit"><i nz-icon [nzType]="'search'"></i>查询</button>
<button nz-button type="submit" class="submit" [nzLoading]="tableSpin"><i nz-icon [nzType]="'search'"></i>查询</button>
</nz-form-control>
</nz-form-item>
<nz-form-item class="btn">
<nz-form-control>
<button nz-button type="button" class="reset" (click)="resetForm($event)"><i nz-icon
[nzType]="'sync'"></i>重置</button>
<button nz-button type="button" class="reset" (click)="resetForm($event)" [nzLoading]="tableSpin"><i nz-icon [nzType]="'sync'"></i>重置</button>
</nz-form-control>
</nz-form-item>
</form>

1
src/app/pages/license/update-category/update-category.component.ts

@ -36,7 +36,6 @@ export class UpdateCategoryComponent implements OnInit {
let data = JSON.parse(sessionStorage.getItem('userdataOfgasstation'));
let params = { orgId: data.organization.id || "" }
this.http.get(`/api/services/app/StationValidityLicense/GetCurStationLicense`,{params}).subscribe((info: any)=>{
this.tableSpin = false
this.list = info.result
this.tableSpin = false
console.log(info.result)

Loading…
Cancel
Save