@orbe-agro/client-core 5.6.164 → 5.6.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@ecme/assets/styles/app.css +622 -104
- package/dist/@ecme/assets/styles/components/index.css +352 -11
- package/dist/@ecme/assets/styles/template/index.css +0 -6
- package/dist/@ecme/assets/styles/vendors/index.css +0 -75
- package/dist/@ecme/components/template/Footer.js +1 -1
- package/dist/@types/base/@types/models/performance/ppr.d.ts +65 -0
- package/dist/@types/base/@types/models/performance/ppr.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +200 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/agenda.d.ts +36 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/agenda.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/contratos.d.ts +44 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/contratos.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/dashboard.d.ts +40 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/dashboard.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/notasFiscais.d.ts +28 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/notasFiscais.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/pagamentos.d.ts +36 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/pagamentos.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/planoPagamento.d.ts +24 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/config/planoPagamento.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/gestaoServicos.d.ts +196 -0
- package/dist/@types/base/configs/endpoints.config/gestaoServicos/gestaoServicos.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/performance/config/ppr.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/performance/config/ppr.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/performance/performance.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/performance/performance.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/modules.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/modules.submenu/gestao-processos/submenu.gestao-processos.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/modules.submenu/gestao-processos/submenu.gestao-processos.d.ts.map +1 -0
- package/dist/@types/base/configs/navigation.config/submenu/performance/config/ppr.submenu.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/submenu/performance/config/preenchimentoResultadosPpr.submenu.d.ts +4 -0
- package/dist/@types/base/configs/navigation.config/submenu/performance/config/preenchimentoResultadosPpr.submenu.d.ts.map +1 -0
- package/dist/@types/base/services/modules/gestaoServicos/GestaoServicosService.d.ts +35 -0
- package/dist/@types/base/services/modules/gestaoServicos/GestaoServicosService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/gestaoServicos/index.d.ts +1 -0
- package/dist/@types/base/services/modules/gestaoServicos/index.d.ts.map +1 -1
- package/dist/@types/base/services/modules/performance/PerformanceService.d.ts +9 -1
- package/dist/@types/base/services/modules/performance/PerformanceService.d.ts.map +1 -1
- package/dist/base/assets/styles/init.css +1125 -356
- package/dist/base/configs/endpoints.config/gestaoServicos/config/agenda.js +15 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/agenda.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/contratos.js +17 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/contratos.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/dashboard.js +16 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/dashboard.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/notasFiscais.js +13 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/notasFiscais.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/pagamentos.js +15 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/pagamentos.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/planoPagamento.js +12 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/config/planoPagamento.js.map +1 -0
- package/dist/base/configs/endpoints.config/gestaoServicos/gestaoServicos.js +13 -1
- package/dist/base/configs/endpoints.config/gestaoServicos/gestaoServicos.js.map +1 -1
- package/dist/base/configs/endpoints.config/performance/config/ppr.js +5 -1
- package/dist/base/configs/endpoints.config/performance/config/ppr.js.map +1 -1
- package/dist/base/configs/navigation.config/modules.navigation.js +3 -1
- package/dist/base/configs/navigation.config/modules.navigation.js.map +1 -1
- package/dist/base/configs/navigation.config/modules.submenu/gestao-processos/submenu.gestao-processos.js +27 -0
- package/dist/base/configs/navigation.config/modules.submenu/gestao-processos/submenu.gestao-processos.js.map +1 -0
- package/dist/base/configs/navigation.config/submenu/performance/config/ppr.submenu.js +3 -1
- package/dist/base/configs/navigation.config/submenu/performance/config/ppr.submenu.js.map +1 -1
- package/dist/base/configs/navigation.config/submenu/performance/config/preenchimentoResultadosPpr.submenu.js +17 -0
- package/dist/base/configs/navigation.config/submenu/performance/config/preenchimentoResultadosPpr.submenu.js.map +1 -0
- package/dist/base/index.js +6 -1
- package/dist/base/services/index.js +6 -1
- package/dist/base/services/modules/gestaoServicos/GestaoServicosService.js +259 -0
- package/dist/base/services/modules/gestaoServicos/GestaoServicosService.js.map +1 -0
- package/dist/base/services/modules/gestaoServicos/index.js +35 -1
- package/dist/base/services/modules/gestaoServicos/index.js.map +1 -1
- package/dist/base/services/modules/index.js +6 -1
- package/dist/base/services/modules/performance/PerformanceService.js +40 -0
- package/dist/base/services/modules/performance/PerformanceService.js.map +1 -1
- package/dist/base/services/modules/performance/index.js +6 -1
- package/lib/base/@types/models/performance/ppr.ts +71 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/agenda.ts +14 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/contratos.ts +16 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/dashboard.ts +15 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/notasFiscais.ts +12 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/pagamentos.ts +14 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/config/planoPagamento.ts +11 -0
- package/lib/base/configs/endpoints.config/gestaoServicos/gestaoServicos.ts +13 -1
- package/lib/base/configs/endpoints.config/performance/config/ppr.ts +4 -0
- package/lib/base/configs/navigation.config/modules.navigation.ts +2 -0
- package/lib/base/configs/navigation.config/modules.submenu/gestao-processos/submenu.gestao-processos.ts +27 -0
- package/lib/base/configs/navigation.config/submenu/performance/config/ppr.submenu.ts +2 -0
- package/lib/base/configs/navigation.config/submenu/performance/config/preenchimentoResultadosPpr.submenu.ts +17 -0
- package/lib/base/services/modules/gestaoServicos/GestaoServicosService.ts +268 -0
- package/lib/base/services/modules/gestaoServicos/index.ts +1 -0
- package/lib/base/services/modules/performance/PerformanceService.ts +45 -0
- package/package.json +1 -1
|
@@ -186,3 +186,74 @@ export type TUpdateIndicadorMetaSetorialPorCc = {
|
|
|
186
186
|
validadorId: number
|
|
187
187
|
escalonamentos: TEscalonamentoMetaSetorialPorCc[]
|
|
188
188
|
}
|
|
189
|
+
|
|
190
|
+
export type TStatusLancamentoPpr = 'PENDENTE' | 'AGUARDANDO_APROVACAO' | 'APROVADO' | 'RECUSADO'
|
|
191
|
+
|
|
192
|
+
export type TLancamentoResultadoPpr = {
|
|
193
|
+
id?: number
|
|
194
|
+
ano: number
|
|
195
|
+
periodo: number
|
|
196
|
+
indicadorMetaGlobalId?: number | null
|
|
197
|
+
indicadorMetaSetorialGeralId?: number | null
|
|
198
|
+
indicadorMetaSetorialPorCcId?: number | null
|
|
199
|
+
parametroCcId: number | null
|
|
200
|
+
valorRealizado: number
|
|
201
|
+
observacao?: string | null
|
|
202
|
+
status: TStatusLancamentoPpr
|
|
203
|
+
ativo?: boolean
|
|
204
|
+
dataCriacao?: string
|
|
205
|
+
dataAtualizacao?: string | null
|
|
206
|
+
usuarioCriacaoId?: number
|
|
207
|
+
usuarioAtualizacaoId?: number | null
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export type TSalvarLancamentoResultadoPpr = {
|
|
211
|
+
indicadorMetaGlobalId?: number | null
|
|
212
|
+
indicadorMetaSetorialGeralId?: number | null
|
|
213
|
+
indicadorMetaSetorialPorCcId?: number | null
|
|
214
|
+
parametroCcId: number | null
|
|
215
|
+
ano: number
|
|
216
|
+
periodo: number
|
|
217
|
+
valorRealizado: number
|
|
218
|
+
observacao?: string | null
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type TEnviarAprovacaoLancamentoResultadoPpr = {
|
|
222
|
+
indicadorMetaGlobalId?: number | null
|
|
223
|
+
indicadorMetaSetorialGeralId?: number | null
|
|
224
|
+
indicadorMetaSetorialPorCcId?: number | null
|
|
225
|
+
parametroCcId: number | null
|
|
226
|
+
ano: number
|
|
227
|
+
periodo: number
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export type TCentroCustoElegivel = {
|
|
231
|
+
parametroCcId: number
|
|
232
|
+
codigoCentroCusto: string
|
|
233
|
+
nomeCentroCusto: string
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type TIndicadorPreenchimentoElegivel = {
|
|
237
|
+
tipoIndicador: 'META_GLOBAL' | 'META_SETORIAL_GERAL' | 'META_SETORIAL_POR_CC'
|
|
238
|
+
indicadorId: number
|
|
239
|
+
nome: string
|
|
240
|
+
peso: number
|
|
241
|
+
metaPlanejada: number
|
|
242
|
+
unidadeMedida: string
|
|
243
|
+
formaCalculo: string
|
|
244
|
+
fonteDados: string
|
|
245
|
+
objetivo: string
|
|
246
|
+
polaridade: 'MAIOR_MELHOR' | 'MENOR_MELHOR'
|
|
247
|
+
frequencia: 'MENSAL' | 'BIMESTRAL' | 'TRIMESTRAL' | 'SEMESTRAL' | 'ANUAL'
|
|
248
|
+
parametroCcId: number | null
|
|
249
|
+
centroCustoNome: string | null
|
|
250
|
+
ano: number
|
|
251
|
+
periodo: number
|
|
252
|
+
periodoLabel: string
|
|
253
|
+
valorRealizado?: number | null
|
|
254
|
+
status?: TStatusLancamentoPpr | null
|
|
255
|
+
editavel: boolean
|
|
256
|
+
bloqueado: boolean
|
|
257
|
+
podeEnviarAprovacao: boolean
|
|
258
|
+
lancamentoExistenteId?: number | null
|
|
259
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const AGENDA_BASE_URL = '/gestao-servicos/api/gestao-servicos/agenda'
|
|
2
|
+
|
|
3
|
+
const agenda = {
|
|
4
|
+
findMonitor: { endpoint: `${AGENDA_BASE_URL}/find-monitor`, httpMethod: 'post' },
|
|
5
|
+
findOne: { endpoint: AGENDA_BASE_URL, httpMethod: 'get' },
|
|
6
|
+
gerar: { endpoint: `${AGENDA_BASE_URL}/gerar/{contratoId}`, httpMethod: 'post' },
|
|
7
|
+
marcarRealizada: { endpoint: `${AGENDA_BASE_URL}/{id}/realizada`, httpMethod: 'put' },
|
|
8
|
+
aprovar: { endpoint: `${AGENDA_BASE_URL}/{id}/aprovar`, httpMethod: 'put' },
|
|
9
|
+
reprovar: { endpoint: `${AGENDA_BASE_URL}/{id}/reprovar`, httpMethod: 'put' },
|
|
10
|
+
limparPrevistas: { endpoint: `${AGENDA_BASE_URL}/previstas/{contratoId}`, httpMethod: 'delete' },
|
|
11
|
+
executarSemNf: { endpoint: `${AGENDA_BASE_URL}/sem-nf`, httpMethod: 'get' },
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default agenda
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const CONTRATOS_BASE_URL = '/gestao-servicos/api/gestao-servicos/contratos'
|
|
2
|
+
|
|
3
|
+
const contratos = {
|
|
4
|
+
findMonitor: { endpoint: `${CONTRATOS_BASE_URL}/find-monitor`, httpMethod: 'post' },
|
|
5
|
+
findOne: { endpoint: CONTRATOS_BASE_URL, httpMethod: 'get' },
|
|
6
|
+
create: { endpoint: CONTRATOS_BASE_URL, httpMethod: 'post' },
|
|
7
|
+
update: { endpoint: CONTRATOS_BASE_URL, httpMethod: 'put' },
|
|
8
|
+
submeter: { endpoint: `${CONTRATOS_BASE_URL}/{id}/submeter`, httpMethod: 'post' },
|
|
9
|
+
aprovar: { endpoint: `${CONTRATOS_BASE_URL}/{id}/aprovar`, httpMethod: 'post' },
|
|
10
|
+
reprovar: { endpoint: `${CONTRATOS_BASE_URL}/{id}/reprovar`, httpMethod: 'post' },
|
|
11
|
+
encerrar: { endpoint: `${CONTRATOS_BASE_URL}/{id}/encerrar`, httpMethod: 'post' },
|
|
12
|
+
vencendo: { endpoint: `${CONTRATOS_BASE_URL}/vencendo`, httpMethod: 'get' },
|
|
13
|
+
executarReajuste: { endpoint: `${CONTRATOS_BASE_URL}/{id}/reajustar`, httpMethod: 'post' },
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default contratos
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const DASHBOARD_BASE_URL = '/gestao-servicos/api/gestao-servicos/dashboard'
|
|
2
|
+
|
|
3
|
+
const dashboard = {
|
|
4
|
+
kpis: { endpoint: `${DASHBOARD_BASE_URL}/kpis`, httpMethod: 'get' },
|
|
5
|
+
kpisFinanceiro: { endpoint: `${DASHBOARD_BASE_URL}/kpis-financeiro`, httpMethod: 'get' },
|
|
6
|
+
contratosPorStatus: { endpoint: `${DASHBOARD_BASE_URL}/contratos-por-status`, httpMethod: 'get' },
|
|
7
|
+
valorPorFornecedor: { endpoint: `${DASHBOARD_BASE_URL}/valor-por-fornecedor`, httpMethod: 'get' },
|
|
8
|
+
execucoesPorStatus: { endpoint: `${DASHBOARD_BASE_URL}/execucoes-por-status`, httpMethod: 'get' },
|
|
9
|
+
vencimentosPorMes: { endpoint: `${DASHBOARD_BASE_URL}/vencimentos-por-mes`, httpMethod: 'get' },
|
|
10
|
+
pipelineOperacional: { endpoint: `${DASHBOARD_BASE_URL}/pipeline`, httpMethod: 'get' },
|
|
11
|
+
pagamentosPorMes: { endpoint: `${DASHBOARD_BASE_URL}/pagamentos-por-mes`, httpMethod: 'get' },
|
|
12
|
+
valorPorCentroCusto: { endpoint: `${DASHBOARD_BASE_URL}/valor-por-centro-custo`, httpMethod: 'get' },
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default dashboard
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const NOTAS_FISCAIS_BASE_URL = '/gestao-servicos/api/gestao-servicos/notas-fiscais'
|
|
2
|
+
|
|
3
|
+
const notasFiscais = {
|
|
4
|
+
findMonitor: { endpoint: `${NOTAS_FISCAIS_BASE_URL}/find-monitor`, httpMethod: 'post' },
|
|
5
|
+
findOne: { endpoint: NOTAS_FISCAIS_BASE_URL, httpMethod: 'get' },
|
|
6
|
+
create: { endpoint: NOTAS_FISCAIS_BASE_URL, httpMethod: 'post' },
|
|
7
|
+
validar: { endpoint: `${NOTAS_FISCAIS_BASE_URL}/{id}/validar`, httpMethod: 'put' },
|
|
8
|
+
reprovar: { endpoint: `${NOTAS_FISCAIS_BASE_URL}/{id}/reprovar`, httpMethod: 'put' },
|
|
9
|
+
vincularExecucoes: { endpoint: `${NOTAS_FISCAIS_BASE_URL}/{id}/execucoes`, httpMethod: 'post' },
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default notasFiscais
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const PAGAMENTOS_BASE_URL = '/gestao-servicos/api/gestao-servicos/pagamentos'
|
|
2
|
+
|
|
3
|
+
const pagamentos = {
|
|
4
|
+
findMonitor: { endpoint: `${PAGAMENTOS_BASE_URL}/find-monitor`, httpMethod: 'post' },
|
|
5
|
+
findOne: { endpoint: PAGAMENTOS_BASE_URL, httpMethod: 'get' },
|
|
6
|
+
create: { endpoint: PAGAMENTOS_BASE_URL, httpMethod: 'post' },
|
|
7
|
+
aprovar: { endpoint: `${PAGAMENTOS_BASE_URL}/{id}/aprovar`, httpMethod: 'put' },
|
|
8
|
+
reprovar: { endpoint: `${PAGAMENTOS_BASE_URL}/{id}/reprovar`, httpMethod: 'put' },
|
|
9
|
+
marcarPago: { endpoint: `${PAGAMENTOS_BASE_URL}/{id}/pagar`, httpMethod: 'put' },
|
|
10
|
+
delete: { endpoint: PAGAMENTOS_BASE_URL, httpMethod: 'delete' },
|
|
11
|
+
totais: { endpoint: `${PAGAMENTOS_BASE_URL}/totais/{nfId}`, httpMethod: 'get' },
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default pagamentos
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const PLANO_PAGAMENTO_BASE_URL = '/gestao-servicos/api/gestao-servicos/contratos/{contratoId}/plano-pagamento'
|
|
2
|
+
|
|
3
|
+
const planoPagamento = {
|
|
4
|
+
listar: { endpoint: PLANO_PAGAMENTO_BASE_URL, httpMethod: 'get' },
|
|
5
|
+
adicionar: { endpoint: PLANO_PAGAMENTO_BASE_URL, httpMethod: 'post' },
|
|
6
|
+
excluir: { endpoint: `${PLANO_PAGAMENTO_BASE_URL}/{planoId}`, httpMethod: 'delete' },
|
|
7
|
+
limpar: { endpoint: PLANO_PAGAMENTO_BASE_URL, httpMethod: 'delete' },
|
|
8
|
+
atualizarCondicao: { endpoint: `${PLANO_PAGAMENTO_BASE_URL}/condicao`, httpMethod: 'put' },
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default planoPagamento
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import contratoServico from
|
|
1
|
+
import contratoServico from './config/contratoServico'
|
|
2
|
+
import contratos from './config/contratos'
|
|
3
|
+
import agenda from './config/agenda'
|
|
4
|
+
import notasFiscais from './config/notasFiscais'
|
|
5
|
+
import pagamentos from './config/pagamentos'
|
|
6
|
+
import planoPagamento from './config/planoPagamento'
|
|
7
|
+
import dashboard from './config/dashboard'
|
|
2
8
|
|
|
3
9
|
const gestaoServicos = {
|
|
4
10
|
contratoServico: contratoServico,
|
|
11
|
+
contratos: contratos,
|
|
12
|
+
agenda: agenda,
|
|
13
|
+
notasFiscais: notasFiscais,
|
|
14
|
+
pagamentos: pagamentos,
|
|
15
|
+
planoPagamento: planoPagamento,
|
|
16
|
+
dashboard: dashboard,
|
|
5
17
|
}
|
|
6
18
|
|
|
7
19
|
export default gestaoServicos
|
|
@@ -9,6 +9,10 @@ const ppr = {
|
|
|
9
9
|
indicadoresMetaSetorialGeralFindMonitor: '/performance/api/ppr/indicadores/meta-setorial-geral/find-monitor',
|
|
10
10
|
indicadoresMetaSetorialPorCc: '/performance/api/ppr/indicadores/meta-setorial-por-cc',
|
|
11
11
|
indicadoresMetaSetorialPorCcFindMonitor: '/performance/api/ppr/indicadores/meta-setorial-por-cc/find-monitor',
|
|
12
|
+
lancamentosResultado: '/performance/api/ppr/lancamentos-resultado',
|
|
13
|
+
lancamentosResultadoEnviarAprovacao: '/performance/api/ppr/lancamentos-resultado/enviar-aprovacao',
|
|
14
|
+
lancamentosResultadoIndicadoresElegiveis: '/performance/api/ppr/lancamentos-resultado/indicadores-elegiveis',
|
|
15
|
+
lancamentosResultadoCentrosCustoElegiveis: '/performance/api/ppr/lancamentos-resultado/centros-custo-elegiveis',
|
|
12
16
|
};
|
|
13
17
|
|
|
14
18
|
export default ppr;
|
|
@@ -30,6 +30,7 @@ import subMenuCrm from './modules.submenu/crm/subMenuCrm.navigation'
|
|
|
30
30
|
import subMenuPerformance from './modules.submenu/performance/submenu.performance'
|
|
31
31
|
import { subMenuAtivos, subMenuGestaoServicos } from './modules.submenu'
|
|
32
32
|
import hubFiscalNavigationConfig from './modules.submenu/HubFiscal/hubFiscal.navigation'
|
|
33
|
+
import subMenuGestaoProcessos from './modules.submenu/gestao-processos/submenu.gestao-processos'
|
|
33
34
|
|
|
34
35
|
const modulesNavigationConfig: NavigationTree[] = [
|
|
35
36
|
{
|
|
@@ -75,6 +76,7 @@ const modulesNavigationConfig: NavigationTree[] = [
|
|
|
75
76
|
subMenuTemplate,
|
|
76
77
|
...ticketNavigationConfig,
|
|
77
78
|
...transportadoraNavigationConfig,
|
|
79
|
+
subMenuGestaoProcessos
|
|
78
80
|
],
|
|
79
81
|
},
|
|
80
82
|
]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NAV_ITEM_TYPE_COLLAPSE, NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
2
|
+
import { ADMIN } from '@/constants/roles.constant'
|
|
3
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
4
|
+
|
|
5
|
+
const subMenuGestaoProcessos: NavigationTree = {
|
|
6
|
+
key: 'modules.gestaoProcessos',
|
|
7
|
+
path: '',
|
|
8
|
+
title: 'Gestão de Processos',
|
|
9
|
+
translateKey: 'nav.modules.gestaoProcessos.title',
|
|
10
|
+
icon: 'gestaoProcessos',
|
|
11
|
+
type: NAV_ITEM_TYPE_COLLAPSE,
|
|
12
|
+
authority: [ADMIN],
|
|
13
|
+
subMenu: [
|
|
14
|
+
{
|
|
15
|
+
key: 'modules.gestaoProcessos.cadastros',
|
|
16
|
+
path: '/gestao-processos/cadastros',
|
|
17
|
+
title: 'Cadastros',
|
|
18
|
+
translateKey: 'nav.modules.gestaoProcessos.cadastros.title',
|
|
19
|
+
icon: 'cadastros',
|
|
20
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
21
|
+
authority: [ADMIN],
|
|
22
|
+
subMenu: [],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default subMenuGestaoProcessos
|
|
@@ -5,6 +5,7 @@ import aberturaAnoPprSubmenu from './aberturaAnoPpr.submenu'
|
|
|
5
5
|
import metaGlobalPprSubmenu from './metaGlobalPpr.submenu'
|
|
6
6
|
import metaSetorialGeralPprSubmenu from './metaSetorialGeralPpr.submenu'
|
|
7
7
|
import metaSetorialPorCcPprSubmenu from './metaSetorialPorCcPpr.submenu'
|
|
8
|
+
import preenchimentoResultadosPprSubmenu from './preenchimentoResultadosPpr.submenu'
|
|
8
9
|
|
|
9
10
|
const pprSubmenu: NavigationTree = {
|
|
10
11
|
key: 'modules.performance.ppr',
|
|
@@ -19,6 +20,7 @@ const pprSubmenu: NavigationTree = {
|
|
|
19
20
|
metaGlobalPprSubmenu,
|
|
20
21
|
metaSetorialGeralPprSubmenu,
|
|
21
22
|
metaSetorialPorCcPprSubmenu,
|
|
23
|
+
preenchimentoResultadosPprSubmenu,
|
|
22
24
|
],
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NavigationTree } from '@/@types/navigation'
|
|
2
|
+
import { NAV_ITEM_TYPE_ITEM } from '@/constants/navigation.constant'
|
|
3
|
+
import { ADMIN, USER } from '@/constants/roles.constant'
|
|
4
|
+
|
|
5
|
+
const preenchimentoResultadosPprSubmenu: NavigationTree = {
|
|
6
|
+
key: 'modules.performance.ppr.preenchimentoResultados',
|
|
7
|
+
path: '/performance/ppr/preenchimento-resultados',
|
|
8
|
+
title: 'Preenchimento de Resultados',
|
|
9
|
+
translateKey: 'nav.modules.performance.ppr.preenchimentoResultados.title',
|
|
10
|
+
icon: '',
|
|
11
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
12
|
+
forceShowTitle: true,
|
|
13
|
+
authority: [ADMIN, USER],
|
|
14
|
+
subMenu: [],
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default preenchimentoResultadosPprSubmenu
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import ApiService from '@/services/ApiService'
|
|
2
|
+
import { IFilterParams, TQueryResponse } from '@base/@types/api'
|
|
3
|
+
import endpointConfig from '@base/configs/endpoints.config/endpoints.navigation'
|
|
4
|
+
|
|
5
|
+
const GS_ENDPOINT = endpointConfig.gestaoServicos
|
|
6
|
+
|
|
7
|
+
// ───────────────────────────── CONTRATOS ─────────────────────────────
|
|
8
|
+
|
|
9
|
+
export async function apiFindAllContratos(body?: IFilterParams) {
|
|
10
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
|
|
11
|
+
url: GS_ENDPOINT.contratos.findMonitor.endpoint,
|
|
12
|
+
method: GS_ENDPOINT.contratos.findMonitor.httpMethod,
|
|
13
|
+
data: body,
|
|
14
|
+
})
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export async function apiFindOneContrato(id: number) {
|
|
18
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
19
|
+
url: `${GS_ENDPOINT.contratos.findOne.endpoint}/${id}`,
|
|
20
|
+
method: GS_ENDPOINT.contratos.findOne.httpMethod,
|
|
21
|
+
})
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export async function apiCreateContrato(values: any) {
|
|
25
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
26
|
+
url: GS_ENDPOINT.contratos.create.endpoint,
|
|
27
|
+
method: GS_ENDPOINT.contratos.create.httpMethod,
|
|
28
|
+
data: values,
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export async function apiUpdateContrato(id: number, values: any) {
|
|
33
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
34
|
+
url: `${GS_ENDPOINT.contratos.update.endpoint}/${id}`,
|
|
35
|
+
method: GS_ENDPOINT.contratos.update.httpMethod,
|
|
36
|
+
data: values,
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export async function apiSubmeterContrato(id: number, comentario?: string) {
|
|
41
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
42
|
+
url: `${GS_ENDPOINT.contratos.submeter.endpoint.replace('{id}', String(id))}`,
|
|
43
|
+
method: GS_ENDPOINT.contratos.submeter.httpMethod,
|
|
44
|
+
data: { comentario },
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export async function apiAprovarContrato(id: number) {
|
|
49
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
50
|
+
url: `${GS_ENDPOINT.contratos.aprovar.endpoint.replace('{id}', String(id))}`,
|
|
51
|
+
method: GS_ENDPOINT.contratos.aprovar.httpMethod,
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export async function apiReprovarContrato(id: number, justificativa: string) {
|
|
56
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
57
|
+
url: `${GS_ENDPOINT.contratos.reprovar.endpoint.replace('{id}', String(id))}`,
|
|
58
|
+
method: GS_ENDPOINT.contratos.reprovar.httpMethod,
|
|
59
|
+
data: { justificativa },
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export async function apiEncerrarContrato(id: number) {
|
|
64
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
65
|
+
url: `${GS_ENDPOINT.contratos.encerrar.endpoint.replace('{id}', String(id))}`,
|
|
66
|
+
method: GS_ENDPOINT.contratos.encerrar.httpMethod,
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export async function apiContratosVencendo() {
|
|
71
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
72
|
+
url: GS_ENDPOINT.contratos.vencendo.endpoint,
|
|
73
|
+
method: GS_ENDPOINT.contratos.vencendo.httpMethod,
|
|
74
|
+
})
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// ───────────────────────────── AGENDA ─────────────────────────────
|
|
78
|
+
|
|
79
|
+
export async function apiFindAllAgenda(body?: IFilterParams) {
|
|
80
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
|
|
81
|
+
url: GS_ENDPOINT.agenda.findMonitor.endpoint,
|
|
82
|
+
method: GS_ENDPOINT.agenda.findMonitor.httpMethod,
|
|
83
|
+
data: body,
|
|
84
|
+
})
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export async function apiGerarAgenda(contratoId: number) {
|
|
88
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
89
|
+
url: GS_ENDPOINT.agenda.gerar.endpoint.replace('{contratoId}', String(contratoId)),
|
|
90
|
+
method: GS_ENDPOINT.agenda.gerar.httpMethod,
|
|
91
|
+
})
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export async function apiMarcarExecucaoRealizada(id: number, dataRealizada: string) {
|
|
95
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
96
|
+
url: GS_ENDPOINT.agenda.marcarRealizada.endpoint.replace('{id}', String(id)),
|
|
97
|
+
method: GS_ENDPOINT.agenda.marcarRealizada.httpMethod,
|
|
98
|
+
data: { dataRealizada },
|
|
99
|
+
})
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export async function apiAprovarExecucao(id: number) {
|
|
103
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
104
|
+
url: GS_ENDPOINT.agenda.aprovar.endpoint.replace('{id}', String(id)),
|
|
105
|
+
method: GS_ENDPOINT.agenda.aprovar.httpMethod,
|
|
106
|
+
})
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export async function apiReprovarExecucao(id: number, observacao: string) {
|
|
110
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
111
|
+
url: GS_ENDPOINT.agenda.reprovar.endpoint.replace('{id}', String(id)),
|
|
112
|
+
method: GS_ENDPOINT.agenda.reprovar.httpMethod,
|
|
113
|
+
data: { observacao },
|
|
114
|
+
})
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ───────────────────────────── NOTAS FISCAIS ─────────────────────────────
|
|
118
|
+
|
|
119
|
+
export async function apiFindAllNotasFiscais(body?: IFilterParams) {
|
|
120
|
+
return ApiService.fetchDataWithAxios<TQueryResponse<any>>({
|
|
121
|
+
url: GS_ENDPOINT.notasFiscais.findMonitor.endpoint,
|
|
122
|
+
method: GS_ENDPOINT.notasFiscais.findMonitor.httpMethod,
|
|
123
|
+
data: body,
|
|
124
|
+
})
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export async function apiCreateNotaFiscal(values: any) {
|
|
128
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
129
|
+
url: GS_ENDPOINT.notasFiscais.create.endpoint,
|
|
130
|
+
method: GS_ENDPOINT.notasFiscais.create.httpMethod,
|
|
131
|
+
data: values,
|
|
132
|
+
})
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export async function apiValidarNotaFiscal(id: number) {
|
|
136
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
137
|
+
url: GS_ENDPOINT.notasFiscais.validar.endpoint.replace('{id}', String(id)),
|
|
138
|
+
method: GS_ENDPOINT.notasFiscais.validar.httpMethod,
|
|
139
|
+
})
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export async function apiReprovarNotaFiscal(id: number, motivo: string) {
|
|
143
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
144
|
+
url: GS_ENDPOINT.notasFiscais.reprovar.endpoint.replace('{id}', String(id)),
|
|
145
|
+
method: GS_ENDPOINT.notasFiscais.reprovar.httpMethod,
|
|
146
|
+
data: { motivo },
|
|
147
|
+
})
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// ───────────────────────────── PAGAMENTOS ─────────────────────────────
|
|
151
|
+
|
|
152
|
+
export async function apiFindAllPagamentos(nfId: number) {
|
|
153
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
154
|
+
url: `${GS_ENDPOINT.pagamentos.findOne.endpoint}?nfId=${nfId}`,
|
|
155
|
+
method: GS_ENDPOINT.pagamentos.findOne.httpMethod,
|
|
156
|
+
})
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export async function apiCreatePagamento(values: any) {
|
|
160
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
161
|
+
url: GS_ENDPOINT.pagamentos.create.endpoint,
|
|
162
|
+
method: GS_ENDPOINT.pagamentos.create.httpMethod,
|
|
163
|
+
data: values,
|
|
164
|
+
})
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export async function apiAprovarPagamento(id: number) {
|
|
168
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
169
|
+
url: GS_ENDPOINT.pagamentos.aprovar.endpoint.replace('{id}', String(id)),
|
|
170
|
+
method: GS_ENDPOINT.pagamentos.aprovar.httpMethod,
|
|
171
|
+
})
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export async function apiMarcarPagamentoPago(id: number, dataPagamento: string) {
|
|
175
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
176
|
+
url: GS_ENDPOINT.pagamentos.marcarPago.endpoint.replace('{id}', String(id)),
|
|
177
|
+
method: GS_ENDPOINT.pagamentos.marcarPago.httpMethod,
|
|
178
|
+
data: { dataPagamento },
|
|
179
|
+
})
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export async function apiDeletePagamento(id: number) {
|
|
183
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
184
|
+
url: `${GS_ENDPOINT.pagamentos.delete.endpoint}/${id}`,
|
|
185
|
+
method: GS_ENDPOINT.pagamentos.delete.httpMethod,
|
|
186
|
+
})
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export async function apiTotaisPagamentos(nfId: number) {
|
|
190
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
191
|
+
url: GS_ENDPOINT.pagamentos.totais.endpoint.replace('{nfId}', String(nfId)),
|
|
192
|
+
method: GS_ENDPOINT.pagamentos.totais.httpMethod,
|
|
193
|
+
})
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// ───────────────────────────── DASHBOARD ─────────────────────────────
|
|
197
|
+
|
|
198
|
+
export async function apiDashboardKpis(params?: any) {
|
|
199
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
200
|
+
url: GS_ENDPOINT.dashboard.kpis.endpoint,
|
|
201
|
+
method: GS_ENDPOINT.dashboard.kpis.httpMethod,
|
|
202
|
+
params,
|
|
203
|
+
})
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export async function apiDashboardContratosPorStatus(params?: any) {
|
|
207
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
208
|
+
url: GS_ENDPOINT.dashboard.contratosPorStatus.endpoint,
|
|
209
|
+
method: GS_ENDPOINT.dashboard.contratosPorStatus.httpMethod,
|
|
210
|
+
params,
|
|
211
|
+
})
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export async function apiDashboardValorPorFornecedor(params?: any) {
|
|
215
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
216
|
+
url: GS_ENDPOINT.dashboard.valorPorFornecedor.endpoint,
|
|
217
|
+
method: GS_ENDPOINT.dashboard.valorPorFornecedor.httpMethod,
|
|
218
|
+
params,
|
|
219
|
+
})
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export async function apiDashboardExecucoesPorStatus(params?: any) {
|
|
223
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
224
|
+
url: GS_ENDPOINT.dashboard.execucoesPorStatus.endpoint,
|
|
225
|
+
method: GS_ENDPOINT.dashboard.execucoesPorStatus.httpMethod,
|
|
226
|
+
params,
|
|
227
|
+
})
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export async function apiDashboardVencimentosPorMes(params?: any) {
|
|
231
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
232
|
+
url: GS_ENDPOINT.dashboard.vencimentosPorMes.endpoint,
|
|
233
|
+
method: GS_ENDPOINT.dashboard.vencimentosPorMes.httpMethod,
|
|
234
|
+
params,
|
|
235
|
+
})
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export async function apiDashboardPipelineOperacional(params?: any) {
|
|
239
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
240
|
+
url: GS_ENDPOINT.dashboard.pipelineOperacional.endpoint,
|
|
241
|
+
method: GS_ENDPOINT.dashboard.pipelineOperacional.httpMethod,
|
|
242
|
+
params,
|
|
243
|
+
})
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export async function apiDashboardKpisFinanceiro(params?: any) {
|
|
247
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
248
|
+
url: GS_ENDPOINT.dashboard.kpisFinanceiro.endpoint,
|
|
249
|
+
method: GS_ENDPOINT.dashboard.kpisFinanceiro.httpMethod,
|
|
250
|
+
params,
|
|
251
|
+
})
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export async function apiDashboardPagamentosPorMes(params?: any) {
|
|
255
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
256
|
+
url: GS_ENDPOINT.dashboard.pagamentosPorMes.endpoint,
|
|
257
|
+
method: GS_ENDPOINT.dashboard.pagamentosPorMes.httpMethod,
|
|
258
|
+
params,
|
|
259
|
+
})
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export async function apiDashboardValorPorCentroCusto(params?: any) {
|
|
263
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
264
|
+
url: GS_ENDPOINT.dashboard.valorPorCentroCusto.endpoint,
|
|
265
|
+
method: GS_ENDPOINT.dashboard.valorPorCentroCusto.httpMethod,
|
|
266
|
+
params,
|
|
267
|
+
})
|
|
268
|
+
}
|
|
@@ -7,16 +7,21 @@ import { TAvaliacao, TFindMonitorAvaliacao, TCreateAvaliacao, TComparativoColabo
|
|
|
7
7
|
import {
|
|
8
8
|
TAbrirAnoPpr,
|
|
9
9
|
TAnoPpr,
|
|
10
|
+
TCentroCustoElegivel,
|
|
10
11
|
TCreateIndicadorMetaGlobal,
|
|
11
12
|
TCreateIndicadorMetaSetorialGeral,
|
|
12
13
|
TCreateIndicadorMetaSetorialPorCc,
|
|
14
|
+
TEnviarAprovacaoLancamentoResultadoPpr,
|
|
13
15
|
TFindMonitorIndicadorMetaGlobal,
|
|
14
16
|
TFindMonitorIndicadorMetaSetorialGeral,
|
|
15
17
|
TFindMonitorIndicadorMetaSetorialPorCc,
|
|
16
18
|
TIndicadorMetaGlobal,
|
|
17
19
|
TIndicadorMetaSetorialGeral,
|
|
18
20
|
TIndicadorMetaSetorialPorCc,
|
|
21
|
+
TIndicadorPreenchimentoElegivel,
|
|
22
|
+
TLancamentoResultadoPpr,
|
|
19
23
|
TParametroCcPpr,
|
|
24
|
+
TSalvarLancamentoResultadoPpr,
|
|
20
25
|
TUpdateIndicadorMetaSetorialPorCc,
|
|
21
26
|
TUpdateParametroCcStatusPpr,
|
|
22
27
|
} from '@base/@types/models/performance/ppr'
|
|
@@ -366,3 +371,43 @@ export async function apiDeleteIndicadorMetaSetorialPorCc(id: number) {
|
|
|
366
371
|
})
|
|
367
372
|
}
|
|
368
373
|
|
|
374
|
+
export async function apiGetCentrosCustoElegiveisPpr(ano: number) {
|
|
375
|
+
return ApiService.fetchDataWithAxios<TCentroCustoElegivel[]>({
|
|
376
|
+
url: endpointsConfig.performance.ppr.lancamentosResultadoCentrosCustoElegiveis,
|
|
377
|
+
method: 'get',
|
|
378
|
+
params: { ano },
|
|
379
|
+
})
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export async function apiGetIndicadoresElegiveisPpr(data: { ano: number; parametroCcId: number | null }) {
|
|
383
|
+
return ApiService.fetchDataWithAxios<TIndicadorPreenchimentoElegivel[]>({
|
|
384
|
+
url: endpointsConfig.performance.ppr.lancamentosResultadoIndicadoresElegiveis,
|
|
385
|
+
method: 'post',
|
|
386
|
+
data,
|
|
387
|
+
})
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export async function apiCreateLancamentoResultadoPpr(data: TSalvarLancamentoResultadoPpr) {
|
|
391
|
+
return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({
|
|
392
|
+
url: endpointsConfig.performance.ppr.lancamentosResultado,
|
|
393
|
+
method: 'post',
|
|
394
|
+
data,
|
|
395
|
+
})
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export async function apiUpdateLancamentoResultadoPpr(data: TSalvarLancamentoResultadoPpr) {
|
|
399
|
+
return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({
|
|
400
|
+
url: endpointsConfig.performance.ppr.lancamentosResultado,
|
|
401
|
+
method: 'put',
|
|
402
|
+
data,
|
|
403
|
+
})
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export async function apiEnviarAprovacaoLancamentoResultadoPpr(data: TEnviarAprovacaoLancamentoResultadoPpr) {
|
|
407
|
+
return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({
|
|
408
|
+
url: endpointsConfig.performance.ppr.lancamentosResultadoEnviarAprovacao,
|
|
409
|
+
method: 'put',
|
|
410
|
+
data,
|
|
411
|
+
})
|
|
412
|
+
}
|
|
413
|
+
|
package/package.json
CHANGED