(window.webpackJsonp=window.webpackJsonp||[]).push([[822],{3051:function(t,e,o){"use strict";o.r(e);var r=o(1528),n=o(843),c={props:{rac:{type:Object},getSituacaoRac:{type:Function},getValidationState:{type:Function},selected:{type:Boolean},optionsTipo:{type:Array},value:{type:Array},ocorrenciasAssociadas:{type:Array}},components:{ValidationProvider:r.ValidationProvider},methods:{currentDate:n.a},watch:{getValidationState:function(){return this.getValidationState}},computed:{datCriacao:function(){var t;return null===(t=this.rac)||void 0===t?void 0:t.datCriacao},datInspecao:function(){var t;return null===(t=this.rac)||void 0===t?void 0:t.datInspecao},idTipoRac:{get:function(){var t;return null===(t=this.rac)||void 0===t?void 0:t.idTipoRac},set:function(t){return t}},descricao:function(){var t;return null===(t=this.rac)||void 0===t?void 0:t.descricao},getSelected:function(){return this.selected}},mounted:function(){}},l=o(42),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("b-tab",{attrs:{active:""}},[o("template",{slot:"title"},[o("fa-icon",{attrs:{icon:"ticket-alt"}}),t._v(" "),o("span",{staticClass:"ml-1"},[t._v("Informações")])],1),t._v(" "),o("b-row",[o("b-col",{attrs:{md:"6"}},[o("validation-provider",{attrs:{name:"Tipo",rules:{required:!0}},scopedSlots:t._u([{key:"default",fn:function(e){return[o("b-form-group",{attrs:{label:"Tipo"}},[o("b-form-select",{staticClass:"my-2",attrs:{autofocus:"",state:t.getValidationState(e)},model:{value:t.idTipoRac,callback:function(e){t.idTipoRac=e},expression:"idTipoRac"}},t._l(t.optionsTipo,(function(e,r){return o("b-form-select-option",{key:r,attrs:{value:e.value}},[t._v("\n              "+t._s(e.text)+"\n            ")])})),1)],1)]}}])})],1),t._v(" "),t.rac.datCriacao?o("b-col",{attrs:{md:"6"}},[o("b-form-group",{attrs:{label:"Data de Criação"}},[o("b-form-datepicker",{staticClass:"my-2",attrs:{placeholder:"Insira a data de criação","date-format-options":{year:"numeric",month:"2-digit",day:"2-digit"}},model:{value:t.datCriacao,callback:function(e){t.datCriacao=e},expression:"datCriacao"}})],1)],1):o("b-col",{attrs:{md:"6"}},[o("b-form-group",{attrs:{label:"Data de Criação"}},[o("b-form-datepicker",{staticClass:"my-2",attrs:{value:t.currentDate(),"date-format-options":{year:"numeric",month:"2-digit",day:"2-digit"},disabled:""}})],1)],1),t._v(" "),o("b-col",{attrs:{md:"6"}},[o("validation-provider",{attrs:{name:"datInspecao",rules:{required:!0}},scopedSlots:t._u([{key:"default",fn:function(e){return[o("b-form-group",{attrs:{label:"Data da Inspeção"}},[o("b-form-input",{staticClass:"my-2",attrs:{id:"datInspecao",type:"date",placeholder:"DatInspecao",state:t.getValidationState(e)},model:{value:t.datInspecao,callback:function(e){t.datInspecao=e},expression:"datInspecao"}})],1)]}}])})],1),t._v(" "),o("b-col",{attrs:{md:"6"}},[o("b-form-group",{attrs:{label:"Situação"}},[o("b-form-input",{staticClass:"my-2",attrs:{value:t.getSituacaoRac(),placeholder:"Nova",disabled:""}})],1)],1),t._v(" "),o("b-col",{attrs:{md:"12"}},[o("validation-provider",{attrs:{name:"Descricao",rules:{required:!0,min:3}},scopedSlots:t._u([{key:"default",fn:function(e){return[o("b-form-group",{attrs:{label:"Descrição*"}},[o("b-form-textarea",{staticClass:"my-2",attrs:{placeholder:"Descrição da Inspeção Ambiental",state:t.getValidationState(e)},model:{value:t.descricao,callback:function(e){t.descricao=e},expression:"descricao"}})],1)]}}])})],1)],1),t._v(" "),t._t("aprovacao")],2)}),[],!1,null,null,null);e.default=component.exports},843:function(t,e,o){"use strict";o.d(e,"a",(function(){return c}));var r=o(207),n=o.n(r);function c(){return n()().format("YYYY-MM-DD")}}}]);
//# sourceMappingURL=96f745b-1.2.11.js.map