mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
remove uunsed
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user