(window.webpackJsonp=window.webpackJsonp||[]).push([[404],{2206:function(e,t,r){"use strict";r.r(t);r(6),r(5),r(7),r(4),r(12),r(8),r(13);var n=r(2),o=r(78);function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}var l={props:{},data:function(){return{fields:[{key:"id",label:"ID"},{key:"assunto",label:"Assunto"},{key:"nCarta",label:"Nº Carta"},{key:"nOficio",label:"Nº Ofício"},{key:"nProtocolo",label:"Nº Protocolo"}],items:[]}},computed:function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(t){Object(n.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},Object(o.c)({empresa:"empresa/empresaAtual"})),methods:{findReferencias:function(){var e=this;this.$correspondenciaService.findReferencias(this.empresa.sigla,this.$route.params.edit).then((function(t){e.items=t.data})).catch((function(t){e.$toastr.e(t)}))}}},f=l,d=r(42),component=Object(d.a)(f,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-modal",{attrs:{id:"referencias",size:"md",centered:"","hide-header-close":"","hide-footer":""},on:{show:e.findReferencias},scopedSlots:e._u([{key:"modal-header",fn:function(){return[r("h5",{staticClass:"modal-title"},[e._v("Referência entre IDs")])]},proxy:!0}])},[e._v(" "),r("b-row",[r("b-col",[r("b-table",{attrs:{fields:e.fields,items:e.items,"empty-text":"Nenhuma referência encontrada.","show-empty":""}}),e._v(" "),r("b-row",{staticClass:"d-flex justify-content-end px-3"},[r("b-button",{attrs:{variant:"secondary"},on:{click:function(t){return e.$bvModal.hide("referencias")}}},[e._v("Cancelar")])],1)],1)],1)],1)}),[],!1,null,null,null);t.default=component.exports}}]);
//# sourceMappingURL=21e9b80-1.2.11.js.map