mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix
This commit is contained in:
@@ -151,8 +151,7 @@ export class customTask {
|
|||||||
Subject: string
|
Subject: string
|
||||||
Note: string
|
Note: string
|
||||||
InstanceID: string
|
InstanceID: string
|
||||||
|
DeadlineType: string
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ export class DespachoPrPage implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
window['tinyupdate'] = () => {
|
||||||
|
this.LoadTaskDetail(this.serialNumber);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -118,6 +122,7 @@ export class DespachoPrPage implements OnInit {
|
|||||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||||
|
|
||||||
|
this.mergedArray = []
|
||||||
try {
|
try {
|
||||||
this.getDraft(split_stringDraft);
|
this.getDraft(split_stringDraft);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -77,6 +77,11 @@ export class DespachoPage implements OnInit {
|
|||||||
this.caller = params["params"].caller;
|
this.caller = params["params"].caller;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
window['tinyupdate'] = () => {
|
||||||
|
this.LoadTaskDetail(this.serialnumber);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -113,6 +118,7 @@ export class DespachoPage implements OnInit {
|
|||||||
console.log('sring to array', stringDraft)
|
console.log('sring to array', stringDraft)
|
||||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||||
|
|
||||||
|
this.mergedArray = []
|
||||||
try {
|
try {
|
||||||
this.getDraft(split_stringDraft);
|
this.getDraft(split_stringDraft);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
+14
-80
@@ -1,85 +1,19 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<!-- <app-header > </app-header> -->
|
|
||||||
</ion-header>
|
|
||||||
|
|
||||||
<ion-content class="container-wrapper">
|
<ion-content class="container-wrapper">
|
||||||
<div class="main-content d-flex height-100 overflow-hidden">
|
<div class="main-content d-flex height-100 overflow-hidden">
|
||||||
<div class="content d-flex flex-column" *ngIf="task">
|
|
||||||
<div class="main-header">
|
<app-task-details
|
||||||
<div class="title-content width-100 d-flex justify-space-between">
|
*ngIf="task"
|
||||||
<div class="font-30-rem cursor-pointer" (click)="goBack()" defaultHref="#">
|
[task]=task
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
[intervenientes]=intervenientes
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/doneIt/icons-calendar-arrow-left.svg"></ion-icon>
|
[cc]=cc
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
[customDate]=customDate
|
||||||
</div>
|
[mergedArray]="mergedArray"
|
||||||
<div class="middle d-flex align-center flex-grow-1 ">
|
(openOptions)= openOptions()
|
||||||
<ion-label class="title">{{ task.Folio}}</ion-label>
|
(goBack)= goBack()
|
||||||
</div>
|
(viewDocument)=viewDocument($event)
|
||||||
<div class="div-icon" (click)="openOptions()">
|
class="content d-flex flex-column"
|
||||||
<!-- <ion-menu-button autoHide="false">
|
|
||||||
<ion-icon name="ellipsis-vertical-outline"></ion-icon>
|
></app-task-details>
|
||||||
</ion-menu-button> -->
|
|
||||||
<ion-icon class="font-25 cursor-pointer" name="ellipsis-vertical-outline"></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="upper-content">
|
|
||||||
<div class="content-details">
|
|
||||||
<ion-label>
|
|
||||||
<p><span class="date">{{customDate}}</span></p>
|
|
||||||
</ion-label>
|
|
||||||
<ion-label>
|
|
||||||
<p><span class="color-red">{{ task.DeadlineType }}</span></p>
|
|
||||||
</ion-label>
|
|
||||||
<ion-label>
|
|
||||||
<p class="d-flex mt-10"><span class="label">{{ task.activityInstanceName }}</span></p>
|
|
||||||
</ion-label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="line"></div>
|
|
||||||
<div class="middle-content">
|
|
||||||
<h5 *ngIf="intervenientes">Intervenientes</h5>
|
|
||||||
<ion-item class="ion-no-margin ion-no-padding">
|
|
||||||
<ion-label>
|
|
||||||
<div *ngFor="let interveniente of intervenientes">
|
|
||||||
<p>{{interveniente.Name}}</p>
|
|
||||||
</div>
|
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
|
||||||
<div *ngIf="cc.length > 0">
|
|
||||||
<h5 class="font-17-rem">Com conhecimento</h5>
|
|
||||||
<ion-item class="ion-no-margin ion-no-padding">
|
|
||||||
<ion-label>
|
|
||||||
<div *ngFor="let c of cc">
|
|
||||||
<p>{{c.Name}}</p>
|
|
||||||
</div>
|
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="fulltask.workflowInstanceDataFields.TaskMessage">
|
|
||||||
<h5 class="font-17-rem">Detalhes</h5>
|
|
||||||
<ion-item class="ion-no-margin ion-no-padding">
|
|
||||||
<pre class="width-100 text">{{ fulltask.workflowInstanceDataFields.TaskMessage }} </pre>
|
|
||||||
</ion-item>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="bottom-content width-100">
|
|
||||||
<ion-list>
|
|
||||||
<h5 class="font-17-rem">Documentos Anexados</h5>
|
|
||||||
<ion-item *ngFor="let attachment of mergedArray"
|
|
||||||
class="ion-no-margin ion-no-padding cursor-pointer"
|
|
||||||
>
|
|
||||||
<ion-label
|
|
||||||
(click)="viewDocument(attachment.DocId, attachment,attachment.content)"
|
|
||||||
>
|
|
||||||
<p *ngIf="attachment.Assunto" class="attach-title-item">{{ attachment.Assunto }} <span class="document-type" *ngIf="attachment.content != ''">Rascunho</span></p>
|
|
||||||
<p *ngIf="!attachment.Assunto" class="attach-title-item">{{ attachment.DocNumber }}<span class="span-right color-red btn-size"><ion-icon hidden name="close"></ion-icon></span></p>
|
|
||||||
<p><span class="span-left">{{attachment.Sender}}</span><span class="span-right">{{ attachment.DocDate | date: 'dd/MM/yy' }}</span></p>
|
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
|
||||||
</ion-list>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
|||||||
+1
-2
@@ -9,7 +9,7 @@
|
|||||||
border-top-left-radius: 24px;
|
border-top-left-radius: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-content, .header-2, .main-content{
|
ion-content, .header-2{
|
||||||
padding: 30px 20px 0 20px !important;
|
padding: 30px 20px 0 20px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +37,6 @@ ion-content, .header-2, .main-content{
|
|||||||
border-top-right-radius: 25px;
|
border-top-right-radius: 25px;
|
||||||
}
|
}
|
||||||
.content{
|
.content{
|
||||||
padding: 30px 20px 0 20px !important;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-1
@@ -61,6 +61,11 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
window['tinyupdate'] = () => {
|
||||||
|
this.LoadTaskDetail(this.serialnumber);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -125,6 +130,8 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
|
|
||||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||||
|
|
||||||
|
this.mergedArray = []
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.getDraft(split_stringDraft);
|
this.getDraft(split_stringDraft);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -160,7 +167,7 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async viewDocument(docId: string, Document, content) {
|
async viewDocument({Document, content}) {
|
||||||
|
|
||||||
if (Document.content == "") {
|
if (Document.content == "") {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
|
|||||||
@@ -69,6 +69,11 @@ export class DiplomaPage implements OnInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
window['tinyupdate'] = () => {
|
||||||
|
this.LoadTaskDetail(this.serialNumber);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -135,6 +140,7 @@ export class DiplomaPage implements OnInit {
|
|||||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||||
|
|
||||||
|
this.mergedArray = []
|
||||||
try {
|
try {
|
||||||
this.getDraft(split_stringDraft);
|
this.getDraft(split_stringDraft);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -278,10 +278,12 @@ ion-content{
|
|||||||
width: 84%;
|
width: 84%;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
ion-label{
|
ion-label{
|
||||||
margin: 0 !important;
|
float: left;
|
||||||
padding: 2.5px 10.5px 2.5px 10.5px;
|
display: inline;
|
||||||
}
|
margin: 0 !important;
|
||||||
|
padding: 2.5px 10.5px 2.5px 10.5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-icon{
|
.item-icon{
|
||||||
@@ -697,6 +699,9 @@ ion-content{
|
|||||||
font-size: rem(13);
|
font-size: rem(13);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.new-task {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.search-input-container{
|
.search-input-container{
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|||||||
@@ -31,7 +31,8 @@ export class CustomTaskPipe implements PipeTransform {
|
|||||||
"TaskStatus": fullTask.taskStatus,
|
"TaskStatus": fullTask.taskStatus,
|
||||||
"TaskReceiveDate": fullTask.taskReceiveDate,
|
"TaskReceiveDate": fullTask.taskReceiveDate,
|
||||||
"Note": fullTask.workflowInstanceDataFields.TaskMessage,
|
"Note": fullTask.workflowInstanceDataFields.TaskMessage,
|
||||||
"InstanceID": fullTask.workflowInstanceDataFields.InstanceID
|
"InstanceID": fullTask.workflowInstanceDataFields?.InstanceID,
|
||||||
|
"DeadlineType": fullTask.workflowInstanceDataFields?.InstanceID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<p><span class="date">{{customDate}}</span></p>
|
<p><span class="date">{{customDate}}</span></p>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<p><span class="color-red">{{ task.Deadline }}</span></p>
|
<p><span class="color-red">{{ task.DeadlineType }}</span></p>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<p class="d-flex mt-10"><span class="label">{{ task.activityInstanceName }}</span></p>
|
<p class="d-flex mt-10"><span class="label">{{ task.activityInstanceName }}</span></p>
|
||||||
|
|||||||
+5
-4
@@ -76,10 +76,11 @@ export class EventDetailsDocumentsOptionsPage implements OnInit {
|
|||||||
"path": document.path,
|
"path": document.path,
|
||||||
"ownerId": document.ownerId
|
"ownerId": document.ownerId
|
||||||
}
|
}
|
||||||
this.processService.SaveDraftByID(document.DocId, objectDraft).subscribe((res) => [
|
this.processService.SaveDraftByID(document.DocId, objectDraft).subscribe((res) => {
|
||||||
this.erroHandler.httpsSucessMessagge('Draft Save'),
|
this.erroHandler.httpsSucessMessagge('Draft Save');
|
||||||
this.modalController.dismiss()
|
this.modalController.dismiss();
|
||||||
],(error) => {
|
window['tinyupdate']()
|
||||||
|
},(error) => {
|
||||||
this.erroHandler.httpStatusHandle(error)
|
this.erroHandler.httpStatusHandle(error)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "4143a2d00",
|
"shortSHA": "ad722c0fe",
|
||||||
"SHA": "4143a2d00718942f0ca98bd09b0e19b38053266e",
|
"SHA": "ad722c0feaaf81cd6030fd9de7ae34269f4b5d58",
|
||||||
"branch": "developer-catch-merge",
|
"branch": "developer-catch-merge",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Fri Jul 21 10:21:10 2023 +0100'",
|
"lastCommitTime": "'Fri Jul 21 10:48:26 2023 +0100'",
|
||||||
"lastCommitMessage": "merge",
|
"lastCommitMessage": "fix",
|
||||||
"lastCommitNumber": "5095",
|
"lastCommitNumber": "5096",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch developer-catch-merge\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/shared/popover/deploma-options/deploma-options.page.html\n\tmodified: src/app/shared/popover/deploma-options/deploma-options.page.ts",
|
"changeStatus": "On branch developer-catch-merge\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/models/dailyworktask.model.ts\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despacho-pr/despacho-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.scss\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas/diploma/diploma.page.ts\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.scss\n\tmodified: src/app/pipes/custom-task.pipe.ts\n\tmodified: src/app/shared/gabinete-digital/generic/task-details/task-details.page.html\n\tmodified: src/app/shared/popover/event-details-documents-options/event-details-documents-options.page.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user