mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
merge
This commit is contained in:
@@ -130,7 +130,7 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
async LoadTaskDetail(serial: string) {
|
||||
this.processes.GetTask(serial).subscribe((res: fullTask) => {
|
||||
console.log('despacho detail', res)
|
||||
|
||||
this.task = {
|
||||
"SerialNumber": res.serialNumber,
|
||||
"Folio": res.workflowInstanceDataFields.Subject,
|
||||
@@ -157,14 +157,14 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
this.processes.GetTaskParticipants(this.task.FolderID).subscribe(users => {
|
||||
this.updateProcessInterveners(users)
|
||||
console.log('interveniers online', users)
|
||||
|
||||
|
||||
this.intervenientes = users.filter(user => {
|
||||
console.log('interveniers online 2', users)
|
||||
|
||||
return user.Type == 'I';
|
||||
});
|
||||
this.cc = users.filter(user => {
|
||||
console.log('interveniers online 3', users)
|
||||
|
||||
return user.Type == 'CC';
|
||||
});
|
||||
});
|
||||
@@ -212,7 +212,7 @@ export class DespachoPage implements OnInit {
|
||||
origina = JSON.parse(process[0].originator)
|
||||
}
|
||||
|
||||
console.log('sqlite', process)
|
||||
|
||||
|
||||
this.task = {
|
||||
"SerialNumber": process[0].serialNumber,
|
||||
@@ -253,13 +253,13 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
this.fulltask = fulltak;
|
||||
|
||||
console.log('interveniers offline', intervine)
|
||||
|
||||
this.intervenientes = intervine.filter(user => {
|
||||
console.log('interveniers offline 2', user)
|
||||
|
||||
return user.Type == 'I';
|
||||
});
|
||||
this.cc = intervine.filter(user => {
|
||||
console.log('interveniers offline 3', user)
|
||||
|
||||
return user.Type == 'CC';
|
||||
});
|
||||
|
||||
@@ -271,7 +271,7 @@ export class DespachoPage implements OnInit {
|
||||
async viewDocument(docId: string, Document) {
|
||||
|
||||
|
||||
console.log(this.fulltask)
|
||||
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: ViewDocumentPage,
|
||||
@@ -474,7 +474,7 @@ export class DespachoPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
console.log(res['data']);
|
||||
|
||||
|
||||
if (res['data'] == 'openDiscart') {
|
||||
await this.distartExpedientModal();
|
||||
@@ -531,7 +531,7 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
|
||||
async distartExpedientModal() {
|
||||
console.log(this.fulltask);
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: DiscartExpedientModalPage,
|
||||
componentProps: {
|
||||
@@ -547,7 +547,7 @@ export class DespachoPage implements OnInit {
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
/* console.log('2Expedient Discard closed2');
|
||||
/*
|
||||
this.close();
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ export class DespachosPage implements OnInit {
|
||||
|
||||
await this.despachoRule.getList({ updateStore: true }).then((pre) => {
|
||||
this.listToPresent = pre;
|
||||
// console.log('despachooo', pre)
|
||||
//
|
||||
}).catch(() => {
|
||||
this.getFromDb()
|
||||
})
|
||||
@@ -103,7 +103,7 @@ export class DespachosPage implements OnInit {
|
||||
});
|
||||
|
||||
this.listToPresent = listtopresent;
|
||||
console.log('Tarefas de despach', this.listToPresent)
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user