@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
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import ApiService from "../../../../@ecme/services/ApiService.js";
|
|
2
|
+
import endpointNavigationConfig from "../../../configs/endpoints.config/endpoints.navigation.js";
|
|
3
|
+
const GS_ENDPOINT = endpointNavigationConfig.gestaoServicos;
|
|
4
|
+
async function apiFindAllContratos(body) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: GS_ENDPOINT.contratos.findMonitor.endpoint,
|
|
7
|
+
method: GS_ENDPOINT.contratos.findMonitor.httpMethod,
|
|
8
|
+
data: body
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async function apiFindOneContrato(id) {
|
|
12
|
+
return ApiService.fetchDataWithAxios({
|
|
13
|
+
url: `${GS_ENDPOINT.contratos.findOne.endpoint}/${id}`,
|
|
14
|
+
method: GS_ENDPOINT.contratos.findOne.httpMethod
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function apiCreateContrato(values) {
|
|
18
|
+
return ApiService.fetchDataWithAxios({
|
|
19
|
+
url: GS_ENDPOINT.contratos.create.endpoint,
|
|
20
|
+
method: GS_ENDPOINT.contratos.create.httpMethod,
|
|
21
|
+
data: values
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function apiUpdateContrato(id, values) {
|
|
25
|
+
return ApiService.fetchDataWithAxios({
|
|
26
|
+
url: `${GS_ENDPOINT.contratos.update.endpoint}/${id}`,
|
|
27
|
+
method: GS_ENDPOINT.contratos.update.httpMethod,
|
|
28
|
+
data: values
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
async function apiSubmeterContrato(id, comentario) {
|
|
32
|
+
return ApiService.fetchDataWithAxios({
|
|
33
|
+
url: `${GS_ENDPOINT.contratos.submeter.endpoint.replace("{id}", String(id))}`,
|
|
34
|
+
method: GS_ENDPOINT.contratos.submeter.httpMethod,
|
|
35
|
+
data: { comentario }
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
async function apiAprovarContrato(id) {
|
|
39
|
+
return ApiService.fetchDataWithAxios({
|
|
40
|
+
url: `${GS_ENDPOINT.contratos.aprovar.endpoint.replace("{id}", String(id))}`,
|
|
41
|
+
method: GS_ENDPOINT.contratos.aprovar.httpMethod
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function apiReprovarContrato(id, justificativa) {
|
|
45
|
+
return ApiService.fetchDataWithAxios({
|
|
46
|
+
url: `${GS_ENDPOINT.contratos.reprovar.endpoint.replace("{id}", String(id))}`,
|
|
47
|
+
method: GS_ENDPOINT.contratos.reprovar.httpMethod,
|
|
48
|
+
data: { justificativa }
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function apiEncerrarContrato(id) {
|
|
52
|
+
return ApiService.fetchDataWithAxios({
|
|
53
|
+
url: `${GS_ENDPOINT.contratos.encerrar.endpoint.replace("{id}", String(id))}`,
|
|
54
|
+
method: GS_ENDPOINT.contratos.encerrar.httpMethod
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
async function apiContratosVencendo() {
|
|
58
|
+
return ApiService.fetchDataWithAxios({
|
|
59
|
+
url: GS_ENDPOINT.contratos.vencendo.endpoint,
|
|
60
|
+
method: GS_ENDPOINT.contratos.vencendo.httpMethod
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
async function apiFindAllAgenda(body) {
|
|
64
|
+
return ApiService.fetchDataWithAxios({
|
|
65
|
+
url: GS_ENDPOINT.agenda.findMonitor.endpoint,
|
|
66
|
+
method: GS_ENDPOINT.agenda.findMonitor.httpMethod,
|
|
67
|
+
data: body
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
async function apiGerarAgenda(contratoId) {
|
|
71
|
+
return ApiService.fetchDataWithAxios({
|
|
72
|
+
url: GS_ENDPOINT.agenda.gerar.endpoint.replace("{contratoId}", String(contratoId)),
|
|
73
|
+
method: GS_ENDPOINT.agenda.gerar.httpMethod
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
async function apiMarcarExecucaoRealizada(id, dataRealizada) {
|
|
77
|
+
return ApiService.fetchDataWithAxios({
|
|
78
|
+
url: GS_ENDPOINT.agenda.marcarRealizada.endpoint.replace("{id}", String(id)),
|
|
79
|
+
method: GS_ENDPOINT.agenda.marcarRealizada.httpMethod,
|
|
80
|
+
data: { dataRealizada }
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
async function apiAprovarExecucao(id) {
|
|
84
|
+
return ApiService.fetchDataWithAxios({
|
|
85
|
+
url: GS_ENDPOINT.agenda.aprovar.endpoint.replace("{id}", String(id)),
|
|
86
|
+
method: GS_ENDPOINT.agenda.aprovar.httpMethod
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async function apiReprovarExecucao(id, observacao) {
|
|
90
|
+
return ApiService.fetchDataWithAxios({
|
|
91
|
+
url: GS_ENDPOINT.agenda.reprovar.endpoint.replace("{id}", String(id)),
|
|
92
|
+
method: GS_ENDPOINT.agenda.reprovar.httpMethod,
|
|
93
|
+
data: { observacao }
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
async function apiFindAllNotasFiscais(body) {
|
|
97
|
+
return ApiService.fetchDataWithAxios({
|
|
98
|
+
url: GS_ENDPOINT.notasFiscais.findMonitor.endpoint,
|
|
99
|
+
method: GS_ENDPOINT.notasFiscais.findMonitor.httpMethod,
|
|
100
|
+
data: body
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
async function apiCreateNotaFiscal(values) {
|
|
104
|
+
return ApiService.fetchDataWithAxios({
|
|
105
|
+
url: GS_ENDPOINT.notasFiscais.create.endpoint,
|
|
106
|
+
method: GS_ENDPOINT.notasFiscais.create.httpMethod,
|
|
107
|
+
data: values
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
async function apiValidarNotaFiscal(id) {
|
|
111
|
+
return ApiService.fetchDataWithAxios({
|
|
112
|
+
url: GS_ENDPOINT.notasFiscais.validar.endpoint.replace("{id}", String(id)),
|
|
113
|
+
method: GS_ENDPOINT.notasFiscais.validar.httpMethod
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
async function apiReprovarNotaFiscal(id, motivo) {
|
|
117
|
+
return ApiService.fetchDataWithAxios({
|
|
118
|
+
url: GS_ENDPOINT.notasFiscais.reprovar.endpoint.replace("{id}", String(id)),
|
|
119
|
+
method: GS_ENDPOINT.notasFiscais.reprovar.httpMethod,
|
|
120
|
+
data: { motivo }
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
async function apiFindAllPagamentos(nfId) {
|
|
124
|
+
return ApiService.fetchDataWithAxios({
|
|
125
|
+
url: `${GS_ENDPOINT.pagamentos.findOne.endpoint}?nfId=${nfId}`,
|
|
126
|
+
method: GS_ENDPOINT.pagamentos.findOne.httpMethod
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
async function apiCreatePagamento(values) {
|
|
130
|
+
return ApiService.fetchDataWithAxios({
|
|
131
|
+
url: GS_ENDPOINT.pagamentos.create.endpoint,
|
|
132
|
+
method: GS_ENDPOINT.pagamentos.create.httpMethod,
|
|
133
|
+
data: values
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
async function apiAprovarPagamento(id) {
|
|
137
|
+
return ApiService.fetchDataWithAxios({
|
|
138
|
+
url: GS_ENDPOINT.pagamentos.aprovar.endpoint.replace("{id}", String(id)),
|
|
139
|
+
method: GS_ENDPOINT.pagamentos.aprovar.httpMethod
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
async function apiMarcarPagamentoPago(id, dataPagamento) {
|
|
143
|
+
return ApiService.fetchDataWithAxios({
|
|
144
|
+
url: GS_ENDPOINT.pagamentos.marcarPago.endpoint.replace("{id}", String(id)),
|
|
145
|
+
method: GS_ENDPOINT.pagamentos.marcarPago.httpMethod,
|
|
146
|
+
data: { dataPagamento }
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
async function apiDeletePagamento(id) {
|
|
150
|
+
return ApiService.fetchDataWithAxios({
|
|
151
|
+
url: `${GS_ENDPOINT.pagamentos.delete.endpoint}/${id}`,
|
|
152
|
+
method: GS_ENDPOINT.pagamentos.delete.httpMethod
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
async function apiTotaisPagamentos(nfId) {
|
|
156
|
+
return ApiService.fetchDataWithAxios({
|
|
157
|
+
url: GS_ENDPOINT.pagamentos.totais.endpoint.replace("{nfId}", String(nfId)),
|
|
158
|
+
method: GS_ENDPOINT.pagamentos.totais.httpMethod
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
async function apiDashboardKpis(params) {
|
|
162
|
+
return ApiService.fetchDataWithAxios({
|
|
163
|
+
url: GS_ENDPOINT.dashboard.kpis.endpoint,
|
|
164
|
+
method: GS_ENDPOINT.dashboard.kpis.httpMethod,
|
|
165
|
+
params
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
async function apiDashboardContratosPorStatus(params) {
|
|
169
|
+
return ApiService.fetchDataWithAxios({
|
|
170
|
+
url: GS_ENDPOINT.dashboard.contratosPorStatus.endpoint,
|
|
171
|
+
method: GS_ENDPOINT.dashboard.contratosPorStatus.httpMethod,
|
|
172
|
+
params
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
async function apiDashboardValorPorFornecedor(params) {
|
|
176
|
+
return ApiService.fetchDataWithAxios({
|
|
177
|
+
url: GS_ENDPOINT.dashboard.valorPorFornecedor.endpoint,
|
|
178
|
+
method: GS_ENDPOINT.dashboard.valorPorFornecedor.httpMethod,
|
|
179
|
+
params
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
async function apiDashboardExecucoesPorStatus(params) {
|
|
183
|
+
return ApiService.fetchDataWithAxios({
|
|
184
|
+
url: GS_ENDPOINT.dashboard.execucoesPorStatus.endpoint,
|
|
185
|
+
method: GS_ENDPOINT.dashboard.execucoesPorStatus.httpMethod,
|
|
186
|
+
params
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
async function apiDashboardVencimentosPorMes(params) {
|
|
190
|
+
return ApiService.fetchDataWithAxios({
|
|
191
|
+
url: GS_ENDPOINT.dashboard.vencimentosPorMes.endpoint,
|
|
192
|
+
method: GS_ENDPOINT.dashboard.vencimentosPorMes.httpMethod,
|
|
193
|
+
params
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
async function apiDashboardPipelineOperacional(params) {
|
|
197
|
+
return ApiService.fetchDataWithAxios({
|
|
198
|
+
url: GS_ENDPOINT.dashboard.pipelineOperacional.endpoint,
|
|
199
|
+
method: GS_ENDPOINT.dashboard.pipelineOperacional.httpMethod,
|
|
200
|
+
params
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
async function apiDashboardKpisFinanceiro(params) {
|
|
204
|
+
return ApiService.fetchDataWithAxios({
|
|
205
|
+
url: GS_ENDPOINT.dashboard.kpisFinanceiro.endpoint,
|
|
206
|
+
method: GS_ENDPOINT.dashboard.kpisFinanceiro.httpMethod,
|
|
207
|
+
params
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
async function apiDashboardPagamentosPorMes(params) {
|
|
211
|
+
return ApiService.fetchDataWithAxios({
|
|
212
|
+
url: GS_ENDPOINT.dashboard.pagamentosPorMes.endpoint,
|
|
213
|
+
method: GS_ENDPOINT.dashboard.pagamentosPorMes.httpMethod,
|
|
214
|
+
params
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
async function apiDashboardValorPorCentroCusto(params) {
|
|
218
|
+
return ApiService.fetchDataWithAxios({
|
|
219
|
+
url: GS_ENDPOINT.dashboard.valorPorCentroCusto.endpoint,
|
|
220
|
+
method: GS_ENDPOINT.dashboard.valorPorCentroCusto.httpMethod,
|
|
221
|
+
params
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
export {
|
|
225
|
+
apiAprovarContrato,
|
|
226
|
+
apiAprovarExecucao,
|
|
227
|
+
apiAprovarPagamento,
|
|
228
|
+
apiContratosVencendo,
|
|
229
|
+
apiCreateContrato,
|
|
230
|
+
apiCreateNotaFiscal,
|
|
231
|
+
apiCreatePagamento,
|
|
232
|
+
apiDashboardContratosPorStatus,
|
|
233
|
+
apiDashboardExecucoesPorStatus,
|
|
234
|
+
apiDashboardKpis,
|
|
235
|
+
apiDashboardKpisFinanceiro,
|
|
236
|
+
apiDashboardPagamentosPorMes,
|
|
237
|
+
apiDashboardPipelineOperacional,
|
|
238
|
+
apiDashboardValorPorCentroCusto,
|
|
239
|
+
apiDashboardValorPorFornecedor,
|
|
240
|
+
apiDashboardVencimentosPorMes,
|
|
241
|
+
apiDeletePagamento,
|
|
242
|
+
apiEncerrarContrato,
|
|
243
|
+
apiFindAllAgenda,
|
|
244
|
+
apiFindAllContratos,
|
|
245
|
+
apiFindAllNotasFiscais,
|
|
246
|
+
apiFindAllPagamentos,
|
|
247
|
+
apiFindOneContrato,
|
|
248
|
+
apiGerarAgenda,
|
|
249
|
+
apiMarcarExecucaoRealizada,
|
|
250
|
+
apiMarcarPagamentoPago,
|
|
251
|
+
apiReprovarContrato,
|
|
252
|
+
apiReprovarExecucao,
|
|
253
|
+
apiReprovarNotaFiscal,
|
|
254
|
+
apiSubmeterContrato,
|
|
255
|
+
apiTotaisPagamentos,
|
|
256
|
+
apiUpdateContrato,
|
|
257
|
+
apiValidarNotaFiscal
|
|
258
|
+
};
|
|
259
|
+
//# sourceMappingURL=GestaoServicosService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GestaoServicosService.js","sources":["../../../../../lib/base/services/modules/gestaoServicos/GestaoServicosService.ts"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport endpointConfig from '@base/configs/endpoints.config/endpoints.navigation'\n\nconst GS_ENDPOINT = endpointConfig.gestaoServicos\n\n// ───────────────────────────── CONTRATOS ─────────────────────────────\n\nexport async function apiFindAllContratos(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: GS_ENDPOINT.contratos.findMonitor.endpoint,\n method: GS_ENDPOINT.contratos.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindOneContrato(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.findOne.endpoint}/${id}`,\n method: GS_ENDPOINT.contratos.findOne.httpMethod,\n })\n}\n\nexport async function apiCreateContrato(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.contratos.create.endpoint,\n method: GS_ENDPOINT.contratos.create.httpMethod,\n data: values,\n })\n}\n\nexport async function apiUpdateContrato(id: number, values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.update.endpoint}/${id}`,\n method: GS_ENDPOINT.contratos.update.httpMethod,\n data: values,\n })\n}\n\nexport async function apiSubmeterContrato(id: number, comentario?: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.submeter.endpoint.replace('{id}', String(id))}`,\n method: GS_ENDPOINT.contratos.submeter.httpMethod,\n data: { comentario },\n })\n}\n\nexport async function apiAprovarContrato(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.aprovar.endpoint.replace('{id}', String(id))}`,\n method: GS_ENDPOINT.contratos.aprovar.httpMethod,\n })\n}\n\nexport async function apiReprovarContrato(id: number, justificativa: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.reprovar.endpoint.replace('{id}', String(id))}`,\n method: GS_ENDPOINT.contratos.reprovar.httpMethod,\n data: { justificativa },\n })\n}\n\nexport async function apiEncerrarContrato(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.contratos.encerrar.endpoint.replace('{id}', String(id))}`,\n method: GS_ENDPOINT.contratos.encerrar.httpMethod,\n })\n}\n\nexport async function apiContratosVencendo() {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.contratos.vencendo.endpoint,\n method: GS_ENDPOINT.contratos.vencendo.httpMethod,\n })\n}\n\n// ───────────────────────────── AGENDA ─────────────────────────────\n\nexport async function apiFindAllAgenda(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: GS_ENDPOINT.agenda.findMonitor.endpoint,\n method: GS_ENDPOINT.agenda.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiGerarAgenda(contratoId: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.agenda.gerar.endpoint.replace('{contratoId}', String(contratoId)),\n method: GS_ENDPOINT.agenda.gerar.httpMethod,\n })\n}\n\nexport async function apiMarcarExecucaoRealizada(id: number, dataRealizada: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.agenda.marcarRealizada.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.agenda.marcarRealizada.httpMethod,\n data: { dataRealizada },\n })\n}\n\nexport async function apiAprovarExecucao(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.agenda.aprovar.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.agenda.aprovar.httpMethod,\n })\n}\n\nexport async function apiReprovarExecucao(id: number, observacao: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.agenda.reprovar.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.agenda.reprovar.httpMethod,\n data: { observacao },\n })\n}\n\n// ───────────────────────────── NOTAS FISCAIS ─────────────────────────────\n\nexport async function apiFindAllNotasFiscais(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: GS_ENDPOINT.notasFiscais.findMonitor.endpoint,\n method: GS_ENDPOINT.notasFiscais.findMonitor.httpMethod,\n data: body,\n })\n}\n\nexport async function apiCreateNotaFiscal(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.notasFiscais.create.endpoint,\n method: GS_ENDPOINT.notasFiscais.create.httpMethod,\n data: values,\n })\n}\n\nexport async function apiValidarNotaFiscal(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.notasFiscais.validar.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.notasFiscais.validar.httpMethod,\n })\n}\n\nexport async function apiReprovarNotaFiscal(id: number, motivo: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.notasFiscais.reprovar.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.notasFiscais.reprovar.httpMethod,\n data: { motivo },\n })\n}\n\n// ───────────────────────────── PAGAMENTOS ─────────────────────────────\n\nexport async function apiFindAllPagamentos(nfId: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.pagamentos.findOne.endpoint}?nfId=${nfId}`,\n method: GS_ENDPOINT.pagamentos.findOne.httpMethod,\n })\n}\n\nexport async function apiCreatePagamento(values: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.pagamentos.create.endpoint,\n method: GS_ENDPOINT.pagamentos.create.httpMethod,\n data: values,\n })\n}\n\nexport async function apiAprovarPagamento(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.pagamentos.aprovar.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.pagamentos.aprovar.httpMethod,\n })\n}\n\nexport async function apiMarcarPagamentoPago(id: number, dataPagamento: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.pagamentos.marcarPago.endpoint.replace('{id}', String(id)),\n method: GS_ENDPOINT.pagamentos.marcarPago.httpMethod,\n data: { dataPagamento },\n })\n}\n\nexport async function apiDeletePagamento(id: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${GS_ENDPOINT.pagamentos.delete.endpoint}/${id}`,\n method: GS_ENDPOINT.pagamentos.delete.httpMethod,\n })\n}\n\nexport async function apiTotaisPagamentos(nfId: number) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.pagamentos.totais.endpoint.replace('{nfId}', String(nfId)),\n method: GS_ENDPOINT.pagamentos.totais.httpMethod,\n })\n}\n\n// ───────────────────────────── DASHBOARD ─────────────────────────────\n\nexport async function apiDashboardKpis(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.kpis.endpoint,\n method: GS_ENDPOINT.dashboard.kpis.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardContratosPorStatus(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.contratosPorStatus.endpoint,\n method: GS_ENDPOINT.dashboard.contratosPorStatus.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardValorPorFornecedor(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.valorPorFornecedor.endpoint,\n method: GS_ENDPOINT.dashboard.valorPorFornecedor.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardExecucoesPorStatus(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.execucoesPorStatus.endpoint,\n method: GS_ENDPOINT.dashboard.execucoesPorStatus.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardVencimentosPorMes(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.vencimentosPorMes.endpoint,\n method: GS_ENDPOINT.dashboard.vencimentosPorMes.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardPipelineOperacional(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.pipelineOperacional.endpoint,\n method: GS_ENDPOINT.dashboard.pipelineOperacional.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardKpisFinanceiro(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.kpisFinanceiro.endpoint,\n method: GS_ENDPOINT.dashboard.kpisFinanceiro.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardPagamentosPorMes(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.pagamentosPorMes.endpoint,\n method: GS_ENDPOINT.dashboard.pagamentosPorMes.httpMethod,\n params,\n })\n}\n\nexport async function apiDashboardValorPorCentroCusto(params?: any) {\n return ApiService.fetchDataWithAxios<any>({\n url: GS_ENDPOINT.dashboard.valorPorCentroCusto.endpoint,\n method: GS_ENDPOINT.dashboard.valorPorCentroCusto.httpMethod,\n params,\n })\n}"],"names":["endpointConfig"],"mappings":";;AAIA,MAAM,cAAcA,yBAAe;AAInC,eAAsB,oBAAoB,MAAsB;AAC5D,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,YAAY,UAAU,YAAY;AAAA,IACvC,QAAQ,YAAY,U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CreatePagamento, apiDashboardContratosPorStatus, apiDashboardExecucoesPorStatus, apiDashboardKpis, apiDashboardKpisFinanceiro, apiDashboardPagamentosPorMes, apiDashboardPipelineOperacional, apiDashboardValorPorCentroCusto, apiDashboardValorPorFornecedor, apiDashboardVencimentosPorMes, apiDeletePagamento, apiEncerrarContrato, apiFindAllAgenda, apiFindAllContratos, apiFindAllNotasFiscais, apiFindAllPagamentos, apiFindOneContrato, apiGerarAgenda, apiMarcarExecucaoRealizada, apiMarcarPagamentoPago, apiReprovarContrato, apiReprovarExecucao, apiReprovarNotaFiscal, apiSubmeterContrato, apiTotaisPagamentos, apiUpdateContrato, apiValidarNotaFiscal } from "./GestaoServicosService.js";
|
|
1
2
|
import { apiCreateContratoServico, apiFindAllContratoServico, apiFindOneContratoServico, apiUpdateContratoServico } from "./contratoServico/ContratoServicoService.js";
|
|
2
3
|
export {
|
|
4
|
+
apiAprovarContrato,
|
|
5
|
+
apiAprovarExecucao,
|
|
6
|
+
apiAprovarPagamento,
|
|
7
|
+
apiContratosVencendo,
|
|
8
|
+
apiCreateContrato,
|
|
3
9
|
apiCreateContratoServico,
|
|
10
|
+
apiCreateNotaFiscal,
|
|
11
|
+
apiCreatePagamento,
|
|
12
|
+
apiDashboardContratosPorStatus,
|
|
13
|
+
apiDashboardExecucoesPorStatus,
|
|
14
|
+
apiDashboardKpis,
|
|
15
|
+
apiDashboardKpisFinanceiro,
|
|
16
|
+
apiDashboardPagamentosPorMes,
|
|
17
|
+
apiDashboardPipelineOperacional,
|
|
18
|
+
apiDashboardValorPorCentroCusto,
|
|
19
|
+
apiDashboardValorPorFornecedor,
|
|
20
|
+
apiDashboardVencimentosPorMes,
|
|
21
|
+
apiDeletePagamento,
|
|
22
|
+
apiEncerrarContrato,
|
|
23
|
+
apiFindAllAgenda,
|
|
4
24
|
apiFindAllContratoServico,
|
|
25
|
+
apiFindAllContratos,
|
|
26
|
+
apiFindAllNotasFiscais,
|
|
27
|
+
apiFindAllPagamentos,
|
|
28
|
+
apiFindOneContrato,
|
|
5
29
|
apiFindOneContratoServico,
|
|
6
|
-
|
|
30
|
+
apiGerarAgenda,
|
|
31
|
+
apiMarcarExecucaoRealizada,
|
|
32
|
+
apiMarcarPagamentoPago,
|
|
33
|
+
apiReprovarContrato,
|
|
34
|
+
apiReprovarExecucao,
|
|
35
|
+
apiReprovarNotaFiscal,
|
|
36
|
+
apiSubmeterContrato,
|
|
37
|
+
apiTotaisPagamentos,
|
|
38
|
+
apiUpdateContrato,
|
|
39
|
+
apiUpdateContratoServico,
|
|
40
|
+
apiValidarNotaFiscal
|
|
7
41
|
};
|
|
8
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -12,7 +12,7 @@ import "./insumos/index.js";
|
|
|
12
12
|
import { generateQueryParams, getBaseTableParams } from "./modules.query.js";
|
|
13
13
|
import "./performance/index.js";
|
|
14
14
|
import "./ativos/index.js";
|
|
15
|
-
import { apiAbrirAnoPpr, apiAbrirRevisaoMetaGlobal, apiCreateAreaAtuacao, apiCreateAvaliacao, apiCreateCategoria, apiCreateIndicadorMetaGlobal, apiCreateIndicadorMetaSetorialGeral, apiCreateIndicadorMetaSetorialPorCc, apiCreateModeloAvaliacao, apiCreateModeloNota, apiDeleteAreaAtuacao, apiDeleteCategoria, apiDeleteIndicadorMetaGlobal, apiDeleteIndicadorMetaSetorialGeral, apiDeleteIndicadorMetaSetorialPorCc, apiDeleteModeloAvaliacao, apiDeleteModeloNota, apiFindAvaliacaoColaborador, apiFindOneAreaAtuacao, apiFindOneAvaliacao, apiFindOneCategoria, apiFindOneModeloAvaliacao, apiFindOneModeloNota, apiGetAnosPpr, apiGetAreaAtuacao, apiGetAvaliacao, apiGetCategoria, apiGetCentrosCustosPprByAno, apiGetComparativo, apiGetIndicadorMetaGlobalById, apiGetIndicadorMetaSetorialGeralById, apiGetIndicadorMetaSetorialPorCcById, apiGetIndicadoresMetaGlobal, apiGetIndicadoresMetaSetorialGeral, apiGetIndicadoresMetaSetorialPorCc, apiGetModeloAvaliacao, apiGetModeloNota, apiUpdateAreaAtuacao, apiUpdateCategoria, apiUpdateCentroCustoPprStatus, apiUpdateIndicadorMetaGlobal, apiUpdateIndicadorMetaSetorialGeral, apiUpdateIndicadorMetaSetorialPorCc, apiUpdateModeloAvaliacao, apiUpdateModeloNota } from "./performance/PerformanceService.js";
|
|
15
|
+
import { apiAbrirAnoPpr, apiAbrirRevisaoMetaGlobal, apiCreateAreaAtuacao, apiCreateAvaliacao, apiCreateCategoria, apiCreateIndicadorMetaGlobal, apiCreateIndicadorMetaSetorialGeral, apiCreateIndicadorMetaSetorialPorCc, apiCreateLancamentoResultadoPpr, apiCreateModeloAvaliacao, apiCreateModeloNota, apiDeleteAreaAtuacao, apiDeleteCategoria, apiDeleteIndicadorMetaGlobal, apiDeleteIndicadorMetaSetorialGeral, apiDeleteIndicadorMetaSetorialPorCc, apiDeleteModeloAvaliacao, apiDeleteModeloNota, apiEnviarAprovacaoLancamentoResultadoPpr, apiFindAvaliacaoColaborador, apiFindOneAreaAtuacao, apiFindOneAvaliacao, apiFindOneCategoria, apiFindOneModeloAvaliacao, apiFindOneModeloNota, apiGetAnosPpr, apiGetAreaAtuacao, apiGetAvaliacao, apiGetCategoria, apiGetCentrosCustoElegiveisPpr, apiGetCentrosCustosPprByAno, apiGetComparativo, apiGetIndicadorMetaGlobalById, apiGetIndicadorMetaSetorialGeralById, apiGetIndicadorMetaSetorialPorCcById, apiGetIndicadoresElegiveisPpr, apiGetIndicadoresMetaGlobal, apiGetIndicadoresMetaSetorialGeral, apiGetIndicadoresMetaSetorialPorCc, apiGetModeloAvaliacao, apiGetModeloNota, apiUpdateAreaAtuacao, apiUpdateCategoria, apiUpdateCentroCustoPprStatus, apiUpdateIndicadorMetaGlobal, apiUpdateIndicadorMetaSetorialGeral, apiUpdateIndicadorMetaSetorialPorCc, apiUpdateLancamentoResultadoPpr, apiUpdateModeloAvaliacao, apiUpdateModeloNota } from "./performance/PerformanceService.js";
|
|
16
16
|
import { apiAddAssistenciaTecnicaSeloSocial, apiChangeToAssinaturaServicoAssistenciaFisica, apiFindAllAssistenciaTecnicaSeloSocial, apiFindCounterDigitalServicoAssistencia, apiFindCounterFisicoServicoAssistencia, apiGetAssistenciaTecnicaSeloSocial, apiGetAssistenciaTecnicaSeloSocialHistoricos, apiUpdateAssistenciaTecnicaSeloSocial, apiUploadAssinaturaServicoAssistenciaFisica } from "./originacao/assistenciaTecnicaSeloSocial/AssistenciaTecnicaSeloSocialService.js";
|
|
17
17
|
import { apiAddAtivosAplicacao, apiDeleteAtivosAplicacao, apiFindMonitorAtivosAplicacao, apiGetAtivosAplicacao, apiUpdateAtivosAplicacao } from "./ativos/aplicacao/AplicacaoService.js";
|
|
18
18
|
import { apiAddAtivosAtivo, apiCountAtivosAtivo, apiDeleteAtivosAtivo, apiDevolverAtivosAtivo, apiDevolverLocadoraAtivosAtivo, apiDisponibilizarAtivosAtivo, apiFindHistoricoByTipoAcao, apiFindMonitorAtivosAtivo, apiFindSubstituicaoByAtivos, apiGetAtivosAtivo, apiRepararAtivosAtivo, apiTransferirAtivosAtivo, apiUpdateAtivosAtivo } from "./ativos/ativo/AtivoService.js";
|
|
@@ -256,6 +256,7 @@ export {
|
|
|
256
256
|
apiCreateIndicadorMetaGlobal,
|
|
257
257
|
apiCreateIndicadorMetaSetorialGeral,
|
|
258
258
|
apiCreateIndicadorMetaSetorialPorCc,
|
|
259
|
+
apiCreateLancamentoResultadoPpr,
|
|
259
260
|
apiCreateLocalRecepcao,
|
|
260
261
|
apiCreateModeloAvaliacao,
|
|
261
262
|
apiCreateModeloNota,
|
|
@@ -335,6 +336,7 @@ export {
|
|
|
335
336
|
apiEditContratoCompraGraos,
|
|
336
337
|
apiEditPreContrato,
|
|
337
338
|
apiEditarValorOrdemCompra,
|
|
339
|
+
apiEnviarAprovacaoLancamentoResultadoPpr,
|
|
338
340
|
apiEnviarSapContratoFrete,
|
|
339
341
|
apiExecuteAcao,
|
|
340
342
|
apiExecuteAcaoCotacao,
|
|
@@ -629,6 +631,7 @@ export {
|
|
|
629
631
|
apiGetBusinessPartnersCodeByCpf,
|
|
630
632
|
apiGetCalulatePriceRacaoPedidoVenda,
|
|
631
633
|
apiGetCategoria,
|
|
634
|
+
apiGetCentrosCustoElegiveisPpr,
|
|
632
635
|
apiGetCentrosCustosPprByAno,
|
|
633
636
|
apiGetCertificadoTransportadora,
|
|
634
637
|
apiGetCessaoDireitoCredito,
|
|
@@ -651,6 +654,7 @@ export {
|
|
|
651
654
|
apiGetIndicadorMetaGlobalById,
|
|
652
655
|
apiGetIndicadorMetaSetorialGeralById,
|
|
653
656
|
apiGetIndicadorMetaSetorialPorCcById,
|
|
657
|
+
apiGetIndicadoresElegiveisPpr,
|
|
654
658
|
apiGetIndicadoresMetaGlobal,
|
|
655
659
|
apiGetIndicadoresMetaSetorialGeral,
|
|
656
660
|
apiGetIndicadoresMetaSetorialPorCc,
|
|
@@ -787,6 +791,7 @@ export {
|
|
|
787
791
|
apiUpdateIrpfFaixaDesconto,
|
|
788
792
|
apiUpdateIss,
|
|
789
793
|
apiUpdateItinerario,
|
|
794
|
+
apiUpdateLancamentoResultadoPpr,
|
|
790
795
|
apiUpdateLocalRecepcao,
|
|
791
796
|
apiUpdateModeloAvaliacao,
|
|
792
797
|
apiUpdateModeloNota,
|
|
@@ -298,6 +298,41 @@ async function apiDeleteIndicadorMetaSetorialPorCc(id) {
|
|
|
298
298
|
method: "delete"
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
+
async function apiGetCentrosCustoElegiveisPpr(ano) {
|
|
302
|
+
return ApiService.fetchDataWithAxios({
|
|
303
|
+
url: endpointNavigationConfig.performance.ppr.lancamentosResultadoCentrosCustoElegiveis,
|
|
304
|
+
method: "get",
|
|
305
|
+
params: { ano }
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
async function apiGetIndicadoresElegiveisPpr(data) {
|
|
309
|
+
return ApiService.fetchDataWithAxios({
|
|
310
|
+
url: endpointNavigationConfig.performance.ppr.lancamentosResultadoIndicadoresElegiveis,
|
|
311
|
+
method: "post",
|
|
312
|
+
data
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
async function apiCreateLancamentoResultadoPpr(data) {
|
|
316
|
+
return ApiService.fetchDataWithAxios({
|
|
317
|
+
url: endpointNavigationConfig.performance.ppr.lancamentosResultado,
|
|
318
|
+
method: "post",
|
|
319
|
+
data
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
async function apiUpdateLancamentoResultadoPpr(data) {
|
|
323
|
+
return ApiService.fetchDataWithAxios({
|
|
324
|
+
url: endpointNavigationConfig.performance.ppr.lancamentosResultado,
|
|
325
|
+
method: "put",
|
|
326
|
+
data
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
async function apiEnviarAprovacaoLancamentoResultadoPpr(data) {
|
|
330
|
+
return ApiService.fetchDataWithAxios({
|
|
331
|
+
url: endpointNavigationConfig.performance.ppr.lancamentosResultadoEnviarAprovacao,
|
|
332
|
+
method: "put",
|
|
333
|
+
data
|
|
334
|
+
});
|
|
335
|
+
}
|
|
301
336
|
export {
|
|
302
337
|
apiAbrirAnoPpr,
|
|
303
338
|
apiAbrirRevisaoMetaGlobal,
|
|
@@ -307,6 +342,7 @@ export {
|
|
|
307
342
|
apiCreateIndicadorMetaGlobal,
|
|
308
343
|
apiCreateIndicadorMetaSetorialGeral,
|
|
309
344
|
apiCreateIndicadorMetaSetorialPorCc,
|
|
345
|
+
apiCreateLancamentoResultadoPpr,
|
|
310
346
|
apiCreateModeloAvaliacao,
|
|
311
347
|
apiCreateModeloNota,
|
|
312
348
|
apiDeleteAreaAtuacao,
|
|
@@ -316,6 +352,7 @@ export {
|
|
|
316
352
|
apiDeleteIndicadorMetaSetorialPorCc,
|
|
317
353
|
apiDeleteModeloAvaliacao,
|
|
318
354
|
apiDeleteModeloNota,
|
|
355
|
+
apiEnviarAprovacaoLancamentoResultadoPpr,
|
|
319
356
|
apiFindAvaliacaoColaborador,
|
|
320
357
|
apiFindOneAreaAtuacao,
|
|
321
358
|
apiFindOneAvaliacao,
|
|
@@ -326,11 +363,13 @@ export {
|
|
|
326
363
|
apiGetAreaAtuacao,
|
|
327
364
|
apiGetAvaliacao,
|
|
328
365
|
apiGetCategoria,
|
|
366
|
+
apiGetCentrosCustoElegiveisPpr,
|
|
329
367
|
apiGetCentrosCustosPprByAno,
|
|
330
368
|
apiGetComparativo,
|
|
331
369
|
apiGetIndicadorMetaGlobalById,
|
|
332
370
|
apiGetIndicadorMetaSetorialGeralById,
|
|
333
371
|
apiGetIndicadorMetaSetorialPorCcById,
|
|
372
|
+
apiGetIndicadoresElegiveisPpr,
|
|
334
373
|
apiGetIndicadoresMetaGlobal,
|
|
335
374
|
apiGetIndicadoresMetaSetorialGeral,
|
|
336
375
|
apiGetIndicadoresMetaSetorialPorCc,
|
|
@@ -342,6 +381,7 @@ export {
|
|
|
342
381
|
apiUpdateIndicadorMetaGlobal,
|
|
343
382
|
apiUpdateIndicadorMetaSetorialGeral,
|
|
344
383
|
apiUpdateIndicadorMetaSetorialPorCc,
|
|
384
|
+
apiUpdateLancamentoResultadoPpr,
|
|
345
385
|
apiUpdateModeloAvaliacao,
|
|
346
386
|
apiUpdateModeloNota
|
|
347
387
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceService.js","sources":["../../../../../lib/base/services/modules/performance/PerformanceService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TModeloNota } from '@base/@types/models/performance/modeloNota'\nimport { TFindMonitorCategoria, TCategoria } from '@base/@types/models/performance/categoria'\nimport { TAreaAtuacao, TFindMonitorAreaAtuacao } from '@base/@types/models/performance/areaAtuacao'\nimport { TModeloAvaliacao, TFindMonitorModeloAvaliacao } from '@base/@types/models/performance/modeloAvaliacao'\nimport { TAvaliacao, TFindMonitorAvaliacao, TCreateAvaliacao, TComparativoColaborador } from '@base/@types/models/performance/avaliacao'\nimport {\n TAbrirAnoPpr,\n TAnoPpr,\n TCreateIndicadorMetaGlobal,\n TCreateIndicadorMetaSetorialGeral,\n TCreateIndicadorMetaSetorialPorCc,\n TFindMonitorIndicadorMetaGlobal,\n TFindMonitorIndicadorMetaSetorialGeral,\n TFindMonitorIndicadorMetaSetorialPorCc,\n TIndicadorMetaGlobal,\n TIndicadorMetaSetorialGeral,\n TIndicadorMetaSetorialPorCc,\n TParametroCcPpr,\n TUpdateIndicadorMetaSetorialPorCc,\n TUpdateParametroCcStatusPpr,\n} from '@base/@types/models/performance/ppr'\nimport { endpointsConfig } from '@base/configs'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetModeloNota(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TModeloNota>>({\n url: endpointsConfig.performance.modeloNota.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateModeloNota(data?: TModeloNota) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: endpointsConfig.performance.modeloNota.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateModeloNota(data?: TModeloNota) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: endpointsConfig.performance.modeloNota.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneModeloNota(id: string) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: `${endpointsConfig.performance.modeloNota.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteModeloNota(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.modeloNota.delete}/${id}`,\n method: 'delete',\n })\n\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorCategoria>>({\n url: endpointsConfig.performance.categoria.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: endpointsConfig.performance.categoria.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: endpointsConfig.performance.categoria.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.performance.categoria.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.categoria.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetAreaAtuacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAreaAtuacao>>({\n url: endpointsConfig.performance.areaAtuacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateAreaAtuacao(data?: TAreaAtuacao) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: endpointsConfig.performance.areaAtuacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateAreaAtuacao(data?: TAreaAtuacao) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: endpointsConfig.performance.areaAtuacao.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneAreaAtuacao(id: string) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: `${endpointsConfig.performance.areaAtuacao.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteAreaAtuacao(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.areaAtuacao.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetModeloAvaliacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorModeloAvaliacao>>({\n url: endpointsConfig.performance.modeloAvaliacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindOneModeloAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: `${endpointsConfig.performance.modeloAvaliacao.findOne}/${id}`,\n method: 'get'\n })\n}\n\nexport async function apiCreateModeloAvaliacao(data?: TModeloAvaliacao) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: endpointsConfig.performance.modeloAvaliacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateModeloAvaliacao(data?: TModeloAvaliacao) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: endpointsConfig.performance.modeloAvaliacao.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteModeloAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.modeloAvaliacao.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetAvaliacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAvaliacao>>({\n url: endpointsConfig.performance.avaliacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindOneAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<TAvaliacao>({\n url: `${endpointsConfig.performance.avaliacao.findOne}/${id}`,\n method: 'get'\n })\n}\n\nexport async function apiCreateAvaliacao(data?: TCreateAvaliacao) {\n return ApiService.fetchDataWithAxios<TAvaliacao>({\n url: endpointsConfig.performance.avaliacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiGetComparativo(colaboradorId: number) {\n return ApiService.fetchDataWithAxios<TComparativoColaborador>({\n url: `${endpointsConfig.performance.avaliacao.comparativo}/${colaboradorId}`,\n method: 'get',\n })\n}\n\nexport async function apiFindAvaliacaoColaborador(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAvaliacao>>({\n url: endpointsConfig.performance.avaliacao.colaborador,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiAbrirAnoPpr(data: TAbrirAnoPpr) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr[]>({\n url: endpointsConfig.performance.ppr.aberturaAno,\n method: 'post',\n data,\n })\n}\n\nexport async function apiGetAnosPpr() {\n return ApiService.fetchDataWithAxios<TAnoPpr[]>({\n url: endpointsConfig.performance.ppr.anos,\n method: 'get',\n })\n}\n\nexport async function apiGetCentrosCustosPprByAno(ano: number) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr[]>({\n url: endpointsConfig.performance.ppr.centrosCustos,\n method: 'get',\n params: { ano },\n })\n}\n\nexport async function apiUpdateCentroCustoPprStatus(id: number, data: TUpdateParametroCcStatusPpr) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr>({\n url: `${endpointsConfig.performance.ppr.updateStatus}/${id}/status`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiGetIndicadoresMetaGlobal(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaGlobal>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaGlobalFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaGlobalById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaGlobal(data: TCreateIndicadorMetaGlobal) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: endpointsConfig.performance.ppr.indicadoresMetaGlobal,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaGlobal(id: number, data: TCreateIndicadorMetaGlobal) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaGlobal(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiAbrirRevisaoMetaGlobal(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}/revisao`,\n method: 'put',\n })\n}\n\nexport async function apiGetIndicadoresMetaSetorialGeral(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaSetorialGeral>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialGeralFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaSetorialGeralById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaSetorialGeral(data: TCreateIndicadorMetaSetorialGeral) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaSetorialGeral(id: number, data: TCreateIndicadorMetaSetorialGeral) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaSetorialGeral(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetIndicadoresMetaSetorialPorCc(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaSetorialPorCc>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCcFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaSetorialPorCcById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaSetorialPorCc(data: TCreateIndicadorMetaSetorialPorCc) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaSetorialPorCc(data: TUpdateIndicadorMetaSetorialPorCc) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaSetorialPorCc(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc}/${id}`,\n method: 'delete',\n })\n}\n\n"],"names":["endpointsConfig"],"mappings":";;;AAyBA,eAAsB,iBAAiB,MAAsB;AAC3D,SAAO,WAAW,mBAAgD;AAAA,IAChE,KAAKA,yBAAgB,YAAY,WAAW;AAAA,IAC5C,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACP;AACH;AAEA,eAAsB,oBAAoB,MAAoB;AAC5D,SAAO,WAAW,mBAAgC;AAAA,IAChD,KAAKA,yBAAgB,YAAY,WAAW;AAAA,IAC5C,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,oBAAoB,MAAoB;AAC5D,SAAO,WAAW,mBAAgC;AAAA,IAChD,KAAKA,yBAAgB,YAAY,WAAW;AAAA,IAC5C,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,qBAAqB,IAAY;AACrD,SA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mBAAgD;AAAA,IAChE,KAAKA,yBAAgB,YAAY,IAAI;AAAA,IACrC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,oCAAoC,MAAyC;AACjG,SAAO,WAAW,mBAAgD;AAAA,IAChE,KAAKA,yBAAgB,YAAY,IAAI;AAAA,IACrC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,oCAAoC,IAAY;AACpE,SAAO,WAAW,mBAAyB;AAAA,IACzC,KAAK,GAAGA,yBAAgB,YAAY,IAAI,4BAA4B,IAAI,EAAE;AAAA,IAC1E,QAAQ;AAAA,EAAA,CACT;AACH;"}
|
|
1
|
+
{"version":3,"file":"PerformanceService.js","sources":["../../../../../lib/base/services/modules/performance/PerformanceService.ts"],"sourcesContent":["import { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TModeloNota } from '@base/@types/models/performance/modeloNota'\nimport { TFindMonitorCategoria, TCategoria } from '@base/@types/models/performance/categoria'\nimport { TAreaAtuacao, TFindMonitorAreaAtuacao } from '@base/@types/models/performance/areaAtuacao'\nimport { TModeloAvaliacao, TFindMonitorModeloAvaliacao } from '@base/@types/models/performance/modeloAvaliacao'\nimport { TAvaliacao, TFindMonitorAvaliacao, TCreateAvaliacao, TComparativoColaborador } from '@base/@types/models/performance/avaliacao'\nimport {\n TAbrirAnoPpr,\n TAnoPpr,\n TCentroCustoElegivel,\n TCreateIndicadorMetaGlobal,\n TCreateIndicadorMetaSetorialGeral,\n TCreateIndicadorMetaSetorialPorCc,\n TEnviarAprovacaoLancamentoResultadoPpr,\n TFindMonitorIndicadorMetaGlobal,\n TFindMonitorIndicadorMetaSetorialGeral,\n TFindMonitorIndicadorMetaSetorialPorCc,\n TIndicadorMetaGlobal,\n TIndicadorMetaSetorialGeral,\n TIndicadorMetaSetorialPorCc,\n TIndicadorPreenchimentoElegivel,\n TLancamentoResultadoPpr,\n TParametroCcPpr,\n TSalvarLancamentoResultadoPpr,\n TUpdateIndicadorMetaSetorialPorCc,\n TUpdateParametroCcStatusPpr,\n} from '@base/@types/models/performance/ppr'\nimport { endpointsConfig } from '@base/configs'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetModeloNota(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TModeloNota>>({\n url: endpointsConfig.performance.modeloNota.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateModeloNota(data?: TModeloNota) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: endpointsConfig.performance.modeloNota.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateModeloNota(data?: TModeloNota) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: endpointsConfig.performance.modeloNota.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneModeloNota(id: string) {\n return ApiService.fetchDataWithAxios<TModeloNota>({\n url: `${endpointsConfig.performance.modeloNota.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteModeloNota(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.modeloNota.delete}/${id}`,\n method: 'delete',\n })\n\n}\n\nexport async function apiGetCategoria(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorCategoria>>({\n url: endpointsConfig.performance.categoria.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: endpointsConfig.performance.categoria.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateCategoria(data?: TCategoria) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: endpointsConfig.performance.categoria.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneCategoria(id: string) {\n return ApiService.fetchDataWithAxios<TCategoria>({\n url: `${endpointsConfig.performance.categoria.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteCategoria(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.categoria.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetAreaAtuacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAreaAtuacao>>({\n url: endpointsConfig.performance.areaAtuacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiCreateAreaAtuacao(data?: TAreaAtuacao) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: endpointsConfig.performance.areaAtuacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateAreaAtuacao(data?: TAreaAtuacao) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: endpointsConfig.performance.areaAtuacao.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiFindOneAreaAtuacao(id: string) {\n return ApiService.fetchDataWithAxios<TAreaAtuacao>({\n url: `${endpointsConfig.performance.areaAtuacao.findOne}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiDeleteAreaAtuacao(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.areaAtuacao.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetModeloAvaliacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorModeloAvaliacao>>({\n url: endpointsConfig.performance.modeloAvaliacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindOneModeloAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: `${endpointsConfig.performance.modeloAvaliacao.findOne}/${id}`,\n method: 'get'\n })\n}\n\nexport async function apiCreateModeloAvaliacao(data?: TModeloAvaliacao) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: endpointsConfig.performance.modeloAvaliacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateModeloAvaliacao(data?: TModeloAvaliacao) {\n return ApiService.fetchDataWithAxios<TModeloAvaliacao>({\n url: endpointsConfig.performance.modeloAvaliacao.update,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteModeloAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.modeloAvaliacao.delete}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetAvaliacao(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAvaliacao>>({\n url: endpointsConfig.performance.avaliacao.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiFindOneAvaliacao(id: string) {\n return ApiService.fetchDataWithAxios<TAvaliacao>({\n url: `${endpointsConfig.performance.avaliacao.findOne}/${id}`,\n method: 'get'\n })\n}\n\nexport async function apiCreateAvaliacao(data?: TCreateAvaliacao) {\n return ApiService.fetchDataWithAxios<TAvaliacao>({\n url: endpointsConfig.performance.avaliacao.add,\n method: 'post',\n data,\n })\n}\n\nexport async function apiGetComparativo(colaboradorId: number) {\n return ApiService.fetchDataWithAxios<TComparativoColaborador>({\n url: `${endpointsConfig.performance.avaliacao.comparativo}/${colaboradorId}`,\n method: 'get',\n })\n}\n\nexport async function apiFindAvaliacaoColaborador(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorAvaliacao>>({\n url: endpointsConfig.performance.avaliacao.colaborador,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiAbrirAnoPpr(data: TAbrirAnoPpr) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr[]>({\n url: endpointsConfig.performance.ppr.aberturaAno,\n method: 'post',\n data,\n })\n}\n\nexport async function apiGetAnosPpr() {\n return ApiService.fetchDataWithAxios<TAnoPpr[]>({\n url: endpointsConfig.performance.ppr.anos,\n method: 'get',\n })\n}\n\nexport async function apiGetCentrosCustosPprByAno(ano: number) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr[]>({\n url: endpointsConfig.performance.ppr.centrosCustos,\n method: 'get',\n params: { ano },\n })\n}\n\nexport async function apiUpdateCentroCustoPprStatus(id: number, data: TUpdateParametroCcStatusPpr) {\n return ApiService.fetchDataWithAxios<TParametroCcPpr>({\n url: `${endpointsConfig.performance.ppr.updateStatus}/${id}/status`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiGetIndicadoresMetaGlobal(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaGlobal>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaGlobalFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaGlobalById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaGlobal(data: TCreateIndicadorMetaGlobal) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: endpointsConfig.performance.ppr.indicadoresMetaGlobal,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaGlobal(id: number, data: TCreateIndicadorMetaGlobal) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaGlobal(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiAbrirRevisaoMetaGlobal(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaGlobal>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaGlobal}/${id}/revisao`,\n method: 'put',\n })\n}\n\nexport async function apiGetIndicadoresMetaSetorialGeral(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaSetorialGeral>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialGeralFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaSetorialGeralById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaSetorialGeral(data: TCreateIndicadorMetaSetorialGeral) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaSetorialGeral(id: number, data: TCreateIndicadorMetaSetorialGeral) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialGeral>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaSetorialGeral(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialGeral}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetIndicadoresMetaSetorialPorCc(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<TFindMonitorIndicadorMetaSetorialPorCc>>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCcFindMonitor,\n method: 'post',\n data: body,\n })\n}\n\nexport async function apiGetIndicadorMetaSetorialPorCcById(id: number) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc}/${id}`,\n method: 'get',\n })\n}\n\nexport async function apiCreateIndicadorMetaSetorialPorCc(data: TCreateIndicadorMetaSetorialPorCc) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateIndicadorMetaSetorialPorCc(data: TUpdateIndicadorMetaSetorialPorCc) {\n return ApiService.fetchDataWithAxios<TIndicadorMetaSetorialPorCc>({\n url: endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc,\n method: 'put',\n data,\n })\n}\n\nexport async function apiDeleteIndicadorMetaSetorialPorCc(id: number) {\n return ApiService.fetchDataWithAxios<void>({\n url: `${endpointsConfig.performance.ppr.indicadoresMetaSetorialPorCc}/${id}`,\n method: 'delete',\n })\n}\n\nexport async function apiGetCentrosCustoElegiveisPpr(ano: number) {\n return ApiService.fetchDataWithAxios<TCentroCustoElegivel[]>({\n url: endpointsConfig.performance.ppr.lancamentosResultadoCentrosCustoElegiveis,\n method: 'get',\n params: { ano },\n })\n}\n\nexport async function apiGetIndicadoresElegiveisPpr(data: { ano: number; parametroCcId: number | null }) {\n return ApiService.fetchDataWithAxios<TIndicadorPreenchimentoElegivel[]>({\n url: endpointsConfig.performance.ppr.lancamentosResultadoIndicadoresElegiveis,\n method: 'post',\n data,\n })\n}\n\nexport async function apiCreateLancamentoResultadoPpr(data: TSalvarLancamentoResultadoPpr) {\n return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({\n url: endpointsConfig.performance.ppr.lancamentosResultado,\n method: 'post',\n data,\n })\n}\n\nexport async function apiUpdateLancamentoResultadoPpr(data: TSalvarLancamentoResultadoPpr) {\n return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({\n url: endpointsConfig.performance.ppr.lancamentosResultado,\n method: 'put',\n data,\n })\n}\n\nexport async function apiEnviarAprovacaoLancamentoResultadoPpr(data: TEnviarAprovacaoLancamentoResultadoPpr) {\n return ApiService.fetchDataWithAxios<TLancamentoResultadoPpr>({\n url: endpointsConfig.performance.ppr.lancamentosResultadoEnviarAprovacao,\n method: 'put',\n data,\n })\n}\n\n"],"names":["endpointsConfig"],"mappings":";;;AA8BA,eAAsB,iBAAiB,MAAsB;AAC3D,SAAO,WAAW,mBAAgD;AAAA,IAChE,KAAKA,yBAAgB,YAAY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AAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,gCAAgC,MAAqC;AACzF,SAAO,WAAW,mBAA4C;AAAA,IAC5D,KAAKA,yBAAgB,YAAY,IAAI;AAAA,IACrC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;AAEA,eAAsB,yCAAyC,MAA8C;AAC3G,SAAO,WAAW,mBAA4C;AAAA,IAC5D,KAAKA,yBAAgB,YAAY,IAAI;AAAA,IACrC,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AACH;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { apiAbrirAnoPpr, apiAbrirRevisaoMetaGlobal, apiCreateAreaAtuacao, apiCreateAvaliacao, apiCreateCategoria, apiCreateIndicadorMetaGlobal, apiCreateIndicadorMetaSetorialGeral, apiCreateIndicadorMetaSetorialPorCc, apiCreateModeloAvaliacao, apiCreateModeloNota, apiDeleteAreaAtuacao, apiDeleteCategoria, apiDeleteIndicadorMetaGlobal, apiDeleteIndicadorMetaSetorialGeral, apiDeleteIndicadorMetaSetorialPorCc, apiDeleteModeloAvaliacao, apiDeleteModeloNota, apiFindAvaliacaoColaborador, apiFindOneAreaAtuacao, apiFindOneAvaliacao, apiFindOneCategoria, apiFindOneModeloAvaliacao, apiFindOneModeloNota, apiGetAnosPpr, apiGetAreaAtuacao, apiGetAvaliacao, apiGetCategoria, apiGetCentrosCustosPprByAno, apiGetComparativo, apiGetIndicadorMetaGlobalById, apiGetIndicadorMetaSetorialGeralById, apiGetIndicadorMetaSetorialPorCcById, apiGetIndicadoresMetaGlobal, apiGetIndicadoresMetaSetorialGeral, apiGetIndicadoresMetaSetorialPorCc, apiGetModeloAvaliacao, apiGetModeloNota, apiUpdateAreaAtuacao, apiUpdateCategoria, apiUpdateCentroCustoPprStatus, apiUpdateIndicadorMetaGlobal, apiUpdateIndicadorMetaSetorialGeral, apiUpdateIndicadorMetaSetorialPorCc, apiUpdateModeloAvaliacao, apiUpdateModeloNota } from "./PerformanceService.js";
|
|
1
|
+
import { apiAbrirAnoPpr, apiAbrirRevisaoMetaGlobal, apiCreateAreaAtuacao, apiCreateAvaliacao, apiCreateCategoria, apiCreateIndicadorMetaGlobal, apiCreateIndicadorMetaSetorialGeral, apiCreateIndicadorMetaSetorialPorCc, apiCreateLancamentoResultadoPpr, apiCreateModeloAvaliacao, apiCreateModeloNota, apiDeleteAreaAtuacao, apiDeleteCategoria, apiDeleteIndicadorMetaGlobal, apiDeleteIndicadorMetaSetorialGeral, apiDeleteIndicadorMetaSetorialPorCc, apiDeleteModeloAvaliacao, apiDeleteModeloNota, apiEnviarAprovacaoLancamentoResultadoPpr, apiFindAvaliacaoColaborador, apiFindOneAreaAtuacao, apiFindOneAvaliacao, apiFindOneCategoria, apiFindOneModeloAvaliacao, apiFindOneModeloNota, apiGetAnosPpr, apiGetAreaAtuacao, apiGetAvaliacao, apiGetCategoria, apiGetCentrosCustoElegiveisPpr, apiGetCentrosCustosPprByAno, apiGetComparativo, apiGetIndicadorMetaGlobalById, apiGetIndicadorMetaSetorialGeralById, apiGetIndicadorMetaSetorialPorCcById, apiGetIndicadoresElegiveisPpr, apiGetIndicadoresMetaGlobal, apiGetIndicadoresMetaSetorialGeral, apiGetIndicadoresMetaSetorialPorCc, apiGetModeloAvaliacao, apiGetModeloNota, apiUpdateAreaAtuacao, apiUpdateCategoria, apiUpdateCentroCustoPprStatus, apiUpdateIndicadorMetaGlobal, apiUpdateIndicadorMetaSetorialGeral, apiUpdateIndicadorMetaSetorialPorCc, apiUpdateLancamentoResultadoPpr, apiUpdateModeloAvaliacao, apiUpdateModeloNota } from "./PerformanceService.js";
|
|
2
2
|
export {
|
|
3
3
|
apiAbrirAnoPpr,
|
|
4
4
|
apiAbrirRevisaoMetaGlobal,
|
|
@@ -8,6 +8,7 @@ export {
|
|
|
8
8
|
apiCreateIndicadorMetaGlobal,
|
|
9
9
|
apiCreateIndicadorMetaSetorialGeral,
|
|
10
10
|
apiCreateIndicadorMetaSetorialPorCc,
|
|
11
|
+
apiCreateLancamentoResultadoPpr,
|
|
11
12
|
apiCreateModeloAvaliacao,
|
|
12
13
|
apiCreateModeloNota,
|
|
13
14
|
apiDeleteAreaAtuacao,
|
|
@@ -17,6 +18,7 @@ export {
|
|
|
17
18
|
apiDeleteIndicadorMetaSetorialPorCc,
|
|
18
19
|
apiDeleteModeloAvaliacao,
|
|
19
20
|
apiDeleteModeloNota,
|
|
21
|
+
apiEnviarAprovacaoLancamentoResultadoPpr,
|
|
20
22
|
apiFindAvaliacaoColaborador,
|
|
21
23
|
apiFindOneAreaAtuacao,
|
|
22
24
|
apiFindOneAvaliacao,
|
|
@@ -27,11 +29,13 @@ export {
|
|
|
27
29
|
apiGetAreaAtuacao,
|
|
28
30
|
apiGetAvaliacao,
|
|
29
31
|
apiGetCategoria,
|
|
32
|
+
apiGetCentrosCustoElegiveisPpr,
|
|
30
33
|
apiGetCentrosCustosPprByAno,
|
|
31
34
|
apiGetComparativo,
|
|
32
35
|
apiGetIndicadorMetaGlobalById,
|
|
33
36
|
apiGetIndicadorMetaSetorialGeralById,
|
|
34
37
|
apiGetIndicadorMetaSetorialPorCcById,
|
|
38
|
+
apiGetIndicadoresElegiveisPpr,
|
|
35
39
|
apiGetIndicadoresMetaGlobal,
|
|
36
40
|
apiGetIndicadoresMetaSetorialGeral,
|
|
37
41
|
apiGetIndicadoresMetaSetorialPorCc,
|
|
@@ -43,6 +47,7 @@ export {
|
|
|
43
47
|
apiUpdateIndicadorMetaGlobal,
|
|
44
48
|
apiUpdateIndicadorMetaSetorialGeral,
|
|
45
49
|
apiUpdateIndicadorMetaSetorialPorCc,
|
|
50
|
+
apiUpdateLancamentoResultadoPpr,
|
|
46
51
|
apiUpdateModeloAvaliacao,
|
|
47
52
|
apiUpdateModeloNota
|
|
48
53
|
};
|