From de365f2f7e31455d8ef6113d0ece4b2eb2385f11 Mon Sep 17 00:00:00 2001 From: Valdoveste Date: Fri, 1 Dec 2023 01:42:53 -0300 Subject: [PATCH] Unused --- .../process-create.component.ts | 20 ------------------- .../process-edit/process-edit.component.ts | 20 ------------------- 2 files changed, 40 deletions(-) diff --git a/src/app/components/processComponents/process-create/process-create.component.ts b/src/app/components/processComponents/process-create/process-create.component.ts index 180726f..3b33a01 100644 --- a/src/app/components/processComponents/process-create/process-create.component.ts +++ b/src/app/components/processComponents/process-create/process-create.component.ts @@ -5,10 +5,8 @@ import { FormGroup, FormControl, Validators } from '@angular/forms'; import { AmbitoService } from '../../../services/ambito.service'; import { ProcessoAmbito } from '../../../models/PROCESSO_AMBITO.model'; import { AreaDoDireitoService } from '../../../services/area-do-direito.service'; -import { CondicoesTentativaAcordoService } from '../../../services/condicoes-tentativa-acordo.service'; import { FaseService } from '../../../services/fase.service'; import { ForoTribunalOrgaoService } from '../../../services/foro-tribunal-orgao.service'; -import { MotivoDoEncerramentoService } from '../../../services/motivo-do-encerramento.service'; import { ProcessoPatronoResponsavel } from '../../../models/PROCESSO_PATRONO_RESPONSAVEL.model'; import { StatusService } from '../../../services/status.service'; import { TipoDeAcaoService } from '../../../services/tipo-de-acao.service'; @@ -42,10 +40,8 @@ export class ProcessCreateComponent implements OnInit { private ProcessoService: ProcessoService, private AmbitoService: AmbitoService, private AreaDoDireito: AreaDoDireitoService, - private CondicoesTentaivaAcordo: CondicoesTentativaAcordoService, private Fase: FaseService, private ForoTribunalOrgao: ForoTribunalOrgaoService, - private MotivoDoEncerramento: MotivoDoEncerramentoService, private Status: StatusService, private TipoDeAcao: TipoDeAcaoService, private Vara: VaraService, @@ -155,14 +151,6 @@ export class ProcessCreateComponent implements OnInit { error: (err: HttpErrorResponse) => console.log(err) }) - this.CondicoesTentaivaAcordo.getAllCondicoesTentativaAcordo() - .subscribe({ - next: (response: ProcessoCondicoesTentativaAcordo[]) => { - this.condicoesTentativaAcordo = response; - }, - error: (err: HttpErrorResponse) => console.log(err) - }) - this.Fase.getAllFase() .subscribe({ next: (response: ProcessoFase[]) => { @@ -179,14 +167,6 @@ export class ProcessCreateComponent implements OnInit { error: (err: HttpErrorResponse) => console.log(err) }) - this.MotivoDoEncerramento.getAllMotivoDoEncerramento() - .subscribe({ - next: (response: ProcessoMotivoDoEncerramento[]) => { - this.motivosDoEncerramento = response; - }, - error: (err: HttpErrorResponse) => console.log(err) - }) - this.Status.getAllStatus() .subscribe({ next: (response: ProcessoStatus[]) => { diff --git a/src/app/components/processComponents/process-edit/process-edit.component.ts b/src/app/components/processComponents/process-edit/process-edit.component.ts index e640087..a7e97f9 100644 --- a/src/app/components/processComponents/process-edit/process-edit.component.ts +++ b/src/app/components/processComponents/process-edit/process-edit.component.ts @@ -20,10 +20,8 @@ import { ProcessoStatus } from '../../../models/PROCESSO_STATUS.model'; import { ProcessoTipoDeAcao } from '../../../models/PROCESSO_TIPO_DE_ACAO.model'; import { ProcessoVara } from '../../../models/PROCESSO_VARA.model'; import { AreaDoDireitoService } from '../../../services/area-do-direito.service'; -import { CondicoesTentativaAcordoService } from '../../../services/condicoes-tentativa-acordo.service'; import { FaseService } from '../../../services/fase.service'; import { ForoTribunalOrgaoService } from '../../../services/foro-tribunal-orgao.service'; -import { MotivoDoEncerramentoService } from '../../../services/motivo-do-encerramento.service'; import { PatronoResponsavelService } from '../../../services/patrono-responsavel.service'; import { StatusService } from '../../../services/status.service'; import { TipoDeAcaoService } from '../../../services/tipo-de-acao.service'; @@ -54,10 +52,8 @@ export class ProcessEditComponent implements OnInit { private ProcessoLogAlteracoesService: ProcessoLogAlteracoesService, private AmbitoService: AmbitoService, private AreaDoDireito: AreaDoDireitoService, - private CondicoesTentaivaAcordo: CondicoesTentativaAcordoService, private Fase: FaseService, private ForoTribunalOrgao: ForoTribunalOrgaoService, - private MotivoDoEncerramento: MotivoDoEncerramentoService, private Status: StatusService, private TipoDeAcao: TipoDeAcaoService, private Vara: VaraService, @@ -156,14 +152,6 @@ export class ProcessEditComponent implements OnInit { error: (err: HttpErrorResponse) => console.log(err) }) - this.CondicoesTentaivaAcordo.getAllCondicoesTentativaAcordo() - .subscribe({ - next: (response: ProcessoCondicoesTentativaAcordo[]) => { - this.condicoesTentativaAcordo = response; - }, - error: (err: HttpErrorResponse) => console.log(err) - }) - this.Fase.getAllFase() .subscribe({ next: (response: ProcessoFase[]) => { @@ -180,14 +168,6 @@ export class ProcessEditComponent implements OnInit { error: (err: HttpErrorResponse) => console.log(err) }) - this.MotivoDoEncerramento.getAllMotivoDoEncerramento() - .subscribe({ - next: (response: ProcessoMotivoDoEncerramento[]) => { - this.motivosDoEncerramento = response; - }, - error: (err: HttpErrorResponse) => console.log(err) - }) - this.Status.getAllStatus() .subscribe({ next: (response: ProcessoStatus[]) => {