{"version":3,"sources":["webpack:///./src/views/rh/relatorio-funcionarios/Index.vue","webpack:///./src/views/rh/relatorio-funcionarios/TituloRelatorioFuncionarios.vue","webpack:///src/views/rh/relatorio-funcionarios/TituloRelatorioFuncionarios.vue","webpack:///./src/views/rh/relatorio-funcionarios/TituloRelatorioFuncionarios.vue?e4b5","webpack:///./src/views/rh/relatorio-funcionarios/TituloRelatorioFuncionarios.vue?fdcd","webpack:///src/views/rh/relatorio-funcionarios/Index.vue","webpack:///./src/views/rh/relatorio-funcionarios/Index.vue?8930","webpack:///./src/views/rh/relatorio-funcionarios/Index.vue?45a9","webpack:///./src/views/rh/relatorio-funcionarios/Index.vue?7d19","webpack:///./src/components/mixins/permissoes.js","webpack:///./src/common/services/funcionario/funcionario.service.js","webpack:///./src/common/services/enumeradores/enumeradores.service.js"],"names":["render","_vm","this","_c","_self","staticClass","attrs","ref","$t","opcoes","tiposFuncionarios","model","value","form","tipoFuncionario","callback","$$v","$set","expression","status","cargos","cargo","exibirNome","exibirCPF","exibirDataNascimento","exibirCargo","exibirDataAdmissao","exibirDataDemissao","exibirTelefone","exibirEmail","exibirEndereco","podeVisualizar","on","imprimir","_v","_s","_e","staticRenderFns","breadcrumbs","components","Topbar","data","titulo","methods","component","mixins","Permissoes","TituloRelatorioFuncionarios","InputSelectMultiple","InputCheckbox","cursoId","grupoTurmaId","turmaId","text","mounted","getTipoFuncionarios","getCargos","validarFormulario","helpers","$refs","$store","dispatch","START_LOADING","filtro","FuncionarioService","imprimirRelatorioFuncionarios","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","EnumeradoresService","listar","map","row","descricao","id","acessos","store","getters","idPagina","$router","currentRoute","meta","computed","listaPermissoes","find","x","acesso","podeCadastrar","admin","permissoes","includes","podeEditar","podeExcluir","verificarPermissao","permissao","acessoPermissao","apiBasePath","_funcionario$data$tip","_funcionario$data","_funcionario$data$tip2","_funcionario$data2","_funcionario$data3","_funcionario$data4","_funcionario$data5","_funcionario$data6","_funcionario$data7","_funcionario$data8","funcionario","ApiService","get","response","tipoFuncionarioDescricao","tipoFuncionarioId","cargoDescricao","cargoId","banco","grauInstrucao","grauInstrucaoId","grauInstrucaoDescricao","paginacao","campoOrdenado","ordem","nome","parametros","TamanhoDaPagina","tamanhoDaPagina","NumeroDaPagina","numeroDaPagina","Nome","Status","CampoOrdenado","OrdenacaoAscendente","params","dados","_dados$pessoaId","_dados$tipoFuncionari","_dados$grauInstrucao","_dados$cargo","_dados$banco","dadosFormatados","pessoaId","carteiraProfissional","removerMascara","tituloEleitor","secao","registroProfissional","conta","agencia","titulacoes","pis","dataAdmissao","diplomas","bancoId","post","_dados$banco2","_dados$cargo2","_dados$tipoFuncionari2","_dados$grauInstrucao2","put","delete","exexibirDataAdmissao","enumerador","linha","objeto"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,iCAAiCA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,KAAK,GAAK,MAAM,CAACH,EAAG,wBAAwB,CAACI,IAAI,oBAAoBD,MAAM,CAAC,MAAQL,EAAIO,GAAG,WAAW,QAAUP,EAAIQ,OAAOC,mBAAmBC,MAAM,CAACC,MAAOX,EAAIY,KAAKC,gBAAiBC,SAAS,SAAUC,GAAMf,EAAIgB,KAAKhB,EAAIY,KAAM,kBAAmBG,IAAME,WAAW,2BAA2B,GAAGf,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,KAAK,GAAK,MAAM,CAACH,EAAG,wBAAwB,CAACI,IAAI,WAAWD,MAAM,CAAC,MAAQL,EAAIO,GAAG,aAAa,QAAUP,EAAIQ,OAAOU,QAAQR,MAAM,CAACC,MAAOX,EAAIY,KAAKM,OAA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AAa4F,GACX,IAAI,KAAE7I,SAAewF,OAAWC,IAAK,gBAAeoD,GAOpD,OANA7I,EAAKA,KAAOA,EAAKA,KAAKmD,IAAK2F,IAAK,IAC3BA,EACHC,OAAQD,EACRlI,KAAMkI,EAAMzF,UACZlF,MAAO2K,EAAMxF,MAERtD,IAIIiD,U","file":"js/chunk-60e6abba.c66093cf.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('titulo-relatorio-funcionarios'),_c('b-row',[_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-select-multiple',{ref:\"tipoFuncionarioId\",attrs:{\"label\":_vm.$t('RH.TIPO'),\"options\":_vm.opcoes.tiposFuncionarios},model:{value:(_vm.form.tipoFuncionario),callback:function ($$v) {_vm.$set(_vm.form, \"tipoFuncionario\", $$v)},expression:\"form.tipoFuncionario\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"statusId\",attrs:{\"label\":_vm.$t('RH.STATUS'),\"options\":_vm.opcoes.status},model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1),_c('b-col',{staticClass:\"mt-3\",attrs:{\"cols\":\"12\",\"md\":\"3\"}},[_c('input-select-multiple',{ref:\"cargoId\",attrs:{\"label\":_vm.$t('RH.CARGO'),\"options\":_vm.opcoes.cargos},model:{value:(_vm.form.cargo),callback:function ($$v) {_vm.$set(_vm.form, \"cargo\", $$v)},expression:\"form.cargo\"}})],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.NOME')},model:{value:(_vm.form.exibirNome),callback:function ($$v) {_vm.$set(_vm.form, \"exibirNome\", $$v)},expression:\"form.exibirNome\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.CPF')},model:{value:(_vm.form.exibirCPF),callback:function ($$v) {_vm.$set(_vm.form, \"exibirCPF\", $$v)},expression:\"form.exibirCPF\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.DATA_NASCIMENTO')},model:{value:(_vm.form.exibirDataNascimento),callback:function ($$v) {_vm.$set(_vm.form, \"exibirDataNascimento\", $$v)},expression:\"form.exibirDataNascimento\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.CARGO')},model:{value:(_vm.form.exibirCargo),callback:function ($$v) {_vm.$set(_vm.form, \"exibirCargo\", $$v)},expression:\"form.exibirCargo\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.DATA_ADMISSAO')},model:{value:(_vm.form.exibirDataAdmissao),callback:function ($$v) {_vm.$set(_vm.form, \"exibirDataAdmissao\", $$v)},expression:\"form.exibirDataAdmissao\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.DATA_DEMISSAO')},model:{value:(_vm.form.exibirDataDemissao),callback:function ($$v) {_vm.$set(_vm.form, \"exibirDataDemissao\", $$v)},expression:\"form.exibirDataDemissao\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.TELEFONE')},model:{value:(_vm.form.exibirTelefone),callback:function ($$v) {_vm.$set(_vm.form, \"exibirTelefone\", $$v)},expression:\"form.exibirTelefone\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.EMAIL')},model:{value:(_vm.form.exibirEmail),callback:function ($$v) {_vm.$set(_vm.form, \"exibirEmail\", $$v)},expression:\"form.exibirEmail\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('input-checkbox',{staticClass:\"botao-acao-filtro pt-2 mb-md-3 w-100\",attrs:{\"type\":\"boolean\",\"label\":_vm.$t('RH.ENDERECO')},model:{value:(_vm.form.exibirEndereco),callback:function ($$v) {_vm.$set(_vm.form, \"exibirEndereco\", $$v)},expression:\"form.exibirEndereco\"}})],1),_c('b-col',{staticClass:\"mt-3 mt-md-0 text-right\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[(_vm.podeVisualizar)?_c('b-button',{staticClass:\"botao-acao-filtro\",attrs:{\"variant\":\"info\"},on:{\"click\":_vm.imprimir}},[_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('RH.IMPRIMIR_RELATORIO_FUNCIONARIOS'),\"subtitulo\":_vm.$t('ACADEMICO.IMPRIMIR_RELATORIO_DISCIPLINAS_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!./TituloRelatorioFuncionarios.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!./TituloRelatorioFuncionarios.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TituloRelatorioFuncionarios.vue?vue&type=template&id=a2639726&\"\nimport script from \"./TituloRelatorioFuncionarios.vue?vue&type=script&lang=js&\"\nexport * from \"./TituloRelatorioFuncionarios.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=62cf6baf&\"\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=62cf6baf&prod&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 null,\n null\n \n)\n\nexport default component.exports","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=62cf6baf&prod&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';\nimport helpers from '@/common/utils/helpers';\n\nlet apiBasePath = 'Funcionario';\n\nconst FuncionarioService = {\n async buscarPorId(id) {\n const { data: funcionario } = await ApiService.get(`${apiBasePath}/${id}`);\n const response = {\n ...funcionario.data,\n tipoFuncionario: {\n text: funcionario.data?.tipoFuncionarioDescricao ?? '',\n value: funcionario.data?.tipoFuncionarioId ?? '',\n },\n cargo: {\n text: funcionario.data?.cargoDescricao,\n value: funcionario.data?.cargoId,\n },\n banco: {\n value: funcionario.data?.banco?.id,\n text: funcionario.data?.banco?.descricao,\n },\n grauInstrucao: {\n value: funcionario.data?.grauInstrucaoId,\n text: funcionario.data?.grauInstrucaoDescricao,\n },\n };\n\n return response;\n },\n\n async listarFuncionarioPorTipo(paginacao, filtro, campoOrdenado, ordem) {\n const { nome, status, tipoFuncionario } = filtro;\n const parametros = {\n TamanhoDaPagina: paginacao.tamanhoDaPagina,\n NumeroDaPagina: paginacao.numeroDaPagina,\n ...(nome && { Nome: nome }),\n ...(status && { Status: status }),\n ...(tipoFuncionario && { tipoFuncionario: tipoFuncionario }),\n CampoOrdenado: campoOrdenado,\n OrdenacaoAscendente: ordem,\n };\n\n const { data } = await ApiService.get(\n `${apiBasePath}/${parametros.tipoFuncionario}`,\n { params: { ...parametros } }\n );\n\n return data;\n },\n\n async criar(dados) {\n const dadosFormatados = {\n pessoaId: dados.pessoaId?.value,\n carteiraProfissional: helpers.removerMascara(dados.carteiraProfissional),\n tituloEleitor: dados.tituloEleitor,\n secao: dados.secao,\n registroProfissional: dados.registroProfissional,\n conta: helpers.removerMascara(dados.conta),\n agencia: dados.agencia,\n titulacoes: dados.titulacoes,\n pis: dados.pis,\n dataAdmissao: dados.dataAdmissao,\n diplomas: dados.diplomas,\n tipoFuncionario: dados.tipoFuncionario?.descricao,\n grauInstrucao: dados.grauInstrucao?.value\n ? dados.grauInstrucao.value\n : dados.grauInstrucao,\n cargo: dados.cargo?.value ? dados.cargo.value : dados.cargo,\n bancoId: dados.banco?.id,\n };\n const { data } = await ApiService.post(`${apiBasePath}`, dadosFormatados);\n return data;\n },\n\n async atualizar(dados) {\n const dadosFormatados = {\n ...dados,\n pessoaId: dados.pessoaId,\n bancoId: dados.banco?.value,\n cargo: dados.cargo?.value,\n tipoFuncionario: dados.tipoFuncionario?.value,\n grauInstrucao: dados.grauInstrucao?.value,\n conta: helpers.removerMascara(dados.conta),\n carteiraProfissional: helpers.removerMascara(dados.carteiraProfissional),\n };\n const { data } = await ApiService.put(`${apiBasePath}`, dadosFormatados);\n return data;\n },\n\n async excluir(id) {\n const { data } = await ApiService.delete(`${apiBasePath}/${id}`);\n return data;\n },\n\n async editar(id) {\n const { data } = await ApiService.get(`${apiBasePath}/${id}`);\n return data;\n },\n\n async imprimirRelatorioFuncionarios(params) {\n let { data } = await ApiService.get(\n `${apiBasePath}/imprimir-relatorio-funcionarios`,\n {\n params: {\n tipoFuncionario: params.tipoFuncionario,\n status: params.status,\n cargo: params.cargo,\n exibirNome: params.exibirNome,\n exibirCPF: params.exibirCPF,\n exibirDataNascimento: params.exibirDataNascimento,\n exibirCargo: params.exibirCargo,\n exexibirDataAdmissao: params.exibirDataAdmissao,\n exibirDataDemissao: params.exibirDataDemissao,\n exibirTelefone: params.exibirTelefone,\n exibirEmail: params.exibirEmail,\n exibirEndereco: params.exibirEndereco,\n },\n }\n );\n return data;\n },\n};\n\nexport default FuncionarioService;\n","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"],"sourceRoot":""}