mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix input filter
This commit is contained in:
@@ -47,7 +47,6 @@ export class TaskService {
|
||||
SessionStore = SessionStore
|
||||
|
||||
AllProcess = []
|
||||
showLoader: boolean = false
|
||||
showLoaderNum: number = 0
|
||||
loadCount = false
|
||||
loadNum = 0
|
||||
@@ -202,7 +201,6 @@ export class TaskService {
|
||||
|
||||
async LoadTask() {
|
||||
|
||||
this.showLoader = true
|
||||
|
||||
try {
|
||||
await this.loadExpedientes()
|
||||
@@ -225,7 +223,6 @@ export class TaskService {
|
||||
|
||||
await this.loadEventosParaAprovacao()
|
||||
this.loadCount = true
|
||||
this.showLoader = false;
|
||||
}
|
||||
|
||||
async loadDespachos() {
|
||||
@@ -267,7 +264,6 @@ export class TaskService {
|
||||
}
|
||||
|
||||
async loadPedidos() {
|
||||
this.showLoader = true
|
||||
this.showLoaderNum++
|
||||
|
||||
try {
|
||||
@@ -499,4 +495,29 @@ export class TaskService {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
taskCleaner(serialNumber: string) {
|
||||
const taskData = {
|
||||
serialNumber: serialNumber,
|
||||
action: "Conhecimento",
|
||||
ActionTypeId: 104,
|
||||
dataFields: {
|
||||
ReviewUserComment: "ii"
|
||||
},
|
||||
AttachmentList: {
|
||||
ProcessInstanceID: "",
|
||||
Attachments: []
|
||||
}
|
||||
};
|
||||
|
||||
this.processesbackend.CompleteTask(taskData).subscribe(
|
||||
response => {
|
||||
console.log('Task completed successfully:', response);
|
||||
},
|
||||
error => {
|
||||
console.error('Error completing task:', error);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user