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',
@@ -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">
+6 -6
View File
@@ -1,12 +1,12 @@
export let versionData = {
"shortSHA": "a87f46196",
"SHA": "a87f4619639be1cbd650c1744a828a3854e5d5e3",
"shortSHA": "45a401430",
"SHA": "45a4014307bb15795eb55a4b84de2f9e9c84f5ed",
"branch": "feature/gabineteLabels",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Tue Apr 18 09:37:41 2023 +0100'",
"lastCommitMessage": "fix gabinete labels",
"lastCommitNumber": "4917",
"lastCommitTime": "'Tue Apr 18 11:51:56 2023 +0100'",
"lastCommitMessage": "fix variables",
"lastCommitNumber": "4918",
"change": "",
"changeStatus": "On branch feature/gabineteLabels\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts",
"changeStatus": "On branch feature/gabineteLabels\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/modals/create-process/create-process.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despacho-pr/despacho-pr.page.ts\n\tmodified: src/app/shared/gabinete-digital/diplomas/diplomas.page.html",
"changeAuthor": "peter.maquiran"
}