(window.webpackJsonp=window.webpackJsonp||[]).push([[162],{2037:function(t,r,e){"use strict";e.r(r);e(4),e(8),e(137);var d={props:{dadosEstrutura:{type:Array,default:function(){return[]},required:!0}},computed:{tableRows:function(){var t=[];return this.dadosEstrutura.forEach((function(r){var e=t.find((function(t){return t.gravidade===r.gravidade&&t.periodoRac===r.periodoRac}));e?e.quantidade+=1:t.push({gravidade:r.gravidade,periodoRac:r.periodoRac,quantidade:1})})),t}}},o=e(42),component=Object(o.a)(d,(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("b-card",[e("div",{staticClass:"mt-4",attrs:{slot:"header"},slot:"header"},[e("b-row",[e("b-col",{staticClass:"d-flex justify-content-start"},[e("fa-icon",{staticStyle:{"font-size":"1.3rem"},attrs:{icon:"table"}}),t._v(" "),e("h3",{staticClass:"ml-3"},[t._v("Racs")])],1)],1)],1),t._v(" "),e("b-row",[e("b-table-simple",{attrs:{responsive:"",borderless:"",small:"",hover:""}},[e("b-thead",{attrs:{"head-variant":"light"}},[e("b-tr",[e("b-th",[t._v("Prioridade")]),t._v(" "),e("b-th",[t._v("Atendimento")]),t._v(" "),e("b-th",[t._v("Quantidade")])],1)],1),t._v(" "),e("b-tbody",t._l(t.tableRows,(function(r,d){return e("b-tr",{key:d},[e("b-td",[t._v(t._s(r.gravidade))]),t._v(" "),e("b-td",["D"===r.periodoRac?[t._v(" Dentro do prazo ")]:[t._v(" Fora do prazo ")]],2),t._v(" "),e("b-td",[t._v(t._s(r.quantidade))])],1)})),1)],1)],1)],1)}),[],!1,null,null,null);r.default=component.exports}}]);
//# sourceMappingURL=ff0ab4c-1.2.11.js.map