(window.webpackJsonp=window.webpackJsonp||[]).push([[1257],{2693:function(t,e,o){"use strict";o.r(e);var n={metaInfo:{title:"Eventos do Contrato"}},r=o(42),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"main-content"},[o("form",{attrs:{id:"eventoForm"}},[o("div",{staticClass:"p-grid"},[o("div",{staticClass:"p-col-12"},[o("div",{staticClass:"card"},[o("h5",[t._v("Eventos do Contrato")]),t._v(" "),o("p:focus",{attrs:{for:"pesquisa"}}),t._v(" "),o("p:outputLabel",[t._v("Localizar:")]),t._v(" "),o("div",{staticClass:"p-field p-grid p-mt-2"},[o("div",{staticClass:"p-col-12 p-md-6 ui-fluid"},[o("b-form-input",{attrs:{id:"pesquisa",value:"#{tipoEventoPerMBean.desPesquisa}"}})],1),t._v(" "),o("b-btn",{attrs:{value:"Pesquisar",icon:"fas fa-search",id:"btnPesquisar",actionListener:"#{tipoEventoPerMBean.search}",update:":eventoForm:pnlData"}})],1),t._v(" "),o("div",[o("b-btn",{attrs:{value:"Adicionar",icon:"pi pi-file",action:"/pages/per/tipoEventoPerEdit.faces?faces-redirect=true",ajax:"false"}}),t._v(" "),o("b-btn",{attrs:{icon:"fas fa-print",onclick:"window.print();return false;",styleClass:"p-ml-2"}})],1)],1)])]),t._v(" "),o("div",{staticClass:"p-grid"},[o("div",{staticClass:"p-col-12"},[o("div",{staticClass:"card"},[o("p:outputPanel",{attrs:{id:"pnlData"}},[o("p:outputPanel",{attrs:{rendered:"#{tipoEventoPerMBean.tiposEvento == null}",styleClass:"ui-messages avisoResult"}},[o("div",{staticClass:"ui-messages-info ui-corner-all"},[o("span",{staticClass:"ui-messages-info-icon"}),t._v(" "),o("ul",[o("li",[o("span",{staticClass:"ui-messages-info-detail"},[t._v("Informe o critério de busca acima e selecione\n                      Pesquisar.")])])])])]),t._v(" "),o("b-table",{staticStyle:{width:"99%"},attrs:{id:"dataCtr",var:"evento",styleClass:"dataTable",value:"#{tipoEventoPerMBean.tiposEvento}",selectionMode:"single",rowKey:"#{evento.id}",paginator:"#{tipoEventoPerMBean.tiposEvento.size() > 15}",rows:"15",rendered:"#{tipoEventoPerMBean.tiposEvento != null}",emptyMessage:"Nenhum evento de contrato encontrado."}},[o("p:column",{staticStyle:{},attrs:{headerText:"Descrição",sortBy:"#{evento.descricao}"}},[o("h:outputText",{attrs:{value:"#{evento.descricao}"}})],1),t._v(" "),o("p:column",{staticStyle:{width:"125px"},attrs:{headerText:"Data cadastro",sortBy:"#{evento.datHorCadastro}",styleClass:"hvMiddle"}},[o("h:outputText",{attrs:{value:"#{evento.datHorCadastro}"}},[o("f:convertDateTime",{attrs:{pattern:"dd/MM/yy HH:mm"}})],1)],1),t._v(" "),o("p:column",{staticStyle:{width:"125px"},attrs:{headerText:"Data alteração",sortBy:"#{evento.datHorAlteracao}",styleClass:"hvMiddle"}},[o("h:outputText",{attrs:{value:"#{evento.datHorAlteracao}"}},[o("f:convertDateTime",{attrs:{pattern:"dd/MM/yy HH:mm"}})],1)],1),t._v(" "),o("p:column",{staticStyle:{width:"60px"},attrs:{headerText:"Ação",styleClass:"hvMiddle acoes"}},[o("h:link",{attrs:{outcome:"/pages/per/tipoEventoPerEdit.faces",styleClass:"icon"}},[o("f:param",{attrs:{name:"idEvento",value:"#{evento.id}"}}),t._v(" "),o("h:graphicImage",{attrs:{library:"img",name:"icons/edit.png"}})],1),t._v(" "),o("p:commandLink",{attrs:{action:"#{tipoEventoPerMBean.delete}",update:":eventoForm:pnlData :eventoForm:growl",styleClass:"icon",ajax:"true"}},[o("f:param",{attrs:{name:"idEvento",value:"#{evento.id}"}}),t._v(" "),o("h:graphicImage",{attrs:{library:"img",name:"icons/delete.png",styleClass:"p-ml-2"}})],1)],1)],1)],1)],1)])])])])}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=309c765-1.2.11.js.map