mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -130,8 +130,9 @@ export class DespachoPrPage implements OnInit {
|
||||
"TaskStartDate": res.taskStartDate
|
||||
}
|
||||
this.fulltask = res;
|
||||
|
||||
this.updateProcessOnDB(res);
|
||||
|
||||
console.log('this.fulltask', this.fulltask)
|
||||
let thedate = new Date(this.task.CreateDate);
|
||||
this.customDate = this.days[thedate.getDay()] + ", " + thedate.getDate() + " de " + (this.months[thedate.getMonth()]);
|
||||
|
||||
@@ -416,13 +417,15 @@ export class DespachoPrPage implements OnInit {
|
||||
} else {
|
||||
classs = 'modal modal-desktop showAsideOptions'
|
||||
}
|
||||
|
||||
// console.log('this.fulltask send', this.fulltask)
|
||||
const modal = await this.modalController.create({
|
||||
component: CreateProcessPage,
|
||||
componentProps: {
|
||||
taskAction: taskAction,
|
||||
task: task,
|
||||
profile: this.profile,
|
||||
fulltak: this.fulltask
|
||||
fulltask: this.fulltask
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="exp-top-detail">
|
||||
<div class="subject">
|
||||
{{ task.taskStatus || task.TaskStatus }}
|
||||
<ion-label [class.gb-seen]="TaskService.seen(task)">{{ task.Folio }}</ion-label>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
@@ -103,7 +102,6 @@
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="exp-top-detail">
|
||||
<div class="subject">
|
||||
{{ task.taskStatus || task.TaskStatus }}
|
||||
<ion-label [class.gb-seen]="TaskService.seen(task)">{{ task.Folio }}</ion-label>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
|
||||
Reference in New Issue
Block a user