This commit is contained in:
Peter Maquiran
2023-09-19 10:21:23 +01:00
parent 527cc0f2a6
commit f51bd246fc
29 changed files with 754 additions and 261 deletions
@@ -110,9 +110,9 @@ export class CreateProcessPage implements OnInit {
console.log('this.fulltask', this.fulltask)
if(this.fulltask?.Documents) {
this.documents = this.fulltask.Documents
}
// if(this.fulltask?.Documents) {
// this.documents = this.fulltask.Documents
// }
if (this.task.SerialNumber) {
this.task.serialNumber = this.task.SerialNumber
@@ -355,7 +355,7 @@ export class CreateProcessPage implements OnInit {
DispatchFolder: this.dispatchFolder,
AttachmentList: docs
}
try {
if (this.task.activityInstanceName == 'Tarefa de Despacho' || this.task.activityInstanceName == 'Reexecutar Despacho') {
// create parecer
@@ -604,7 +604,7 @@ export class CreateProcessPage implements OnInit {
backdropDismiss: false
});
modal.onDidDismiss().then((data) => {
if (data) {
@@ -683,7 +683,7 @@ export class CreateProcessPage implements OnInit {
backdropDismiss: false
});
modal.onDidDismiss().then(res => {
if (res['data'] == 'close') {
this.modalController.dismiss(res['data'])
@@ -742,7 +742,7 @@ export class CreateProcessPage implements OnInit {
cssClass: classs,
backdropDismiss: false
});
modal.onDidDismiss().then((res) => {
}, (error) => {
@@ -770,7 +770,7 @@ export class CreateProcessPage implements OnInit {
select: true
}
});
modal.onDidDismiss().then((res) => {
if (res) {
const data = res.data;