mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
change actions date field
This commit is contained in:
@@ -62,7 +62,7 @@ export class DiplomaPage implements OnInit {
|
||||
public TaskService: TaskService
|
||||
) {
|
||||
this.activatedRoute.paramMap.subscribe(params => {
|
||||
//
|
||||
//
|
||||
|
||||
if (params["params"].SerialNumber) {
|
||||
this.serialNumber = params["params"].SerialNumber;
|
||||
@@ -106,7 +106,7 @@ export class DiplomaPage implements OnInit {
|
||||
},
|
||||
translucent: true
|
||||
});
|
||||
|
||||
|
||||
popover.onDidDismiss().then(() => {
|
||||
this.TaskService.loadDiplomas()
|
||||
}, (error) => {
|
||||
@@ -122,7 +122,7 @@ export class DiplomaPage implements OnInit {
|
||||
async LoadTaskDetail(serial: string) {
|
||||
this.processes.GetTask(serial).subscribe(res => {
|
||||
this.TaskService.loadDiplomas();
|
||||
|
||||
|
||||
this.task = {
|
||||
"SerialNumber": res.serialNumber,
|
||||
"Folio": res.workflowInstanceDataFields.Subject,
|
||||
@@ -143,7 +143,7 @@ export class DiplomaPage implements OnInit {
|
||||
// this.updateProcessOnDB(res)
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||
|
||||
|
||||
this.mergedArray = []
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
@@ -197,7 +197,7 @@ export class DiplomaPage implements OnInit {
|
||||
|
||||
getFromDb() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
async viewDocument({Document, content}) {
|
||||
@@ -238,8 +238,8 @@ export class DiplomaPage implements OnInit {
|
||||
getDocumentDetails(forlderId: string, applicationId: string) {
|
||||
this.processes.GetDocumentDetails(forlderId, applicationId).subscribe(res => {
|
||||
this.attachments = res.Documents;
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@@ -429,7 +429,7 @@ export class DiplomaPage implements OnInit {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
close() {
|
||||
this.modalController.dismiss();
|
||||
@@ -439,7 +439,7 @@ export class DiplomaPage implements OnInit {
|
||||
// console.log(actionname)
|
||||
}
|
||||
|
||||
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
|
||||
let classs;
|
||||
@@ -460,7 +460,7 @@ export class DiplomaPage implements OnInit {
|
||||
});
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
|
||||
if (res['data'] == 'openDiscart') {
|
||||
await this.distartExpedientModal();
|
||||
@@ -468,7 +468,10 @@ export class DiplomaPage implements OnInit {
|
||||
|
||||
this.TaskService.loadDiplomas()
|
||||
|
||||
this.goBack();
|
||||
if(taskAction != '0') {
|
||||
this.goBack();
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
@@ -477,7 +480,7 @@ export class DiplomaPage implements OnInit {
|
||||
}
|
||||
|
||||
async distartExpedientModal() {
|
||||
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: DiscartExpedientModalPage,
|
||||
componentProps: {
|
||||
@@ -494,7 +497,7 @@ export class DiplomaPage implements OnInit {
|
||||
this.TaskService.loadDiplomas()
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
/*
|
||||
/*
|
||||
this.close();
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user