mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
a lot of changes
This commit is contained in:
@@ -175,6 +175,7 @@ export class CreateProcessPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('crete process')
|
||||
this.getSubjectType();
|
||||
setTimeout(() => {
|
||||
this.selectedTypes = ['99999850'];
|
||||
@@ -199,6 +200,7 @@ export class CreateProcessPage implements OnInit {
|
||||
|
||||
getSubjectType() {
|
||||
this.processes.GetSubjectType().subscribe(res => {
|
||||
console.log('subjectTypes',res)
|
||||
this.subjectTypes = res;
|
||||
});
|
||||
}
|
||||
@@ -315,6 +317,7 @@ export class CreateProcessPage implements OnInit {
|
||||
} else {
|
||||
|
||||
if (this.loggeduser.Profile != 'PR') {
|
||||
console.log('Despacho MD');
|
||||
switch (this.taskType) {
|
||||
case '0': // Despacho
|
||||
this.postData = {
|
||||
@@ -399,6 +402,7 @@ export class CreateProcessPage implements OnInit {
|
||||
break;
|
||||
}
|
||||
} else if (this.loggeduser.Profile == 'PR') {
|
||||
console.log('Despacho PR');
|
||||
switch (this.taskType) {
|
||||
case '0': // Despacho PR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user