mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix actions and draft data object
This commit is contained in:
@@ -108,7 +108,7 @@ export class CreateProcessPage implements OnInit {
|
||||
this.fulltask = this.navParams.get('fulltask');
|
||||
|
||||
|
||||
console.log('this.fulltask', this.fulltask)
|
||||
// console.log('this.fulltask', this.fulltask)
|
||||
|
||||
|
||||
// if(this.fulltask?.Documents) {
|
||||
@@ -121,7 +121,7 @@ export class CreateProcessPage implements OnInit {
|
||||
|
||||
|
||||
this.taskType = this.navParams.get('taskAction');
|
||||
console.log('this.taskType ',this.taskType )
|
||||
// console.log('this.taskType ',this.taskType )
|
||||
|
||||
this.postData = new Despacho();
|
||||
this.participants = this.participants = new Array();
|
||||
@@ -132,7 +132,7 @@ export class CreateProcessPage implements OnInit {
|
||||
} else {
|
||||
this.placeholderSubject = 'Selecione o tipo de assunto*'
|
||||
}
|
||||
|
||||
|
||||
|
||||
let NumberPDPP;
|
||||
|
||||
@@ -184,7 +184,7 @@ export class CreateProcessPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('crete process')
|
||||
// console.log('crete process')
|
||||
this.getSubjectType();
|
||||
/* setTimeout(() => {
|
||||
this.selectedTypes = ['99999850'];
|
||||
@@ -209,7 +209,7 @@ export class CreateProcessPage implements OnInit {
|
||||
|
||||
getSubjectType() {
|
||||
this.processes.GetSubjectType().subscribe(res => {
|
||||
console.log('subjectTypes',res)
|
||||
// console.log('subjectTypes',res)
|
||||
this.subjectTypes = res;
|
||||
});
|
||||
}
|
||||
@@ -326,7 +326,7 @@ export class CreateProcessPage implements OnInit {
|
||||
} else {
|
||||
|
||||
if (this.loggeduser.Profile != 'PR') {
|
||||
console.log('Despacho MD');
|
||||
// console.log('Despacho MD');
|
||||
switch (this.taskType) {
|
||||
case '0': // Despacho
|
||||
this.postData = {
|
||||
|
||||
Reference in New Issue
Block a user