(window.webpackJsonp=window.webpackJsonp||[]).push([[1058],{3132:function(e,t,r){"use strict";r.r(t);var o=r(42),component=Object(o.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"main-content"},[r("b-table",{staticStyle:{width:"99%"},attrs:{id:"dataExecutados",var:"servRealizado",selectionMode:"single",value:"#{solicitaServicoMBean.servicosRealizados}",paginator:"#{solicitaServicoMBean.servicosRealizados.size() > 15}",selection:"#{solicitaServicoMBean.servicoRealizado}",rowKey:"#{servRealizado.id}",rows:"15",emptyMessage:"Nenhum serviço realizado foi encontrado."}},[r("p:ajax",{attrs:{process:"@this",event:"rowSelect",update:"dataExecutados"}}),e._v(" "),r("f:facet",{attrs:{name:"header"}},[r("b-btn",{attrs:{value:"Inserir",icon:"pi pi-file",process:"@this",actionListener:"#{solicitaServicoMBean.prepareAddServicoRealizado}",update:":servRealizadoForm:servRealizadoDialog",oncomplete:"PF('servRealizadoDlg').show();",rendered:"#{solicitaServicoMBean.isStatusExecucao()}"}}),e._v(" "),r("b-btn",{attrs:{value:"Alterar",icon:"pi pi-pencil",process:"@this dataExecutados",styleClass:"p-ml-2",actionListener:"#{solicitaServicoMBean. prepareEditServicoRealizado()}",update:":servRealizadoForm:servRealizadoDialog",oncomplete:"PF('servRealizadoDlg').show();",rendered:"#{solicitaServicoMBean.servicoRealizado != null}"}}),e._v(" "),r("b-btn",{attrs:{icon:"pi pi-trash",process:"@this dataExecutados",styleClass:"p-ml-2",onclick:"PF('cnfDeleteServRealizados').show();",rendered:"#{solicitaServicoMBean.servicoRealizado != null}"}})],1),e._v(" "),r("p:column",{staticStyle:{width:"115px"},attrs:{headerText:"Data Registro",sortBy:"#{servRealizado.datHorLancamento}",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"#{servRealizado.datHorLancamento}"}},[r("f:convertDateTime",{attrs:{pattern:"dd/MM/yy HH:mm",type:"localDateTime"}})],1)],1),e._v(" "),r("p:column",{staticStyle:{width:"250px"},attrs:{headerText:"Descrição"}},[r("h:outputText",{attrs:{value:"#{servRealizado.observacao}"}})],1),e._v(" "),r("p:column",{staticStyle:{width:"150px"},attrs:{headerText:"Equipe"}},[r("h:outputText",{attrs:{value:"#{servRealizado.equipe.descricao}"}})],1),e._v(" "),r("p:column",{staticStyle:{width:"150px"},attrs:{headerText:"Rodovia"}},[r("h:outputText",{attrs:{value:"#{servRealizado.rodovia.descricao}"}})],1),e._v(" "),r("p:column",{staticStyle:{width:"75px"},attrs:{headerText:"Km Inicial"}},[r("h:outputText",{attrs:{value:"#{servRealizado.kmInicial}"}},[r("f:convertNumber",{attrs:{pattern:"0.000"}})],1)],1),e._v(" "),r("p:column",{staticStyle:{width:"75px"},attrs:{headerText:"Km Final"}},[r("h:outputText",{attrs:{value:"#{servRealizado.kmFinal}"}},[r("f:convertNumber",{attrs:{pattern:"0.000"}})],1)],1),e._v(" "),r("p:column",{staticStyle:{width:"125px"},attrs:{headerText:"Lat./Lng.",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"#{servRealizado.latitude}"}},[r("f:convertNumber",{attrs:{pattern:"#.000000#"}})],1),e._v(" "),r("h:outputText",{attrs:{value:"/",rendered:"#{servRealizado.longitude ne null or servRealizado.longitude ne null}"}}),e._v(" "),r("h:outputText",{attrs:{value:"#{servRealizado.longitude}"}},[r("f:convertNumber",{attrs:{pattern:"#.000000#"}})],1)],1),e._v(" "),r("p:column",{staticStyle:{width:"65px"},attrs:{headerText:"Pista",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"Norte",rendered:"#{servRealizado.pista eq 'N'.charAt(0)}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Sul",rendered:"#{servRealizado.pista eq 'S'.charAt(0)}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Leste",rendered:"#{servRealizado.pista eq 'L'.charAt(0)}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Oeste",rendered:"#{servRealizado.pista eq 'O'.charAt(0)}"}})],1),e._v(" "),r("p:column",{staticStyle:{width:"110px"},attrs:{headerText:"Faixa",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"Faixa 1",rendered:"#{servRealizado.faixa eq 'FAIXA_1'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Faixa 2",rendered:"#{servRealizado.faixa eq 'FAIXA_2'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Faixa 3",rendered:"#{servRealizado.faixa eq 'FAIXA_3'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Faixa 4",rendered:"#{servRealizado.faixa eq 'FAIXA_4'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Faixa 5",rendered:"#{servRealizado.faixa eq 'FAIXA_5'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Faixa 6",rendered:"#{servRealizado.faixa eq 'FAIXA_6'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Acostamento Interno",rendered:"#{servRealizado.faixa eq 'ACOSTAMENTO_INTERNO'}"}}),e._v(" "),r("h:outputText",{attrs:{value:"Acostamento Externo",rendered:"#{servRealizado.faixa eq 'ACOSTAMENTO_EXTERNO'}"}})],1)],1)],1)}),[],!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=4159127-1.2.11.js.map