mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3409] [ADF-3413] Standalone task - Attach/Remove forms bugs (#3670)
* Fix 3409 disable button logic Fix 3413 change the formName based on selected form * [ADF-3409] fixed missing import * [ADF-3409] fixed Observable.of in of
This commit is contained in:
committed by
Eugenio Romano
parent
e1d5ef6ee9
commit
8330ed2879
@@ -17,6 +17,76 @@
|
||||
|
||||
import { TaskDetailsModel } from '../../task-list/models/task-details.model';
|
||||
|
||||
export let standaloneTaskWithForm = new TaskDetailsModel({
|
||||
'id': '100',
|
||||
'name': 'Standalone Task With Form',
|
||||
'description': null,
|
||||
'category': null,
|
||||
'assignee': { 'id': 1001, 'firstName': 'Wilbur', 'lastName': 'Adams', 'email': 'wilbur@app.activiti.com' },
|
||||
'created': '2016-11-03T15:25:42.749+0000',
|
||||
'dueDate': null,
|
||||
'endDate': null,
|
||||
'duration': null,
|
||||
'priority': 50,
|
||||
'parentTaskId': null,
|
||||
'parentTaskName': null,
|
||||
'processInstanceId': null,
|
||||
'processInstanceName': null,
|
||||
'processDefinitionId': null,
|
||||
'processDefinitionName': null,
|
||||
'processDefinitionDescription': null,
|
||||
'processDefinitionKey': null,
|
||||
'processDefinitionCategory': null,
|
||||
'processDefinitionVersion': null,
|
||||
'processDefinitionDeploymentId': null,
|
||||
'formKey': '222',
|
||||
'processInstanceStartUserId': null,
|
||||
'initiatorCanCompleteTask': false,
|
||||
'adhocTaskCanBeReassigned': false,
|
||||
'taskDefinitionKey': 'sid-DDECD9E4-0299-433F-9193-C3D905C3EEBE',
|
||||
'executionId': '86',
|
||||
'involvedGroups': [],
|
||||
'involvedPeople': [],
|
||||
'memberOfCandidateUsers': false,
|
||||
'managerOfCandidateGroup': false,
|
||||
'memberOfCandidateGroup': false
|
||||
});
|
||||
|
||||
export let standaloneTaskWithoutForm = new TaskDetailsModel({
|
||||
'id': '200',
|
||||
'name': 'Standalone Task Without Form',
|
||||
'description': null,
|
||||
'category': null,
|
||||
'assignee': { 'id': 1001, 'firstName': 'Wilbur', 'lastName': 'Adams', 'email': 'wilbur@app.activiti.com' },
|
||||
'created': '2016-11-03T15:25:42.749+0000',
|
||||
'dueDate': null,
|
||||
'endDate': null,
|
||||
'duration': null,
|
||||
'priority': 50,
|
||||
'parentTaskId': null,
|
||||
'parentTaskName': null,
|
||||
'processInstanceId': null,
|
||||
'processInstanceName': null,
|
||||
'processDefinitionId': null,
|
||||
'processDefinitionName': null,
|
||||
'processDefinitionDescription': null,
|
||||
'processDefinitionKey': null,
|
||||
'processDefinitionCategory': null,
|
||||
'processDefinitionVersion': null,
|
||||
'processDefinitionDeploymentId': null,
|
||||
'formKey': null,
|
||||
'processInstanceStartUserId': null,
|
||||
'initiatorCanCompleteTask': false,
|
||||
'adhocTaskCanBeReassigned': false,
|
||||
'taskDefinitionKey': 'sid-DDECD9E4-0299-433F-9193-C3D905C3EEBE',
|
||||
'executionId': '86',
|
||||
'involvedGroups': [],
|
||||
'involvedPeople': [],
|
||||
'memberOfCandidateUsers': false,
|
||||
'managerOfCandidateGroup': false,
|
||||
'memberOfCandidateGroup': false
|
||||
});
|
||||
|
||||
export let taskDetailsMock = new TaskDetailsModel({
|
||||
'id': '91',
|
||||
'name': 'Request translation',
|
||||
|
Reference in New Issue
Block a user