This commit is contained in:
潘晓云
2022-04-11 19:12:35 +08:00
parent 7878c02f58
commit 7f0d50e633
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { Component, OnInit, ViewChild } from '@angular/core';
import { Router } from '@angular/router';
import { STColumn, STComponent } from '@delon/abc/st';
import { STColumn, STComponent, STRequestOptions } from '@delon/abc/st';
import { NzModalRef } from 'ng-zorro-antd/modal';
import { ReportingService } from '../../services/reporting.service';
@ -23,13 +23,21 @@ export class DatatableReportingVerifyResultComponent implements OnInit {
get reqParams() {
return {
subjectType: this.subjectType,
subjectId: this.record?.orderId
subjectId: this.record?.orderId,
};
}
constructor(public service: ReportingService, private modalRef: NzModalRef, public router: Router) {
}
beforeReq(requestOptions: STRequestOptions) {
delete requestOptions?.body?.pageSize;
delete requestOptions?.body?.pageIndex;
return requestOptions;
}
ngOnInit(): void {
this.initST();
}