(window.webpackJsonp=window.webpackJsonp||[]).push([[1129],{2660:function(t,e,o){"use strict";o.r(e);var l={metaInfo:{title:"GED - Novo documento"}},r=o(42),component=Object(r.a)(l,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"main-content"},[o("f:metadata",[o("f:param",{attrs:{name:"dummyToAvoidSecondRedirect"}}),t._v(" "),o("f:viewAction",{attrs:{action:"#{documentoMBean.initEdit}"}})],1),t._v(" "),o("form",{attrs:{id:"anexoForm"}},[o("div",{staticClass:"p-grid"},[o("div",{staticClass:"p-col-12"},[o("div",{staticClass:"card"},[o("h5",[t._v("GED - Documentos")]),t._v(" "),o("div",{staticClass:"ui-fluid p-formgrid p-grid"},[o("p:focus",{attrs:{id:"focus",context:"idArea"}}),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4"},[o("p:outputLabel",[t._v("Área:")]),t._v(" "),o("b-form-select",{attrs:{id:"idArea",value:"#{documentoMBean.idArea}"}},[o("b-form-select-options",{attrs:{value:"#{documentoMBean.areas}",var:"area",itemLabel:"#{area.sigla} - #{area.descricao}",itemValue:"#{area.id}"}})],1)],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4"},[o("p:outputLabel",[t._v("Módulo:")]),t._v(" "),o("b-form-select",{attrs:{value:"#{documentoMBean.modulo}"}},[o("b-form-select-option",{attrs:{itemLabel:"Documentos",itemValue:"GED"}}),t._v(" "),o("b-form-select-option",{attrs:{itemLabel:"Folha Rosto",itemValue:"FLH"}}),t._v(" "),o("p:ajax",{attrs:{event:"change",process:"@this",update:"@form",listener:"#{documentoMBean.refreshTreeView()}"}})],1)],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4"},[o("p:outputLabel",{attrs:{value:"Diretório base:"}}),t._v(" "),o("b-form-select",{attrs:{value:"#{documentoMBean.idHierarquia}"}},[o("b-form-select-option",{attrs:{itemLabel:"Novo diretório",itemValue:"#{null}"}}),t._v(" "),o("b-form-select-options",{attrs:{var:"path",value:"#{documentoMBean.diretorios}",itemLabel:"#{path.descricao}",itemValue:"#{path.id}"}})],1)],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-6"},[o("p:outputLabel",{attrs:{value:" Selecione abaixo o arquivo."}}),t._v(" "),o("p:fileUpload",{attrs:{listener:"#{documentoMBean.handleUploadAnexo}",process:"@this",update:"@this",mode:"advanced",dragDropSupport:"true",multiple:"false",sizeLimit:"10000000000000",auto:"true",label:"Escolher",cancelLabel:"Cancelar"}})],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4 p-xl-6"},[o("p:outputLabel",{attrs:{value:"Observação:"}}),t._v(" "),o("b-form-textarea",{attrs:{rows:"5",maxlength:"400",value:"#{documentoMBean.observacao}"}})],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4 p-xl-4"},[o("p:outputLabel",{attrs:{value:"Data emissão:"}}),t._v(" "),o("p:calendar",{attrs:{id:"dataEmissao",mask:"99/99/9999",pattern:"dd/MM/yyyy",value:"#{documentoMBean.datEmissao}"}})],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4 p-xl-4"},[o("p:outputLabel",{attrs:{value:"Data revisão:"}}),t._v(" "),o("p:calendar",{attrs:{id:"dataRevisao",mask:"99/99/9999",pattern:"dd/MM/yyyy",value:"#{documentoMBean.datRevisao}"}})],1),t._v(" "),o("div",{staticClass:"p-field p-col-12 p-md-4 p-xl-4"},[o("p:outputLabel",{attrs:{value:"Data expiração:"}}),t._v(" "),o("p:calendar",{attrs:{id:"dataExpiracao",mask:"99/99/9999",pattern:"dd/MM/yyyy",value:"#{documentoMBean.datExpiracao}"}})],1)],1),t._v(" "),o("div",{staticClass:"p-mt-3"},[o("b-btn",{attrs:{value:"Salvar",icon:"fas fa-save",action:"#{documentoMBean.saveUploadAnexo}",update:"@form",process:"@form"}}),t._v(" "),o("b-btn",{attrs:{value:"Cancelar",icon:"fas fa-times",ajax:"false",action:"/pages/documentos/consultaDocumentos.faces?faces-redirect=true",styleClass:"p-ml-2"}})],1)])])])])],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=b2fd240-1.2.11.js.map