(window.webpackJsonp=window.webpackJsonp||[]).push([[762],{2019:function(t,e,n){"use strict";n.r(e);var r={props:{dados:{type:Object,default:function(){}},deleteDrenagem:{type:Function,default:function(){return!1}}},computed:{drenagem:{get:function(){return this.dados},set:function(t){return this.$emit("update:dados",t)}}},methods:{cancelDrenagem:function(){var t=this;this.$bvModal.msgBoxConfirm("Deseja cancelar as alterações?",{centered:!0,title:"Confirmação",size:"sm",okTitle:"Sim",okVariant:"outline-primary",cancelTitle:"Não",cancelVariant:"outline-danger",headerClass:"p-3",footerClass:"p-2 flex-row d-flex"}).then((function(e){e&&t.$router.push("/sigaco/cadastro/elementoDrenagem/list")}))}}},o=n(42),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-card",{staticClass:"mt-2"},[n("b-row",[n("b-col",{attrs:{md:"8"}},[n("b-button",{staticClass:"mr-2",attrs:{size:"sm",variant:"outline-primary",type:"submit"}},[n("fa-icon",{attrs:{icon:"save"}}),t._v(" "),n("span",{staticClass:"ml-1"},[t._v("Salvar")])],1),t._v(" "),n("b-button",{attrs:{size:"sm",variant:"outline-danger"},on:{click:function(e){return t.cancelDrenagem()}}},[n("fa-icon",{attrs:{icon:"times"}}),t._v(" "),n("span",{staticClass:"ml-1"},[t._v("Cancelar")])],1)],1),t._v(" "),n("b-col",{staticClass:"d-flex justify-content-end",attrs:{md:"4"}},[void 0!==t.drenagem.id?n("b-button",{staticClass:"rounded",attrs:{size:"sm",variant:"outline-danger"},on:{click:function(e){return t.deleteDrenagem()}}},[n("fa-icon",{attrs:{icon:"trash-alt"}}),t._v(" "),n("span",{staticClass:"ml-1"},[t._v("Excluir")])],1):t._e()],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=c06ecc0-1.2.11.js.map