\n \n \n\n \n \n \n \n \n \n \n \n \n {{ $t('GERAL.GERAR_RELATORIO') }}\n \n \n \n \n {{ $t('GERAL.LIMPAR') }}\n \n \n \n
\n\n \n\n ","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=5f4df8a0&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import store from \"@/store/Store\";\n\nexport default {\n data() {\n return {\n acessos: store.getters.acessos,\n idPagina: this.$router.currentRoute.meta.id,\n };\n },\n computed: {\n listaPermissoes() {\n return this.acessos.find((x) => x.acesso === this.idPagina);\n },\n podeCadastrar() {\n if (store.getters.admin) return true;\n return this.listaPermissoes.permissoes.includes(\"Criar\");\n },\n podeEditar() {\n if (store.getters.admin) return true;\n return this.listaPermissoes.permissoes.includes(\"Atualizar\");\n },\n podeExcluir() {\n if (store.getters.admin) return true;\n return this.listaPermissoes.permissoes.includes(\"Excluir\");\n },\n podeVisualizar() {\n if (store.getters.admin) return true;\n return this.listaPermissoes.permissoes.includes(\"Visualizar\");\n },\n },\n methods: {\n verificarPermissao(id, permissao) {\n if (store.getters.admin) return true;\n let acessoPermissao = this.acessos.find((x) => x.acesso === id);\n if (acessoPermissao) {\n return acessoPermissao.permissoes.includes(permissao);\n }\n return false;\n }\n }\n};\n","import ApiService from '@/common/api/api.service';\n\nconst AnoLetivoService = {\n async listar(paginacao) {\n let { data } = await ApiService.get(`AnoLetivo`, { params: paginacao });\n return data;\n },\n async buscarPorId(id) {\n let { data } = await ApiService.get(`AnoLetivo/${id}`);\n return data;\n },\n async buscarPorIdComSegmentacao(id) {\n let { data } = await ApiService.get(`AnoLetivo/obter-lista-segmentacoes`, {\n params: { id },\n });\n return data;\n },\n async salvar(form) {\n let result = [];\n if (!form.id) result = await ApiService.post(`AnoLetivo`, form);\n else result = await ApiService.put(`AnoLetivo`, form);\n return result;\n },\n async adicionarTurma(form) {\n return await ApiService.post(`AnoLetivo/adicionar-turma`, form);\n },\n async removerTurma(form) {\n return await ApiService.delete(\n `AnoLetivo/remover-turma?AnoLetivoId=${form.anoLetivoId}&TurmaId=${form.turmaId}`\n );\n },\n async excluir(id) {\n return await ApiService.delete(`AnoLetivo/${id}`);\n },\n async encerrarPeriodo(id) {\n return await ApiService.put(`AnoLetivo/encerramento?anoLetivoId=${id}`);\n },\n\n // docente\n async adicionarDocente(form) {\n const { data } = await ApiService.post(`AnoLetivo/adicionar-docente`, form);\n return data;\n },\n\n async removerDocente(form) {\n const { data } = await ApiService.delete(\n `AnoLetivo/remover-docente?AnoLetivoId=${form.anoLetivoId}&anoLetivoDocenteId=${form.anoLetivoDocenteId}`\n );\n return data;\n },\n async obterPeriodoLetivo(paginacao, campoOrdenado, ordem) {\n let { data } = await ApiService.get(`AnoLetivo/obter-periodo-letivo`, { \n params: { \n NumeroDaPagina: paginacao.numeroDaPagina,\n TamanhoDaPagina: paginacao.tamanhoDaPagina, \n CampoOrdenado : campoOrdenado, \n OrdenacaoAscendente:ordem\n },\n } );\n return data;\n },\n};\n\nexport default AnoLetivoService;\n","import ApiService from '@/common/api/api.service';\n\nlet apiBasePath = 'LancamentoCaixa';\nconst FluxoCaixaService = {\n // FUNÇÕES DE BUSCA:\n async listarPorFiltroPaginado(filtro, paginacao, campoOrdenado, ordem) {\n for (let chave in filtro) {\n if (filtro[chave] == undefined || filtro[chave] == '') {\n delete filtro[chave];\n }\n }\n\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-fluxo-caixa-por-filtro`,\n {\n params: {\n ...paginacao,\n ...filtro,\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem,\n },\n }\n );\n\n data.data.itens = data.data.itens.flatMap(item => [\n {\n tipo: 'saldoAnterior',\n historicoLancamento: 'Saldo anterior',\n _rowVariant: 'warning fw-bold',\n saldo: item.saldoAnterior,\n },\n ...item.dadosAgrupados,\n {\n tipo: 'saldoAtualizado',\n historicoLancamento: 'Saldo atualizado',\n _rowVariant: 'warning',\n saldo: item.saldoFinal,\n },\n ]);\n\n return data;\n },\n async excluir(id) {\n let { data } = await ApiService.delete(`${apiBasePath}/${id}`);\n return data;\n },\n async imprimirRecibo(form) {\n let { data } = await ApiService.post(\n `${apiBasePath}/imprimir-recibo`,\n form\n );\n return data;\n },\n async imprimirExtrato(form) {\n let { data } = await ApiService.get(\n `${apiBasePath}/relatorio-fluxo-de-caixa`,\n {\n params: {\n ...form,\n },\n }\n );\n return data;\n },\n async realizarTransferenciaEntreContas(form) {\n let { data } = await ApiService.put(`${apiBasePath}/transferencia`, form);\n return data;\n },\n async criar(form) {\n let { data } = await ApiService.post(`${apiBasePath}`, form);\n return data;\n },\n async editar(form) {\n let { data } = await ApiService.put(`${apiBasePath}`, form);\n return data;\n },\n async obterLancamentosPorPeriodoPaginado(filtro, paginacao) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-lancamentos-por-periodo-paginado`,\n {\n params: {\n ...filtro,\n ...paginacao,\n },\n }\n );\n return data;\n },\n // Relatorios\n async gerarImpostoDeRendaPdf(matriculaId, anoLetivoId) {\n let { data } = await ApiService.get(\n `${apiBasePath}/relatorio-declaracao-imposto-renda`,\n {\n params: {\n matriculaId,\n anoLetivoId,\n },\n }\n );\n return data;\n },\n\n async gerarRelatorioFaturamentoPdf(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/gerar-relatorio-faturamento/`,\n {\n params: {\n ...filtro,\n },\n }\n );\n return data;\n },\n async gerarRelatorioLancamentoPorPeriodo(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/relatorio-lancamentos-por-periodo`,\n {\n params: {\n ...filtro,\n },\n }\n );\n return data;\n },\n};\n\nexport default FluxoCaixaService;\n"],"sourceRoot":""}