mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
AAE-29345 Add date filtering to service tasks page (#10502)
This commit is contained in:
parent
86fe8cdc23
commit
91b30630b3
@ -229,6 +229,9 @@ export interface ServiceTaskFilterCloudModel {
|
||||
activityName?: string;
|
||||
activityType?: string;
|
||||
completedDate?: Date;
|
||||
completedDateType?: DateCloudFilterType;
|
||||
completedFrom?: string;
|
||||
completedTo?: string;
|
||||
elementId?: string;
|
||||
executionId?: string;
|
||||
processDefinitionId?: string;
|
||||
@ -240,6 +243,9 @@ export interface ServiceTaskFilterCloudModel {
|
||||
serviceName?: string;
|
||||
serviceVersion?: string;
|
||||
startedDate?: Date;
|
||||
startedDateType?: DateCloudFilterType;
|
||||
startedFrom?: string;
|
||||
startedTo?: string;
|
||||
}
|
||||
|
||||
export interface FilterParamsModel {
|
||||
|
@ -84,11 +84,13 @@ export class ServiceTaskListCloudComponent extends BaseTaskListCloudComponent {
|
||||
maxItems: this.size,
|
||||
skipCount: this.skipCount,
|
||||
sorting: this.sorting,
|
||||
id: this.queryParams?.serviceTaskId,
|
||||
serviceTaskId: this.queryParams?.serviceTaskId,
|
||||
environmentId: this.queryParams?.environmentId,
|
||||
activityName: this.queryParams?.activityName,
|
||||
activityType: this.queryParams?.activityType,
|
||||
completedDate: this.queryParams?.completedDate,
|
||||
completedFrom: this.queryParams?.completedFrom,
|
||||
completedTo: this.queryParams?.completedTo,
|
||||
elementId: this.queryParams?.elementId,
|
||||
executionId: this.queryParams?.executionId,
|
||||
processDefinitionId: this.queryParams?.processDefinitionId,
|
||||
@ -99,6 +101,8 @@ export class ServiceTaskListCloudComponent extends BaseTaskListCloudComponent {
|
||||
serviceName: this.queryParams?.serviceName,
|
||||
serviceVersion: this.queryParams?.serviceVersion,
|
||||
startedDate: this.queryParams?.startedDate,
|
||||
startedFrom: this.queryParams?.startedFrom,
|
||||
startedTo: this.queryParams?.startedTo,
|
||||
status: this.queryParams?.status
|
||||
} as ServiceTaskQueryCloudRequestModel;
|
||||
return requestNode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user