{"version":3,"sources":["webpack:///./src/views/academico/relatorios/relatorio-totalizadores/Index.vue?d4ff","webpack:///./src/components/mixins/permissoes.js","webpack:///./src/common/services/academico/gruposTurma.service.js","webpack:///./src/common/services/enumeradores/enumeradores.service.js","webpack:///./src/common/services/academico/curso.service.js","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/Index.vue","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/TituloRelatorioTotalizadores.vue","webpack:///src/views/academico/relatorios/relatorio-totalizadores/TituloRelatorioTotalizadores.vue","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/TituloRelatorioTotalizadores.vue?df4b","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/TituloRelatorioTotalizadores.vue?ada4","webpack:///src/views/academico/relatorios/relatorio-totalizadores/Index.vue","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/Index.vue?6d49","webpack:///./src/views/academico/relatorios/relatorio-totalizadores/Index.vue?4cc6","webpack:///./src/common/services/academico/turma.service.js","webpack:///./src/common/services/anoLetivo/ano-letivo.service.js"],"names":["data","acessos","store","getters","idPagina","this","$router","currentRoute","meta","id","computed","listaPermissoes","find","x","acesso","podeCadastrar","admin","permissoes","includes","podeEditar","podeExcluir","podeVisualizar","methods","verificarPermissao","permissao","acessoPermissao","apiBasePath","GruposTurmaService","grupoTurmaId","ApiService","get","filtro","campoOrdenado","ordem","params","cursoId","CampoOrdenado","OrdenacaoAscendente","form","post","put","aulaId","delete","EnumeradoresService","enumerador","map","linha","objeto","text","descricao","value","CursoService","anoLetivoId","tipoContratoId","paginacao","NumeroDaPagina","numeroDaPagina","TamanhoDaPagina","tamanhoDaPagina","render","_vm","_c","_self","staticClass","attrs","ref","opcoes","tipoContratos","$t","on","obterCursos","model","formulario","tipoContrato","callback","$$v","$set","expression","anosLetivos","cursos","obterGruposTurmaPorCursoId","gruposTurma","obtertTurmaPorGrupoTurmaIdAnoLetivoId","turmas","turmaId","realizarImpressao","_v","_s","_e","staticRenderFns","breadcrumbs","components","Topbar","titulo","component","mixins","Permissoes","TituloRelatorioTotalizadores","InputSelectMultiple","InputSelect","desabilitar","curso","grupoTurma","turma","mounted","getTipoContratos","getAnosLetivos","validarFormulario","helpers","$refs","$store","dispatch","START_LOADING","TurmaService","gerarRelatorioTotalizadoresPdf","then","documento","bytes","pdf","base64ToArrayBuffer","blob","Blob","type","link","document","createElement","href","window","URL","createObjectURL","download","nomeArquivo","click","catch","err","mensagem","showErrors","finally","STOP_LOADING","listar","row","AnoLetivoService","ano","_this$formulario","_this$formulario$anoL","obterPorAnoLetivoTipoContrato","GrupoTurmaService","obterTodos","_this$formulario$anoL2","_this$formulario$grup","_this$formulario$grup2","_this$formulario$anoL3","undefined","buscarPorGrupoTurmaIdAnoLetivoId","TurmasService","_data$data","itens","item","aluno","desenturmar","contratoId","parametros","URLSearchParams","toString","result","anoLetivoDocenteId"],"mappings":"kHAAA,W,kCCAA,gBAEe,QACbA,OACE,MAAO,CACLC,QAASC,OAAMC,QAAQF,QACvBG,SAAUC,KAAKC,QAAQC,aAAaC,KAAKC,KAG7CC,SAAU,CACRC,kBACE,OAAON,KAAKJ,QAAQW,KAAMC,GAAMA,EAAEC,SAAWT,KAAKD,WAEpDW,gBACE,QAAIb,OAAMC,QAAQa,OACXX,KAAKM,gBAAgBM,WAAWC,SAAS,UAElDC,aACE,QAAIjB,OAAMC,QAAQa,OACXX,KAAKM,gBAAgBM,WAAWC,SAAS,cAElDE,cACE,QAAIlB,OAAMC,QAAQa,OACXX,KAAKM,gBAAgBM,WAAWC,SAAS,YAElDG,iBACE,QAAInB,OAAMC,QAAQa,OACXX,KAAKM,gBAAgBM,WAAWC,SAAS,gBAGpDI,QAAS,CACPC,mBAAmBd,EAAIe,GACrB,GAAItB,OAAMC,QAAQa,MAAO,OAAO,EAChC,IAAIS,EAAkBpB,KAAKJ,QAAQW,KAAMC,GAAMA,EAAEC,SAAWL,GAC5D,QAAIgB,GACKA,EAAgBR,WAAWC,SAASM,O,6DCnCnD,gB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aAAaoB,OAAWW,IAAK,sCAAqC/B,IAIpE,uBAAuB6B,GACrB,MAAM,KAAEtC,SAAe6B,OAAWU,KAAM,8BAA8BD,GACtE,OAAOtC,GAGT,qBAAqBsC,GACnB,MAAM,KAAEtC,SAAe6B,OAAWa,OAC/B,yCAAwCJ,EAAKc,kCAAkCd,EAAK+H,sBAEvF,OAAOrK,GAET,yBAAyBsD,EAAWtB,EAAeC,GACjD,IAAI,KAAEjC,SAAe6B,OAAWC,IAAK,iCAAiC,CACpEI,OAAQ,CACJqB,eAAgBD,EAAUE,eAC1BC,gBAAiBH,EAAUI,gBAC3BtB,cAAgBJ,EAChBK,oBAAoBJ,KAG1B,OAAOjC,IAII6I","file":"js/chunk-650ff45a.92f08b84.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=172339f0&prod&scoped=true&lang=css&\"","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\nlet apiBasePath = 'GrupoTurma'\nconst GruposTurmaService = {\n async obterPorId (grupoTurmaId) {\n let { data } = await ApiService.get(`${apiBasePath}/${grupoTurmaId}`)\n return data\n },\n async obterTodos (filtro, campoOrdenado, ordem) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-por-curso`,\n {\n params: {\n cursoId: filtro.cursoId,\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem\n }\n })\n return data\n },\n async listarTodos() {\n let { data } = await ApiService.get(`${apiBasePath}`)\n return data\n },\n // FUNÇÕES CRUD:\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 excluir (aulaId) {\n let { data } = await ApiService.delete(`${apiBasePath}/${aulaId}`)\n return data\n }\n}\n\nexport default GruposTurmaService;","import ApiService from '@/common/api/api.service';\n\nconst EnumeradoresService = {\n async listar(enumerador) {\n let { data } = await ApiService.get(`enumeradores/${enumerador}`);\n data.data = data.data.map((linha) => ({\n ...linha,\n objeto: linha,\n text: linha.descricao,\n value: linha.id,\n }));\n return data;\n },\n};\n\nexport default EnumeradoresService;\n","import ApiService from \"@/common/api/api.service\";\n\nlet apiBasePath = 'Curso'\nconst CursoService = {\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 excluir(aulaId) {\n let { data } = await ApiService.delete(`${apiBasePath}/${aulaId}`);\n return data;\n },\n async listar() {\n let { data } = await ApiService.get(`${apiBasePath}`);\n return data;\n },\n async obterPorId(cursoId) {\n let { data } = await ApiService.get(`${apiBasePath}/${cursoId}`);\n return data;\n },\n async obterPorAnoLetivo(anoLetivoId) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-por-anoLetivo?id=${anoLetivoId}`);\n return data;\n },\n async obterPorAnoLetivoTipoContrato(anoLetivoId, tipoContratoId) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-por-anoLetivo-tipoContrato?anoLetivoId=${anoLetivoId}&tipoContratosEnum=${tipoContratoId}`);\n return data;\n },\n async obterCursosPaginado(paginacao, campoOrdenado, ordem) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-cursos-paginado`,\n {\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 CursoService;","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('titulo-relatorio-totalizadores'),_c('b-row',[_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select',{ref:\"tipoContrato\",attrs:{\"options\":_vm.opcoes.tipoContratos,\"label\":_vm.$t('ACADEMICO.TIPO_CONTRATO'),\"required\":\"\"},on:{\"input\":_vm.obterCursos},model:{value:(_vm.formulario.tipoContrato),callback:function ($$v) {_vm.$set(_vm.formulario, \"tipoContrato\", $$v)},expression:\"formulario.tipoContrato\"}})],1),_c('b-col',{staticClass:\"mt-md-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"anoLetivoId\",attrs:{\"label\":_vm.$t('ACADEMICO.ANO_LETIVO'),\"options\":_vm.opcoes.anosLetivos,\"required\":\"\"},on:{\"input\":_vm.obterCursos},model:{value:(_vm.formulario.anoLetivoId),callback:function ($$v) {_vm.$set(_vm.formulario, \"anoLetivoId\", $$v)},expression:\"formulario.anoLetivoId\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"cursoId\",attrs:{\"label\":_vm.$t('ACADEMICO.CURSO'),\"options\":_vm.opcoes.cursos,\"disabled\":!_vm.formulario.anoLetivoId},on:{\"input\":_vm.obterGruposTurmaPorCursoId},model:{value:(_vm.formulario.cursoId),callback:function ($$v) {_vm.$set(_vm.formulario, \"cursoId\", $$v)},expression:\"formulario.cursoId\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"grupoTurmaId\",attrs:{\"label\":_vm.$t('ACADEMICO.GRUPO_TURMA'),\"options\":_vm.opcoes.gruposTurma,\"disabled\":!_vm.formulario.cursoId},on:{\"input\":_vm.obtertTurmaPorGrupoTurmaIdAnoLetivoId},model:{value:(_vm.formulario.grupoTurmaId),callback:function ($$v) {_vm.$set(_vm.formulario, \"grupoTurmaId\", $$v)},expression:\"formulario.grupoTurmaId\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"turmaId\",attrs:{\"label\":_vm.$t('ACADEMICO.TURMA'),\"options\":_vm.opcoes.turmas,\"disabled\":!_vm.formulario.grupoTurmaId},model:{value:(_vm.formulario.turmaId),callback:function ($$v) {_vm.$set(_vm.formulario, \"turmaId\", $$v)},expression:\"formulario.turmaId\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"auto\"}},[(_vm.podeVisualizar)?_c('b-button',{staticClass:\"w-100 botao-acao-filtro\",attrs:{\"variant\":\"info\"},on:{\"click\":_vm.realizarImpressao}},[_vm._v(\" \"+_vm._s(_vm.$t('GERAL.GERAR_RELATORIO'))+\" \")]):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('topbar',{attrs:{\"titulo\":_vm.$t('ACADEMICO.RELATORIO_TOTALIZADORES'),\"subtitulo\":_vm.$t('ACADEMICO.RELATORIO_TOTALIZADORES_DESCRICAO'),\"breadcrumbs\":_vm.breadcrumbs}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./TituloRelatorioTotalizadores.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!./TituloRelatorioTotalizadores.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TituloRelatorioTotalizadores.vue?vue&type=template&id=73b5d10c&\"\nimport script from \"./TituloRelatorioTotalizadores.vue?vue&type=script&lang=js&\"\nexport * from \"./TituloRelatorioTotalizadores.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","\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=172339f0&scoped=true&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=172339f0&prod&scoped=true&lang=css&\"\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 \"172339f0\",\n null\n \n)\n\nexport default component.exports","import ApiService from '@/common/api/api.service';\n\nlet apiBasePath = 'Turma';\n\nconst TurmasService = {\n // FUNÇÕES CRUD:\n async buscarPorGrupoTurmaIdAnoLetivoId_NOVO(grupoTurmaId, cursoId) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-turma-por-curso-grupo?grupoTurmaId=${grupoTurmaId}&cursoId=${cursoId}`);\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 excluir(turmaId) {\n let { data } = await ApiService.delete(`${apiBasePath}/${turmaId}`);\n return data;\n },\n // FUNÇÕES FILTRO:\n async buscarPorId(turmaId) {\n let { data } = await ApiService.get(`${apiBasePath}/${turmaId}`);\n return data;\n },\n async buscarPorCursoIdPaginado(cursoId, paginacao, campoOrdenado, ordem) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-turma-por-curso-grupo?CursoId=${cursoId}`,\n {\n params: { \n NumeroDaPagina: paginacao.numeroDaPagina,\n TamanhoDaPagina: paginacao.tamanhoDaPagina, \n CampoOrdenado : campoOrdenado, \n OrdenacaoAscendente: ordem\n },\n }\n );\n return data;\n },\n async buscarPorCursoId(cursoId) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso/${cursoId}`\n );\n return data;\n },\n async buscarPorAnoLetivoId(anoLetivoId) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-ano-letivo/${anoLetivoId}`\n );\n return data;\n },\n async buscarPorCursoAnoLetivo(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso-ano-letivo`,\n {\n params: {\n anoLetivoId: filtro.anoLetivoId,\n cursoId: filtro.cursoId,\n },\n }\n );\n return data;\n },\n async buscarPorCursoIdGrupoTurmaIdOpcoes(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-turma-por-curso-grupo`,\n {\n params: {\n TamanhoDaPagina: 100,\n NumeroDaPagina: 1,\n grupoTurmaId: filtro.grupoTurmaId,\n cursoId: filtro.cursoId,\n },\n }\n );\n \n return data?.data?.itens.map(item => ({ value: item.id, text: item.descricao }));\n },\n async buscarPorCursoIdGrupoTurmaId(paginacao, filtro, campoOrdenado, ordem) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso-grupo`,\n {\n params: {\n TamanhoDaPagina: paginacao.tamanhoDaPagina,\n NumeroDaPagina: paginacao.numeroDaPagina,\n grupoTurmaId: filtro.grupoTurmaId,\n cursoId: filtro.cursoId,\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem\n },\n }\n );\n\n return data;\n },\n async buscarPorGrupoTurmaIdAnoLetivoId(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-grupo-turma-ano-letivo`,\n {\n params: {\n grupoTurmaId: filtro.grupoTurmaId,\n anoLetivoId: filtro.anoLetivoId,\n },\n }\n );\n return data;\n },\n async ObterPorCursoIdAnoLetivoId(cursoId, anoLetivoId) {\n const { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso-ano-letivo`,\n {\n params: {\n cursoId: cursoId,\n anoLetivoId: anoLetivoId,\n },\n }\n );\n return data;\n },\n async realizarImpressaoRelatorioTurmasParaAluno(params) {\n let { data } = await ApiService.get(\n `${apiBasePath}/imprimir-relatorio-turmas-para-aluno`,\n {\n params: {\n cursoId: params.cursoId,\n anoLetivoId: params.anoLetivoId,\n tipoContrato: params.tipoContrato,\n },\n }\n );\n return data;\n },\n async baixarRelatorioEtiqueta(params) {\n const { data } = await ApiService.get(`${apiBasePath}/imprimir-relatorio-etiquetas`, {\n params: { ...params },\n });\n return data;\n },\n async baixarRelatorioTurmas(params) {\n const { data } = await ApiService.get(`${apiBasePath}/imprimir-relatorio-turmas`, {\n params: { ...params },\n });\n return data;\n },\n async baixarRelatorioExcel(params) {\n const { data } = await ApiService.get(`${apiBasePath}/gerar-relatorio-excel-turmas`, {\n params: { ...params },\n });\n return data;\n },\n\n // GERENCIADOR DE TURMAS:\n async listarEnsalamento(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/listar-para-ensalamento`,\n {\n params: {\n anoLetivoId: filtro.anoLetivoId,\n grupoTurmaId: filtro.grupoTurmaId,\n cursoId: filtro.cursoId,\n },\n }\n );\n return data;\n },\n async buscarPorCursoIdGrupoTurmaIdAnoletivoId(filtro) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso-grupo-ano-letivo`,\n {\n params: {\n anoLetivoId: filtro.anoLetivoId,\n grupoTurmaId: filtro.grupoTurmaId,\n cursoId: filtro.cursoId,\n },\n }\n );\n return data;\n },\n async enturmarAluno(params) {\n let { data } = await ApiService.put(`${apiBasePath}/enturmar-aluno`, params);\n return data;\n },\n async desenturmarAluno(aluno) {\n let desenturmar = {\n contratoId: aluno.contratoId,\n };\n let { data } = await ApiService.put(\n `${apiBasePath}/desenturmar-aluno`,\n desenturmar\n );\n return data;\n },\n async listarContratoPorTurmaId(filtro) {\n const parametros = new URLSearchParams(filtro).toString();\n const { data } = await ApiService.get(\n `${apiBasePath}/listar-contratos-por-turma/${filtro.turmaId}?${parametros}`,\n );\n return data;\n },\n async obterTurmaPorGrupoTurma({ cursoId, grupoTurmaId }) {\n const { data } = await ApiService.get(\n `${apiBasePath}/obter-turma-por-curso-grupo?cursoId=${cursoId}&grupoTurmaId=${grupoTurmaId}`\n );\n return data;\n },\n async gerarRelatorioTotalizadoresPdf(filtro) {\n const { data } = await ApiService.get(\n `${apiBasePath}/imprimir-relatorio-totalizadores-periodo`,\n {\n params: {\n ...filtro,\n },\n }\n );\n return data;\n },\n async obterTurmaPorCursoGrupo(paginacao, filtro, campoOrdenado, ordem) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-turma-por-curso-grupo`,\n {\n params: {\n TamanhoDaPagina: paginacao.tamanhoDaPagina,\n NumeroDaPagina: paginacao.numeroDaPagina,\n grupoTurmaId: filtro.grupoTurmaId,\n cursoId: filtro.cursoId,\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem\n },\n }\n );\n return data;\n },\n async obterTurmaPorGrupoTurmaCursoAnoLetivo({ cursoId, grupoTurmaId, anoLetivoId }) {\n const { data } = await ApiService.get(\n `${apiBasePath}/obter-por-curso-grupo-ano-letivo?cursoId=${cursoId}&grupoTurmaId=${grupoTurmaId}&anoLetivoId=${anoLetivoId}`\n );\n return data;\n }\n};\n\nexport default TurmasService;\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"],"sourceRoot":""}