remove uunsed

This commit is contained in:
Peter Maquiran
2024-10-21 10:15:48 +01:00
parent 661b449fb4
commit ac1f01b15b
40 changed files with 21 additions and 744 deletions
+11 -13
View File
@@ -5,7 +5,6 @@ import { Event } from 'src/app/models/event.model'
import { EventBody } from 'src/app/models/eventbody.model';
import { ProcessesService } from 'src/app/services/processes.service';
import { EventPerson } from 'src/app/models/eventperson.model';
import { EventsService } from 'src/app/services/events.service';
import { AttachmentsService } from 'src/app/services/attachments.service';
import { DiscartExpedientModalPage } from 'src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page';
import { AlertService } from 'src/app/services/alert.service';
@@ -27,10 +26,10 @@ import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
export class ForwardPage implements OnInit {
task: any;
note:string;
taskParticipants: EventPerson[] = [];
taskParticipantsCc: EventPerson[] = [];
taskDocId:string;
loadedAttachments:any;
@@ -51,7 +50,6 @@ export class ForwardPage implements OnInit {
private navParams: NavParams,
private processes:ProcessesService,
private attachmentsService: AttachmentsService,
private calendarService: EventsService,
public alertController: AlertController,
private alertService: AlertService,
private animationController: AnimationController,
@@ -70,7 +68,7 @@ export class ForwardPage implements OnInit {
ngOnInit() {
this.adding = "intervenient";
}
close() {
@@ -96,8 +94,8 @@ export class ForwardPage implements OnInit {
}
async assignar(note:string, documents:any) {
let body = {
"serialNumber": this.task.SerialNumber,
let body = {
"serialNumber": this.task.SerialNumber,
"action": "Reencaminhar",
"ActionTypeId": 98,
"dataFields": {
@@ -106,7 +104,7 @@ export class ForwardPage implements OnInit {
"AttachmentList" :documents,
}
}
notImplemented(){
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
}
@@ -123,7 +121,7 @@ export class ForwardPage implements OnInit {
ProcessInstanceID: "",
Attachments: DocumentToSave,
}
if(this.taskParticipants.length < 1){
this.toastService._badRequest("Selecione um destinatário");
}
@@ -196,11 +194,11 @@ export class ForwardPage implements OnInit {
async setIntervenient(data) {
this.taskParticipants = data;
}
async setIntervenientCC(data) {
this.taskParticipantsCc = data;
}
validateFormInputs(){
let formLocation = this.postData.Location.trim();
if(!this.postData.Location && formLocation.length <= 0){
@@ -212,7 +210,7 @@ export class ForwardPage implements OnInit {
this.taskParticipants = taskParticipants;
}
async getDoc() {
const modal = await this.modalController.create({
@@ -244,4 +242,4 @@ export class ForwardPage implements OnInit {
}
}