This commit is contained in:
Peter Maquiran
2023-04-18 14:38:32 +01:00
parent 45a4014307
commit 27fd1d8765
4 changed files with 17 additions and 10 deletions
@@ -283,6 +283,7 @@ export class CreateProcessPage implements OnInit {
this.dispatchFolder.SubjectTypes = this.selectedTypes;
const loader = this.toastService.loading()
console.log(this.fulltask, 'fulltask')
if (this.fulltask.activityInstanceName == "Assinar Diploma") {
this.postData = {
@@ -307,6 +308,7 @@ export class CreateProcessPage implements OnInit {
}
} else {
console.log('1')
if (this.loggeduser.Profile != 'PR') {
switch (this.taskType) {
case '0': // Despacho
@@ -394,6 +396,7 @@ export class CreateProcessPage implements OnInit {
} else if (this.loggeduser.Profile == 'PR') {
switch (this.taskType) {
case '0': // Despacho PR
console.log('12')
this.postData = {
DistributionType: "Paralelo",
CountryCode: 'AO',
@@ -424,6 +427,8 @@ export class CreateProcessPage implements OnInit {
loader.remove();
break;
case '1': // Pedido de Parecer
console.log('13')
this.postData = {
DistributionType: "Paralelo",
CountryCode: 'AO',
@@ -455,6 +460,7 @@ export class CreateProcessPage implements OnInit {
break;
case '2': // Pedido de Deferimento
console.log('123')
this.postData = {
DistributionType: "Paralelo",
CountryCode: 'AO',