车辆对接

This commit is contained in:
wangshiming
2022-01-13 15:57:36 +08:00
parent 772090017b
commit ec9123c805
5 changed files with 11 additions and 8 deletions

View File

@ -34,7 +34,7 @@
</div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
<button nz-button nzType="primary" [disabled]="service.http.loading" (click)="export()">导出</button>
<button nz-button nzType="primary" [disabled]="service.http.loading" (click)="exportFire()">导出</button>
<button nz-button [disabled]="service.http.loading"(click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}

View File

@ -280,9 +280,6 @@ export class VehicleComponentsListComponent implements OnInit {
},
];
}
daoyun(item: any) {
this.router.navigate(['./view', item.id], { relativeTo: this.ar });
}
expandToggle() {
this._$expand = !this._$expand;
this.sf?.setValue('/expand', this._$expand);
@ -298,7 +295,7 @@ export class VehicleComponentsListComponent implements OnInit {
this._$expand = false;
}
// 导出
export() {
exportFire() {
this.service.downloadFile(this.service.$api_carLicense_export, this.reqParams );
}
}