This commit is contained in:
Peter Maquiran
2022-06-03 16:53:50 +01:00
parent 7430bf7fe1
commit ee370f7e2e
29 changed files with 175 additions and 404 deletions
+1 -15
View File
@@ -51,20 +51,6 @@ export class DespachoService {
return this.processes.CompleteTask(body)
}
// reencaminhar(note:string, documents:any, serialnumber) {
// let body = {
// "serialNumber": serialnumber,
// "action": "Reencaminhar",
// "ActionTypeId": 98,
// "dataFields": {
// "ReviewUserComment": note,
// },
// "AttachmentList" :documents,
// }
// return this.processes.CompleteTask(body)
// }
executado(note:string, documents:any , serialnumber) {
let body = {
@@ -139,7 +125,7 @@ export class DespachoService {
"dataFields": {
"ReviewUserComment": note,
},
"AttachmentList" :documents,
"AttachmentList" :documents,
}
}
+2 -2
View File
@@ -29,13 +29,13 @@ export class PedidoService {
return this.processes.postDeferimento(body)
}
taskCompleteParecer({serialNumber}) {
taskCompleteParecer({serialNumber, note}) {
const body = {
"serialNumber": serialNumber,
"action": "Parecer",
"ActionTypeId": 92, // Pedido de parece
"dataFields": {
"ReviewUserComment": '',
"ReviewUserComment": note,
},
"AttachmentList" :null,
}