mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
improve
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user