mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
improve
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
<h5>Status</h5>
|
<h5>Status</h5>
|
||||||
<ion-item class="ion-no-margin ion-no-padding">
|
<ion-item class="ion-no-margin ion-no-padding">
|
||||||
<p >{{LoadedDocument.Status}}</p>
|
<p >{{LoadedDocument.Status}}</p>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom-content width-100">
|
<div class="bottom-content width-100">
|
||||||
@@ -49,18 +49,15 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ LoadedDocument | json }}
|
|
||||||
|
|
||||||
<div *ngIf="LoadedDocument" class="aside-right flex-column height-100">
|
<div *ngIf="LoadedDocument" class="aside-right flex-column height-100">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button (click)="openExpedientActionsModal('0')" class="btn-ok" shape="round" >Efectuar Despacho</button>
|
<button (click)="openExpedientActionsModal('0')" class="btn-ok" shape="round" >Efectuar Despacho</button>
|
||||||
<div class="solid"></div>
|
<div class="solid"></div>
|
||||||
<button (click)="openExpedientActionsModal('0')" class="btn-cancel" shape="round" >Solicitar Parecer</button>
|
<button (click)="openExpedientActionsModal('0')" class="btn-cancel" shape="round" >Solicitar Parecer</button>
|
||||||
<button (click)="openExpedientActionsModal('2')" class="btn-cancel" shape="round" >Pedido de Deferimento</button>
|
<button (click)="openExpedientActionsModal('2')" class="btn-cancel" shape="round" >Pedido de Deferimento</button>
|
||||||
<button (click)="openBookMeetingModal()" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
<!-- <button (click)="openBookMeetingModal()" class="btn-cancel" shape="round" >Marcar Reunião</button> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -89,16 +89,16 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
Subject: this.LoadedDocument.Assunto
|
Subject: this.LoadedDocument.Assunto
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} else if (this.LoadedDocument.ApplicationID == 8) {
|
} else if (this.LoadedDocument.ApplicationID == 8 || this.LoadedDocument.ApplicationId == 8) {
|
||||||
task = {
|
task = {
|
||||||
serialNumber: this.LoadedDocument.SourceId,
|
serialNumber: this.LoadedDocument.DocId,
|
||||||
taskStartDate: this.LoadedDocument.CreateDate,
|
taskStartDate: this.LoadedDocument.DocDate,
|
||||||
isEvent: true,
|
isEvent: true,
|
||||||
workflowInstanceDataFields: {
|
workflowInstanceDataFields: {
|
||||||
FsId: this.LoadedDocument.ApplicationID,
|
FsId: this.LoadedDocument.ApplicationID || this.LoadedDocument.ApplicationId,
|
||||||
FolderID: null,
|
FolderID: null,
|
||||||
DocId: this.LoadedDocument.SourceId,
|
DocId: this.LoadedDocument.DocId,
|
||||||
Subject: this.LoadedDocument.SourceName
|
Subject: this.LoadedDocument.Assunto
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -120,10 +120,8 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
await modal.present();
|
await modal.present();
|
||||||
modal.onDidDismiss().then( async(res)=>{});
|
modal.onDidDismiss().then( async(res)=>{});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async openBookMeetingModal() {
|
async openBookMeetingModal() {
|
||||||
|
|
||||||
let task;
|
let task;
|
||||||
@@ -133,6 +131,8 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
serialNumber: this.LoadedDocument.DispatchNumber,
|
serialNumber: this.LoadedDocument.DispatchNumber,
|
||||||
taskStartDate: this.LoadedDocument.DateDispatch,
|
taskStartDate: this.LoadedDocument.DateDispatch,
|
||||||
isEvent: true,
|
isEvent: true,
|
||||||
|
Folio: this.LoadedDocument.Assunto,
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
workflowInstanceDataFields: {
|
workflowInstanceDataFields: {
|
||||||
FsId: this.LoadedDocument.ApplicationID,
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
FolderID: null,
|
FolderID: null,
|
||||||
@@ -140,11 +140,13 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
Subject: this.LoadedDocument.Assunto
|
Subject: this.LoadedDocument.Assunto
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} else if (this.LoadedDocument.ApplicationID == 8) {
|
} else if (this.LoadedDocument.ApplicationID == 8 || this.LoadedDocument.ApplicationId == 8) {
|
||||||
task = {
|
task = {
|
||||||
serialNumber: this.LoadedDocument.SourceId,
|
serialNumber: this.LoadedDocument.SourceId,
|
||||||
taskStartDate: this.LoadedDocument.CreateDate,
|
taskStartDate: this.LoadedDocument.CreateDate,
|
||||||
isEvent: true,
|
isEvent: true,
|
||||||
|
Folio: this.LoadedDocument.Assunto,
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
workflowInstanceDataFields: {
|
workflowInstanceDataFields: {
|
||||||
FsId: this.LoadedDocument.ApplicationID,
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
FolderID: null,
|
FolderID: null,
|
||||||
@@ -172,5 +174,4 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
modal.onDidDismiss();
|
modal.onDidDismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -215,7 +215,6 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async saveTask(){
|
async saveTask(){
|
||||||
|
|
||||||
if(this.loggeduser.Profile == 'MDGPR') {
|
if(this.loggeduser.Profile == 'MDGPR') {
|
||||||
@@ -224,8 +223,9 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(this.Form.invalid) return false
|
|
||||||
|
|
||||||
|
// if(this.Form.invalid) return false
|
||||||
|
alert('!')
|
||||||
|
|
||||||
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
||||||
|
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<div class="content ion-align-items-center">
|
<div class="content ion-align-items-center">
|
||||||
|
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
<span class="result-name">{{ searchDocument.Assunto}} -- {{ searchDocument.ApplicationType}} </span>
|
<span class="result-name">{{ searchDocument.Assunto}}</span>
|
||||||
<span class="app-name" *ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' ">{{ searchDocument.appName}}</span>
|
<span class="app-name" *ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' ">{{ searchDocument.appName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
|
|||||||
@@ -61,6 +61,9 @@
|
|||||||
<span class="label">{{task.activityInstanceName}}</span>
|
<span class="label">{{task.activityInstanceName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-date">
|
<div class="exp-date">
|
||||||
|
|
||||||
|
{{ task.CreateDate }}
|
||||||
|
|
||||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yy' }}</ion-label>
|
<ion-label>{{ task.CreateDate | date: 'dd-MM-yy' }}</ion-label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user