mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
-1
@@ -93,7 +93,6 @@ export class ActivitiProcessInstanceDetails {
|
|||||||
this.tasksList.load(this.processInstanceDetails.id);
|
this.tasksList.load(this.processInstanceDetails.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('Loaded process instance', this.processInstanceDetails);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -68,7 +68,6 @@ export class ActivitiProcessInstanceHeader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cancelProcess() {
|
cancelProcess() {
|
||||||
console.log('Cancel process', this.processInstance);
|
|
||||||
this.processCancelled.emit(this.activitiProcess.cancelProcess(this.processInstance.id));
|
this.processCancelled.emit(this.activitiProcess.cancelProcess(this.processInstance.id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -149,7 +149,6 @@ export class ActivitiProcessInstanceTasks implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public clickTask($event: any, task: TaskDetailsModel) {
|
public clickTask($event: any, task: TaskDetailsModel) {
|
||||||
console.log('selected task', task);
|
|
||||||
this.selectedTaskId = task.id;
|
this.selectedTaskId = task.id;
|
||||||
this.taskdetails.loadDetails(task.id);
|
this.taskdetails.loadDetails(task.id);
|
||||||
this.showDialog();
|
this.showDialog();
|
||||||
|
|||||||
-1
@@ -84,7 +84,6 @@ export class ActivitiStartProcessButton implements OnInit {
|
|||||||
if (this.processDefinition && this.name) {
|
if (this.processDefinition && this.name) {
|
||||||
this.activitiProcess.startProcess(this.processDefinition, this.name).subscribe(
|
this.activitiProcess.startProcess(this.processDefinition, this.name).subscribe(
|
||||||
(res: any) => {
|
(res: any) => {
|
||||||
console.log('Created process', res);
|
|
||||||
this.cancel();
|
this.cancel();
|
||||||
},
|
},
|
||||||
(err) => {
|
(err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user