车辆接口更新
This commit is contained in:
@ -59,8 +59,8 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
|
||||
*/
|
||||
get reqParams() {
|
||||
const a: any = {};
|
||||
if (this.resourceStatus) {
|
||||
a.billStatus = this.resourceStatus;
|
||||
if (this.resourceStatus >= 0) {
|
||||
a.complianceStatus = this.resourceStatus;
|
||||
}
|
||||
const params: any = Object.assign({}, this.sf?.value || {});
|
||||
delete params._$expand;
|
||||
@ -98,8 +98,8 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
|
||||
unstayQuantity: 0
|
||||
};
|
||||
const params: any = Object.assign({}, this.reqParams || {});
|
||||
delete params.billStatus
|
||||
this.service.request(this.service.$api_get_getComplianceStatisticalStatus, { ...this.reqParams }).subscribe(res => {
|
||||
delete params.complianceStatus
|
||||
this.service.request(this.service.$api_get_getComplianceStatisticalStatus, params).subscribe(res => {
|
||||
if (res) {
|
||||
let totalCount = 0;
|
||||
res.forEach((element: any) => {
|
||||
@ -117,7 +117,7 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
selectChange(e: number) {
|
||||
this.resourceStatus = e;
|
||||
this.resourceStatus = e - 1;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
this.st.load();
|
||||
|
||||
Reference in New Issue
Block a user