mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -267,9 +267,8 @@ export class CreateProcessPage implements OnInit {
|
|||||||
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
||||||
const loader = this.toastService.loading()
|
const loader = this.toastService.loading()
|
||||||
|
|
||||||
switch (this.loggeduser.Profile) {
|
|
||||||
case 'MDGPR':
|
|
||||||
|
|
||||||
|
if(this.loggeduser.Profile != 'PR') {
|
||||||
switch (this.taskType) {
|
switch (this.taskType) {
|
||||||
case '0': // Despacho
|
case '0': // Despacho
|
||||||
this.postData = {
|
this.postData = {
|
||||||
@@ -349,10 +348,7 @@ export class CreateProcessPage implements OnInit {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if (this.loggeduser.Profile == 'PR') {
|
||||||
break;
|
|
||||||
|
|
||||||
case 'PR':
|
|
||||||
switch (this.taskType) {
|
switch (this.taskType) {
|
||||||
case '0': // Despacho PR
|
case '0': // Despacho PR
|
||||||
this.postData = {
|
this.postData = {
|
||||||
@@ -438,7 +434,6 @@ export class CreateProcessPage implements OnInit {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user