(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e906aff"],{"0231":function(t,e,a){"use strict";a("17a0b")},1183:function(t,e,a){"use strict";a.r(e);var n=a("7a23"),o=function(t){return Object(n["D"])("data-v-36da8181"),t=t(),Object(n["B"])(),t},c={key:0,class:"card"},i={class:"card-container"},r=o((function(){return Object(n["j"])("h4",null,"Ordenes por cliente",-1)})),l={key:1,class:"card"},s={class:"card-container"},d=o((function(){return Object(n["j"])("h4",null,"Horas de operarios",-1)})),u={key:2,class:"card"},b={class:"card-container"},p=o((function(){return Object(n["j"])("h4",null,"Facturación por cliente",-1)}));function O(t,e,a,o,O,j){var f=Object(n["I"])("Chart");return Object(n["A"])(),Object(n["i"])("div",null,["clientes"==j.statof?(Object(n["A"])(),Object(n["i"])("div",c,[Object(n["j"])("div",i,[r,Object(n["n"])(f,{type:"pie",data:O.clientData,options:O.clientOptions,class:"w-30rem"},null,8,["data","options"])])])):"operarios"==j.statof?(Object(n["A"])(),Object(n["i"])("div",l,[Object(n["j"])("div",s,[d,Object(n["n"])(f,{type:"bar",data:O.operatorsData,options:O.lightOptions},null,8,["data","options"])])])):"facturacion"==j.statof?(Object(n["A"])(),Object(n["i"])("div",u,[Object(n["j"])("div",b,[p,Object(n["n"])(f,{type:"bar",data:O.clientData2,options:O.clientData2Options},null,8,["data","options"])])])):Object(n["h"])("",!0)])}var j={computed:{statof:function(){return this.$route.params.of}},data:function(){return{clientData:{labels:["Cliente 1","Cliente 2","Cliente 3"],datasets:[{data:[300,50,100],backgroundColor:["#42A5F5","#66BB6A","#FFA726"],hoverBackgroundColor:["#64B5F6","#81C784","#FFB74D"]}]},clientData2:{labels:["Cliente 1","Cliente 2","Cliente 3","Cliente 4","Cliente 5","Cliente 6","Cliente 7","Cliente 8","Cliente 9","Cliente 10"],datasets:[{data:[50,25,12,48,90,76,42,25,12,48],backgroundColor:["#66BB6A"],hoverBackgroundColor:["#64B5F6"]}]},operatorsData:{labels:["Operario 1","Operario 2","Operario 3","Operario 4","Operario 5","Operario 6","Operario 7"],datasets:[{type:"bar",label:"Produciendo",backgroundColor:"#66BB6A",data:[50,25,12,48,90,76,42]},{type:"bar",label:"Pausado",backgroundColor:"#FFA726",data:[21,84,24,75,37,65,34]}]},clientOptions:{plugins:{legend:{labels:{color:"#495057"}}}},lightOptions:{scales:{y:{ticks:{callback:function(t,e,a){return t+" Hs."}}}},plugins:{legend:{labels:{color:"#495057"}}}},clientData2Options:{scales:{y:{ticks:{callback:function(t,e,a){return"$ "+t}}}},plugins:{legend:{display:!1},tooltips:{callbacks:{label:function(t){return t.yLabel}}}}}}}},f=(a("0231"),a("6b0d")),C=a.n(f);const k=C()(j,[["render",O],["__scopeId","data-v-36da8181"]]);e["default"]=k},"17a0b":function(t,e,a){}}]);
//# sourceMappingURL=chunk-1e906aff.cf18c352.js.map