From 2c208636e6e1dce9ba5efd8b43924a20ab98e656 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 19 Jan 2022 13:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/complaint/complaint.component.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/app/routes/order-management/components/complaint/complaint.component.ts b/src/app/routes/order-management/components/complaint/complaint.component.ts index 6cef6240..919b1453 100644 --- a/src/app/routes/order-management/components/complaint/complaint.component.ts +++ b/src/app/routes/order-management/components/complaint/complaint.component.ts @@ -68,13 +68,19 @@ export class OrderManagementComplaintComponent implements OnInit { * 查询参数 */ get reqParams() { - const a:any = {}; + const a: any = {}; if(this.resourceStatus) { a.complaintStatus = this.resourceStatus } + const params: any = Object.assign({}, this.sf?.value || {}); + delete params._$expand; return { ...a, - ...this.sf?.value, + ...params, + complainantTime: { + start: this.sf?.value?.complainantTime?.[0] || '', + end: this.sf?.value?.complainantTime?.[1] || '' + } }; } get selectedRows() { @@ -98,7 +104,7 @@ export class OrderManagementComplaintComponent implements OnInit { type: 'string', title: '投诉单号', }, - createTime: { + complainantTime: { title: '投诉时间', type: 'string', ui: {