{"version":3,"sources":["webpack:///./src/components/mixins/permissoes.js","webpack:///./src/common/services/academico/disciplinas.service.js","webpack:///./src/views/academico/docentes-periodo/Index.vue","webpack:///./src/views/academico/docentes-periodo/components/TabelaDocente.vue","webpack:///src/views/academico/docentes-periodo/components/TabelaDocente.vue","webpack:///./src/views/academico/docentes-periodo/components/TabelaDocente.vue?16c4","webpack:///./src/views/academico/docentes-periodo/components/TabelaDocente.vue?a241","webpack:///./src/views/academico/docentes-periodo/components/TituloDocentesPeriodo.vue","webpack:///src/views/academico/docentes-periodo/components/TituloDocentesPeriodo.vue","webpack:///./src/views/academico/docentes-periodo/components/TituloDocentesPeriodo.vue?943a","webpack:///./src/views/academico/docentes-periodo/components/TituloDocentesPeriodo.vue?5546","webpack:///src/views/academico/docentes-periodo/Index.vue","webpack:///./src/views/academico/docentes-periodo/Index.vue?ec4a","webpack:///./src/views/academico/docentes-periodo/Index.vue?5e2e","webpack:///./src/common/utils/rotas.js","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","DisciplinasService","form","ApiService","post","put","get","disciplinaId","delete","turmaId","paginacao","filtro","campoOrdenado","ordem","params","Expressao","CampoOrdenado","OrdenacaoAscendente","grupoTurmaId","anoLetivoId","render","_vm","_c","_self","staticClass","_v","ref","attrs","$t","opcoes","anoLetivo","model","value","callback","$$v","expression","turma","desabilitados","disciplinasFiltradas","disciplina","disciplinaParaVinculo","on","imprimir","_s","docente","loadingDocentes","getDocentes","docenteId","btnAdicionarDocente","adicionarDocente","_e","tabelaDocente","excluir","novaOrdenacao","staticRenderFns","tabela","fields","items","aoMudarOrdenacao","scopedSlots","_u","key","fn","item","$event","remover","mixins","Permissoes","props","type","Array","default","label","sortable","$emit","sortBy","sortDesc","helpers","primeiraLetraMaiuscula","component","breadcrumbs","irPara","proxy","components","Topbar","titulo","rota","rotas","InputSelectSearch","TabelaDocente","InputSelectMultiple","InputSelectTyping","TituloDocentesPeriodo","docentes","disciplinas","listagemTurmas","watch","handler","immediate","filtrarDisciplinasPorTurma","getDocentesIncluidosNoPeriodo","mounted","getAnosLetivos","validarFormulario","$refs","habilitarCampo","campo","desabilitarCampo","habilitarBtnDocente","mensagem","confirmacao","nome","then","result","anoLetivoDocenteId","$store","dispatch","START_LOADING","AnoLetivoService","listar","map","row","text","ano","catch","err","showErrors","finally","STOP_LOADING","getTurma","TurmasService","buscarPorAnoLetivoId","length","descricao","PessoaService","listarDocentesPaginado","itens","filtrarDocentes","listarDocentesPorFiltro","_turmaSelecionada$","turmaSelecionada","filter","_turmaSelecionada$2","codigo","disciplinaDescricao","docentesFiltrados","forEach","index","_resultado$","resultado","item2","push","removerDocente","sucesso","_this$disciplinaParaV","pessoaId","imprimirRelatorioDocentes","documento","bytes","pdf","base64ToArrayBuffer","blob","Blob","link","document","createElement","href","window","URL","createObjectURL","download","nomeArquivo","click","query","linkRetornar","dados","router","name","retornar","go","cursoId","NumeroDaPagina","numeroDaPagina","TamanhoDaPagina","tamanhoDaPagina","_data$data","tipoContrato","aluno","desenturmar","contratoId","parametros","URLSearchParams","toString"],"mappings":"gHAAA,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,S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B,OAAWG,IAAK,aAAYvB,GACjD,OAAOT,GAET,gCAAgCS,GAC9B,IAAI,KAAET,SAAe6B,OAAWG,IAAK,qCAAqC,CACxEQ,OAAQ,CAAE/B,QAEZ,OAAOT,GAET,aAAa4B,GACX,IAAI+G,EAAS,GAGb,OADKA,EADA/G,EAAKnB,SACUoB,OAAWE,IAAK,YAAYH,SADnBC,OAAWC,KAAM,YAAYF,GAEnD+G,GAET,qBAAqB/G,GACnB,aAAaC,OAAWC,KAAM,4BAA4BF,IAE5D,mBAAmBA,GACjB,aAAaC,OAAWK,OACrB,uCAAsCN,EAAKiB,uBAAuBjB,EAAKO,YAG5E,cAAc1B,GACZ,aAAaoB,OAAWK,OAAQ,aAAYzB,IAE9C,sBAAsBA,GACpB,aAAaoB,OAAWE,IAAK,sCAAqCtB,IAIpE,uBAAuBmB,GACrB,MAAM,KAAE5B,SAAe6B,OAAWC,KAAM,8BAA8BF,GACtE,OAAO5B,GAGT,qBAAqB4B,GACnB,MAAM,KAAE5B,SAAe6B,OAAWK,OAC/B,yCAAwCN,EAAKiB,kCAAkCjB,EAAKgH,sBAEvF,OAAO5I,GAET,yBAAyBoC,EAAWE,EAAeC,GACjD,IAAI,KAAEvC,SAAe6B,OAAWG,IAAK,iCAAiC,CACpEQ,OAAQ,CACJuK,eAAgB3K,EAAU4K,eAC1BC,gBAAiB7K,EAAU8K,gBAC3BxK,cAAgBJ,EAChBK,oBAAoBJ,KAG1B,OAAOvC,IAIIgJ","file":"js/chunk-89289430.9be88fd0.js","sourcesContent":["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 = 'Disciplina';\nconst DisciplinasService = {\n async criar(form) {\n let { data } = await ApiService.post(`${apiBasePath}`, form);\n return data;\n },\n async criarTurmaDisciplina(form) {\n let { data } = await ApiService.post(`Turma/disciplina/adicionar`, form);\n return data;\n },\n async editar(form) {\n let { data } = await ApiService.put(`${apiBasePath}`, form);\n return data;\n },\n async listar() {\n let { data } = await ApiService.get(`${apiBasePath}`);\n return data;\n },\n async excluir(disciplinaId) {\n let { data } = await ApiService.delete(`${apiBasePath}/${disciplinaId}`);\n return data;\n },\n async excluirTurmaDisciplina({ id, turmaId }) {\n let { data } = await ApiService.delete(\n `Turma/disciplina/remover?Id=${id}&TurmaId=${turmaId}`\n );\n return data;\n },\n async obterTodasSemPaginacao() {\n let { data } = await ApiService.get(`${apiBasePath}`);\n return data;\n },\n async obterPorFiltro(paginacao, filtro, campoOrdenado, ordem) {\n let { data } = await ApiService.get(`${apiBasePath}/obter-por-filtro`, {\n params: {\n ...paginacao,\n Expressao: filtro,\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem,\n },\n });\n\n return data;\n },\n async buscarPorTurmaId(turmaId) {\n let { data } = await ApiService.get(\n `${apiBasePath}/obter-por-turma/${turmaId}`\n );\n return data;\n },\n async buscarDisciplinaComAnoLetivoDocente(disciplinaId) {\n let { data } = await ApiService.get(`${apiBasePath}/listar-ano-docentes`, {\n params: { disciplinaId },\n });\n return data;\n },\n\n async realizarImpressaoRelatorioDisciplinas(params) {\n let { data } = await ApiService.get(\n `${apiBasePath}/imprimir-relatorio-disciplina`,\n {\n params: {\n turmaId: params.turmaId,\n grupoTurmaId: params.grupoTurmaId,\n anoLetivoId: params.anoLetivoId,\n },\n }\n );\n return data;\n },\n async imprimirRelatorioDocentes(params) {\n let { data } = await ApiService.get(\n `${apiBasePath}/imprimir-relatorio-docentes`,\n {\n params: {\n anoLetivoId: params.anoLetivoId,\n },\n }\n );\n return data;\n },\n};\n\nexport default DisciplinasService;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('titulo-docentes-periodo'),_c('hr',{staticClass:\"my-3\"}),_c('strong',{staticClass:\"d-block my-4\"},[_vm._v(\"Dados da turma\")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 col-md-4\"},[_c('input-select-search',{ref:\"anoLetivo\",attrs:{\"label\":_vm.$t('ACADEMICO.ANO_LETIVO'),\"placeholder\":\"GERAL.DIGITE_OU_PROCURE\",\"options\":_vm.opcoes.anoLetivo,\"required\":\"\"},model:{value:(_vm.anoLetivoId),callback:function ($$v) {_vm.anoLetivoId=$$v},expression:\"anoLetivoId\"}})],1),_c('div',{staticClass:\"col-12 col-md-4\"},[_c('input-select-search',{ref:\"turma\",attrs:{\"label\":_vm.$t('ACADEMICO.TURMAS'),\"placeholder\":\"GERAL.DIGITE_OU_PROCURE\",\"options\":_vm.opcoes.turma,\"isDisabled\":_vm.desabilitados.turma,\"required\":\"\"},model:{value:(_vm.turmaId),callback:function ($$v) {_vm.turmaId=$$v},expression:\"turmaId\"}})],1),_c('div',{staticClass:\"col-12 col-md-4\"},[_c('input-select-multiple',{ref:\"disciplinas\",attrs:{\"label\":_vm.$t('ACADEMICO.DISCIPLINAS'),\"placeholder\":\"GERAL.DIGITE_OU_PROCURE\",\"options\":_vm.opcoes.disciplinasFiltradas,\"disabled\":_vm.desabilitados.disciplina},model:{value:(_vm.disciplinaParaVinculo),callback:function ($$v) {_vm.disciplinaParaVinculo=$$v},expression:\"disciplinaParaVinculo\"}})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12\"},[_c('b-button',{attrs:{\"variant\":\"primary\",\"disabled\":!_vm.anoLetivoId},on:{\"click\":_vm.imprimir}},[_vm._v(\" \"+_vm._s(_vm.$t('GERAL.IMPRIMIR_RELATORIO'))+\" \")])],1)]),_c('hr',{staticClass:\"my-3\"}),_c('strong',{staticClass:\"d-block mb-4\"},[_vm._v(\"Adicionar docentes a turma\")]),_c('div',{staticClass:\"row pb-2\"},[_c('div',{staticClass:\"col-12 col-md-4\"},[_c('InputSelectTyping',{ref:\"docenteId\",attrs:{\"label\":_vm.$t('ACADEMICO.DOCENTES'),\"options\":_vm.opcoes.docente,\"required\":\"\",\"loading\":_vm.loadingDocentes,\"isDisabled\":_vm.desabilitados.docente},on:{\"pesquisa-nome\":_vm.getDocentes},model:{value:(_vm.docenteId),callback:function ($$v) {_vm.docenteId=$$v},expression:\"docenteId\"}})],1),_c('div',{staticClass:\"col-12 col-md-auto my-auto\"},[(_vm.podeCadastrar)?_c('b-button',{staticClass:\"w-100 btn-bootstrap-ajuste-mt\",attrs:{\"variant\":\"primary\",\"disabled\":_vm.desabilitados.btnAdicionarDocente},on:{\"click\":_vm.adicionarDocente}},[_vm._v(\" \"+_vm._s(_vm.$t('ACADEMICO.ADICIONAR_DOCENTE'))+\" \")]):_vm._e()],1)]),_c('tabela-docente',{attrs:{\"items\":_vm.tabelaDocente},on:{\"remover\":_vm.excluir,\"alterar-ordenacao\":_vm.novaOrdenacao}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mb-4\"},[_c('b-table',{attrs:{\"empty-text\":_vm.$t('GERAL.NENHUM_REGISTRO'),\"head-variant\":\"light\",\"fields\":_vm.tabela.fields,\"items\":_vm.items,\"responsive\":\"sm\",\"show-empty\":\"\",\"striped\":\"\"},on:{\"sort-changed\":_vm.aoMudarOrdenacao},scopedSlots:_vm._u([{key:\"cell(acoes)\",fn:function(item){return [_c('div',{staticClass:\"flex\"},[_c('b-dropdown',{attrs:{\"variant\":\"outline-default\"}},[(_vm.podeExcluir)?_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.remover(item)}}},[_vm._v(\" \"+_vm._s(_vm.$t('GERAL.EXCLUIR'))+\" \")]):_vm._e()],1)],1)]}}])})],1)\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!./TabelaDocente.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!./TabelaDocente.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TabelaDocente.vue?vue&type=template&id=5b934697&\"\nimport script from \"./TabelaDocente.vue?vue&type=script&lang=js&\"\nexport * from \"./TabelaDocente.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('topbar',{attrs:{\"titulo\":_vm.$t('ACADEMICO.DOCENTES_PERIODO'),\"subtitulo\":_vm.$t('ACADEMICO.DOCENTES_DO_PERIODO_DESCRICAO'),\"breadcrumbs\":_vm.breadcrumbs},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{staticClass:\"d-flex justify-content-between ml-4\"},[_c('div'),_c('b-button',{staticClass:\"mr-2\",attrs:{\"variant\":\"info\"},on:{\"click\":function($event){return _vm.irPara('funcionarios')}}},[_vm._v(\" \"+_vm._s(_vm.$t('ACADEMICO.TODOS_PROFESSORES'))+\" \")])],1)]},proxy:true}])})\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!./TituloDocentesPeriodo.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!./TituloDocentesPeriodo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TituloDocentesPeriodo.vue?vue&type=template&id=5ec25b76&\"\nimport script from \"./TituloDocentesPeriodo.vue?vue&type=script&lang=js&\"\nexport * from \"./TituloDocentesPeriodo.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","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=0b91650c&\"\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 router from \"@/router/Router\";\n\nconst irPara = (rota, query = \"\", linkRetornar = \"\", dados) => {\n query || linkRetornar || dados\n ? router.push({ name: rota, params: { id: query, linkRetornar, dados } })\n : router.push({ name: rota });\n};\n\nconst retornar = () => {\n router.go(-1);\n};\n\nexport default {\n irPara,\n retornar\n};\n","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":""}