PageSourceSearch

https://transparencia.araguaina.to.gov.br/js/Servidor-DGxrZDXw.js

js araguaina.to.gov.br collected 2026-10-02 06:31:46 UTC 10,834 bytes, 1 lines download raw bytes

1import{m as a}from"./formatar-CB6uSzNw.js";import"./index-r3O2Rl_T.js";import{M as o,r as l,af as e,o as t,c as i,t as s,f as n,x as r,k as u,F as c,ab as p,b as d,d as m,Q as f,q as g}from"./vue-vendor-C4LtToJo.js";import{T as v,_ as w}from"./TransparenciaFilter-CmgpMqVx.js";import{b as D,a as b}from"./Detalhe-CUttTQ9q.js";import{C as h}from"./primevue-DnZyMtkr.js";import"./datefns-vendor-CmiML7te.js";import"./jspdf-vendor-BmQZnK13.js";import"./datepicker-vendor-DX2zwzgb.js";import"./Paginador-DETKlgTq.js";/* empty css                                                                  */import"./TituloComLinha.vue_vue_type_script_setup_true_lang-Ctf7-l0w.js";import"./index-CiYyE8km.js";import"./pdf-B9FXH9CX.js";import"./notify-DZ6C-o79.js";import"./index-B_XQbw4A.js";import"./TransparenciaTitleDetails.vue_vue_type_script_setup_true_lang-DVGNN7bg.js";import"./AppBreadCrump-2YJ6TcLx.js";/* empty css                                                                      */import"./imprimir-3lVqA5Kf.js";import"./ExportButtons-VxHAS7fy.js";import"./carregando-rRkoODdf.js";import"./index-yZXgACEU.js";import"./index-Bq3riWGs.js";import"./getFileSrc-Du9ih3ZQ.js";import"./iconesSecoes-Pv_rvAzt.js";/* empty css                                                         */const x={class:"w-full grid grid-cols-2 gap-2 m-0 md:grid-cols-12"},V={class:"col-span-12 md:col-span-3 p-float-label p-0"},_={class:"col-span-12 md:col-span-2 p-float-label p-0"},T={class:"col-span-12 md:col-span-2 p-float-label p-0"},y={class:"col-span-12 md:col-span-2 p-float-label p-0"},j={class:"col-span-12 md:col-span-3 p-float-label p-0"},F={class:"w-full grid grid-cols-2 gap-2 m-0 mt-2 md:grid-cols-12"},S={class:"col-span-12 md:col-span-6 p-float-label p-0"},U={class:"col-span-12 md:col-span-6 p-float-label p-0"},E={class:"col-span-12 md:col-span-6 p-float-label p-0"},N={class:"col-span-12 md:col-span-6 p-float-label p-0"},A={class:"col-span-12 md:col-span-6 p-float-label p-0"},C={class:"col-span-12 md:col-span-6 p-float-label p-0"},P={class:"col-span-12 md:col-span-6 p-float-label p-0"},M={class:"col-span-12 md:col-span-6 p-float-label p-0"},k={class:"col-span-12 p-float-label p-0"},H={key:0,class:"flex w-full text-xs m-2"},L=o({__name:"Servidor",props:{id:{},card:{}},setup(o){const L=o,O=p(),q=[{field:"mesAno",header:"Mês/Ano",class:"max-w-none lg:max-w-10 whitespace-nowrap truncate",bodyTooltip:"mesAno"},{field:"matricula",header:"Matrícula",class:"max-w-none lg:max-w-10 whitespace-nowrap truncate",bodyTooltip:"matricula"},{field:"cpf",header:"CPF",class:"max-w-none lg:max-w-12 whitespace-nowrap truncate",bodyTooltip:"cpf"},{field:"nome",header:"Nome",class:"max-w-none lg:max-w-20 whitespace-nowrap truncate",bodyTooltip:"nome"},{field:"cargo",header:"Cargo",class:"max-w-none lg:max-w-20 whitespace-nowrap truncate",bodyTooltip:"cargo"},{field:"departamento",header:"Departamento",class:"max-w-none lg:max-w-16 whitespace-nowrap truncate",bodyTooltip:"departamento"},{field:"situacao",header:"Situação do Servidor",class:"max-w-none lg:max-w-20 whitespace-nowrap truncate",bodyTooltip:"situacao"},{field:"proventos",header:"Total de Proventos",class:"max-w-none lg:max-w-18 whitespace-nowrap truncate",bodyTooltip:"proventos",formatarMoeda:!0},{field:"descontos",header:"Descontos",class:"max-w-none lg:max-w-12 whitespace-nowrap truncate",bodyTooltip:"descontos",formatarMoeda:!0},{field:"totalLiquido",header:"Total Líquido",class:"max-w-none lg:max-w-12 whitespace-nowrap truncate",bodyTooltip:"totalLiquido",formatarMoeda:!0},{field:"situacaoPagamento",header:"Situação do Pagamento",class:"max-w-none lg:max-w-20 whitespace-nowrap truncate",bodyTooltip:"situacaoPagamento"}],B=l(!0),I=l(null),Y=l({orgao:[],ano:[{label:(new Date).getFullYear(),value:(new Date).getFullYear(),impactValues:[],hide:!1}],cargo:[],situacao:[],tipoDeVinculo:[],situacaoFuncionario:[],categoriaDoTrabalhadorNoESocial:[]}),z=l({}),G=l(J());function J(){let a=Number((new Date).getMonth()+1),o=(new Date).getFullYear();return 1==a?(a=12,o--):a--,{ano:o,mes:("0"+a).slice(-2),codigoDoOrgao:null,codigoDoCargo:null,nomeDoDepartamento:null,matriculaDoFuncionario:null,cpf:null,nomeDoFuncionario:null,cargaHoraria:null,dataDeAdmissao:null,dataDeExoneracao:null,codigoDaSituacao:null,codigoDoTipoDeVinculo:null,categoriaDoTrabalhadorNoESocial:null,tamanhoDaPagina:25,pagina:1}}e("filtrar",b),e("filtros",G),e("card",L.card.link.id);const K=async a=>{B.value=!0;try{"rows"in a&&"page"in a||(G.value=a),"rows"in a&&(G.value.tamanhoDaPagina=a.rows),"page"in a&&(G.value.pagina=a.page+1),z.value=await b(L.card.link.id,G.value)}catch(o){}B.value=!1},Q=async()=>{B.value=!0;try{G.value=J(),await K(G.value)}catch(a){}};return t(async()=>{await(async()=>{B.value=!0;try{Y.value=await D(L.card.link.sistema_gestao.base_url,"/api/combo/",["filtro=orgao","filtro=ano","filtro=cargo","filtro=situacaoFuncionario","filtro=tipoDeVinculo","filtro=categoriaDoTrabalhadorNoESocial"])}catch(a){}})(),await(async()=>{B.value=!0;try{I.value=await D(L.card.link.sistema_gestao.base_url,"/api/orgaos-e-servidores/servidor/data-de-atualizacao",[])}catch(a){}B.value=!1})(),await K(G.value)}),(l,e)=>{const t=g("InputText"),p=g("Select"),D=g("InputMask"),b=g("InputNumber");return d(),i(c,null,[s(v,{dados:z.value.registros,card:o.card,carregando:B.value,onFiltrar:e[14]||(e[14]=a=>K(G.value)),onLimparFiltros:Q},{extraFields:n(()=>[m("div",x,[m("span",V,[s(t,{id:"nomeDoFuncionario",modelValue:G.value.nomeDoFuncionario,"onUpdate:modelValue":e[0]||(e[0]=a=>G.value.nomeDoFuncionario=a),class:"w-full h-[34px]"},null,8,["modelValue"]),e[16]||(e[16]=m("label",{for:"nomeDoFuncionario"}," Nome do Funcionário ",-1))]),m("span",_,[s(p,{modelValue:G.value.ano,"onUpdate:modelValue":e[1]||(e[1]=a=>G.value.ano=a),"input-id":"ano",class:"w-full h-[34px]",options:Y.value.ano,"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[17]||(e[17]=m("label",{for:"ano"}," Ano ",-1))]),m("span",T,[s(p,{modelValue:G.value.mes,"onUpdate:modelValue":e[2]||(e[2]=a=>G.value.mes=a),"input-id":"mes",class:"w-full h-[34px]",options:f(a)(),"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[18]||(e[18]=m("label",{for:"mes"}," Mês ",-1))]),m("span",y,[s(p,{modelValue:G.value.codigoDoCargo,"onUpdate:modelValue":e[3]||(e[3]=a=>G.value.codigoDoCargo=a),"input-id":"codigoDoOrgao",class:"w-full h-[34px]",options:Y.value.cargo,"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[19]||(e[19]=m("label",{for:"codigoDoCargo"}," Cargo ",-1))]),m("span",j,[s(t,{id:"nomeDoDepartamento",modelValue:G.value.nomeDoDepartamento,"onUpdate:modelValue":e[4]||(e[4]=a=>G.value.nomeDoDepartamento=a),class:"w-full h-[34px]"},null,8,["modelValue"]),e[20]||(e[20]=m("label",{for:"nomeDoDepartamento"}," Nome do Departamento ",-1))])])]),default:n(()=>[m("div",F,[m("span",S,[s(t,{id:"matriculaDoFuncionario",modelValue:G.value.matriculaDoFuncionario,"onUpdate:modelValue":e[5]||(e[5]=a=>G.value.matriculaDoFuncionario=a),type:"numeric",class:"w-full h-[34px]"},null,8,["modelValue"]),e[21]||(e[21]=m("label",{for:"matriculaDoFuncionario"}
1," Matrícula ",-1))]),m("span",U,[s(D,{id:"cpf",modelValue:G.value.cpf,"onUpdate:modelValue":e[6]||(e[6]=a=>G.value.cpf=a),class:"w-full h-[34px]",mask:"999-999-999-99",placeholder:"999-99-9999"},null,8,["modelValue"]),e[22]||(e[22]=m("label",{for:"cpf"}," CPF ",-1))]),m("span",E,[s(p,{modelValue:G.value.codigoDoTipoDeVinculo,"onUpdate:modelValue":e[7]||(e[7]=a=>G.value.codigoDoTipoDeVinculo=a),"input-id":"codigoDoTipoDeVinculo",class:"w-full h-[34px]",options:Y.value.tipoDeVinculo,"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[23]||(e[23]=m("label",{for:"codigoDoTipoDeVinculo"}," Tipo de Admissão ",-1))]),m("span",N,[s(p,{id:"situacao",modelValue:G.value.codigoDaSituacao,"onUpdate:modelValue":e[8]||(e[8]=a=>G.value.codigoDaSituacao=a),class:"w-full h-[34px]",options:Y.value.situacaoFuncionario,"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[24]||(e[24]=m("label",{for:"situacao"},"Situação",-1))]),m("span",A,[s(p,{modelValue:G.value.codigoDoOrgao,"onUpdate:modelValue":e[9]||(e[9]=a=>G.value.codigoDoOrgao=a),"input-id":"codigoDoOrgao",class:"w-full h-[34px]",options:Y.value.orgao,"option-label":"label","option-value":"value",filter:"","show-clear":"","auto-filter-focus":""},null,8,["modelValue","options"]),e[25]||(e[25]=m("label",{for:"codigoDoOrgao"}," Órgão ",-1))]),m("span",C,[s(b,{modelValue:G.value.cargaHoraria,"onUpdate:modelValue":e[10]||(e[10]=a=>G.value.cargaHoraria=a),"input-id":"cargaHoraria",class:"w-full h-[34px]","input-class":"w-full",suffix:" Hora(s)"},null,8,["modelValue"]),e[26]||(e[26]=m("label",{for:"cargaHoraria"}," Carga Horária Mensal ",-1))]),m("span",P,[s(f(h),{id:"dataDeAdmissao",modelValue:G.value.dataDeAdmissao,"onUpdate:modelValue":e[11]||(e[11]=a=>G.value.dataDeAdmissao=a),class:"w-full h-[34px]"},null,8,["modelValue"]),e[27]||(e[27]=m("label",{for:"dataDeAdmissao"}," Data de Admissão ",-1))]),m("span",M,[s(f(h),{id:"dataDeExoneracao",modelValue:G.value.dataDeExoneracao,"onUpdate:modelValue":e[12]||(e[12]=a=>G.value.dataDeExoneracao=a),class:"w-full h-[34px]"},null,8,["modelValue"]),e[28]||(e[28]=m("label",{for:"dataDeExoneracao"}," Data de Exoneração ",-1))]),m("span",k,[s(p,{modelValue:G.value.categoriaDoTrabalhadorNoESocial,"onUpdate:modelValue":e[13]||(e[13]=a=>G.value.categoriaDoTrabalhadorNoESocial=a),"input-id":"categoriaDoTrabalhadorNoESocial",class:"w-full h-[34px]","input-class":"w-full",options:Y.value.categoriaDoTrabalhadorNoESocial,"option-label":"label","option-value":"value"},null,8,["modelValue","options"]),e[29]||(e[29]=m("label",{for:"categoriaDoTrabalhadorNoESocial"}," Categoria do Trabalhador ",-1))])])]),_:1},8,["dados","card","carregando"]),I.value?(d(),i("div",H," Dados atualizados em: "+r(I.value),1)):u("",!0),s(w,{id:"tabela",ref:"dt",dados:z.value.registros,class:"p-datatable-sm text-xs p-2",style:{"max-width":"100%"},linhas:G.value.tamanhoDaPagina,"total-registros":z.value.total,colunas:q,filtros:G.value,"selection-mode":"single",carregando:B.value,declaracao:L.card.exibir_declaracao_automatica,onSelecionarLinha:e[15]||(e[15]=a=>{return o=a.data,void O.push({name:"Transparência Detalhe Unico",params:{secao:L.card.slugSecao,item:L.card.slug,id:o.matricula},query:{chave:btoa(JSON.stringify(o.chave))}});var o}),onPaginar:K},null,8,["dados","linhas","total-registros","filtros","carregando","declaracao"])],64)}}});export{L as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.