{"version":3,"sources":["webpack:///./src/views/programs/kof/components/analytics/EffectivenessDashboard.vue","webpack:///src/views/programs/kof/components/analytics/EffectivenessDashboard.vue","webpack:///./src/views/programs/kof/components/analytics/EffectivenessDashboard.vue?d656","webpack:///./src/views/programs/kof/components/analytics/EffectivenessDashboard.vue?d363"],"names":["render","_vm","this","_c","_self","attrs","staticClass","_v","data","scopedSlots","_u","key","fn","_l","tr","indextr","_s","item_name","stats","effectiveness","toFixed","style","isOverMaxRate","not_contact","dismiss","interested","quoted","withReq","parseFloat","approved_tp","funding_tp","delivered_tp","calculateTotal","slot","model","value","filterSelected","callback","$$v","_n","expression","on","$event","stopPropagation","getReport","columns","col","idx","sortable","title","needArrow","staticRenderFns","textTooltip","isMounted","filters","programs","zoneIdSelected","regionIdSelected","supplierSelected","collections","suppliers","computed","programSelected","zoneSelected","regions","getCountriesList","text","programIdSelected","methods","type","id","select_name","flag","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,4BAA4B,CAACF,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,UAAU,CAACG,YAAY,kCAAkC,CAACH,EAAG,KAAK,CAACG,YAAY,mCAAmC,CAACL,EAAIM,GAAG,gBAAgBJ,EAAG,OAAO,CAACF,EAAIM,GAAG,iBAAiBN,EAAIM,GAAG,WAAW,GAAGJ,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,UAAU,CAACA,EAAG,WAAW,CAACE,MAAM,CAAC,OAAS,GAAG,KAAOJ,EAAIO,KAAK,WAAa,6BAA6BC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,UAAS,KAACJ,IAAO,OAAOP,EAAIY,GAAIL,GAAM,SAASM,EAAGC,GAAS,OAAOZ,EAAG,QAAQ,CA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mBAAAtC,qBAAAuC,aAAAF,YAAAI,iGACA,CAAAH,mBAAAtC,iBAAAuC,aAAAF,YAAAI,iGACA,CAAAH,sBAAAtC,aAAAuC,aAAAF,YAAAI,iGACA,CAAAH,sBAAAtC,eAAAuC,aAAAF,YAAAI,iGACA,CAAAH,iBAAAtC,eAAAuC,aAAAF,YAAAI,iJACA,CAAAH,eAAAtC,cAAAuC,aAAAF,YAAAI,0IACA,CAAAH,oBAAAtC,gBAAAuC,aAAAF,YAAAI,0HACA,CAAAH,cAAAtC,YAAAuC,aAAAF,YAAAI,iBAGe,OACf5C,OACA,OACAA,QACAqC,UACAT,iBACAiB,aACAC,WACAC,YACAC,iBACAC,mBACAC,mBACAC,aACAC,gBAIA,gBACA,WAAApD,SAAA,kCACA,gBACA,iBACA,uBAEAqD,UACAC,kBAAA,MACA,6DACA,2CAEAC,eAAA,MACA,uEACA,sCAAAC,aAEAC,mBACA,2CAAA9B,WAAA+B,uBAEAC,oBACA,oCAGAC,SACA,kBAGA,MAEA,OAJA,qBACA,kBAGA,qBACA,OAAAC,gBAAA,MACA,OAAAA,YAAA,MACA,OAAAA,cAAA,MACA,OAAAA,iBAAA,MAGA,IACA,0HACA,iBAEA,SACA,gBACA,gDACA,qDAEA,qBAEA,qBACA,mBAEA,qBACA,0BACA,gBAEA,6BAGA,mCACA,sBACA,0BAGA,uBACA,IACA,0BACA,+BACA,yDACA,kDACA,oCACAC,KACAC,sCAGA,SACA,eAGAvC,kBACA,mIAEAV,mBACA,eACA,MACA,UACA,6BACAkD,UACA,MACA,qBACAA,UACA,MACA,iBACAA,UACA,MACA,aACAA,UACA,MACA,QAAAA,KAGA,YCjQ4Z,I,YCOxZC,EAAY,eACd,EACAzE,EACAmD,GACA,EACA,KACA,KACA,MAIa,aAAAsB,E","file":"js/chunk-2d229284.8bb8ce7f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"effectiveness-dashboard\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-6\"},[_c('vx-card',{staticClass:\"big-title-card-bg-black h-auto\"},[_c('h1',{staticClass:\"rg-big-title extrabold rg-title\"},[_vm._v(\" Reporte de \"),_c('span',[_vm._v(\"efectividad\")]),_vm._v(\". \")])])],1),_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',[_c('vs-table',{attrs:{\"search\":\"\",\"data\":_vm.data,\"noDataText\":\"No hay datos disponibles.\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr},[_c('vs-td',{staticClass:\"bold\"},[_vm._v(\" \"+_vm._s(tr.item_name)+\" \")]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s((tr.stats.effectiveness * 100).toFixed(2))+\" % \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\",style:(_vm.isOverMaxRate(tr.stats.not_contact,'assigned_not_contacted') ? 'color: red;':'')},[_vm._v(\" \"+_vm._s(tr.stats.not_contact.toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\",style:(_vm.isOverMaxRate(tr.stats.dismiss,'not_interested') ? 'color: red;':'')},[_vm._v(\" \"+_vm._s(tr.stats.dismiss.toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\",style:(_vm.isOverMaxRate(tr.stats.interested,'interested') ? 'color: red;':'')},[_vm._v(\" \"+_vm._s(tr.stats.interested.toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\",style:(_vm.isOverMaxRate(tr.stats.quoted,'quoted') ? 'color: red;':'')},[_vm._v(\" \"+_vm._s(tr.stats.quoted.toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(tr.stats.withReq.toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(parseFloat(tr.stats.approved_tp).toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(parseFloat(tr.stats.funding_tp).toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(parseFloat(tr.stats.delivered_tp).toFixed(0))+\" \")])]),_c('vs-td',[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(_vm.calculateTotal(tr).toFixed(0))+\" \")])])],1)})}}])},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Agrupar por:\")]),_c('div',{staticClass:\"flex ml-4\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-6\"},[_c('ul',{staticClass:\"centerx\"},[_c('li',[_c('vs-radio',{attrs:{\"color\":\"primary\",\"vs-value\":\"0\"},model:{value:(_vm.filterSelected),callback:function ($$v) {_vm.filterSelected=_vm._n($$v)},expression:\"filterSelected\"}},[_vm._v(\"Por Proveedor\")])],1),_c('li',[_c('vs-radio',{attrs:{\"color\":\"primary\",\"vs-value\":\"1\"},model:{value:(_vm.filterSelected),callback:function ($$v) {_vm.filterSelected=_vm._n($$v)},expression:\"filterSelected\"}},[_vm._v(\"Por Zona\")])],1),_c('li',[_c('vs-radio',{attrs:{\"color\":\"primary\",\"vs-value\":\"2\"},model:{value:(_vm.filterSelected),callback:function ($$v) {_vm.filterSelected=_vm._n($$v)},expression:\"filterSelected\"}},[_vm._v(\"Por Región\")])],1),_c('li',[_c('vs-radio',{attrs:{\"color\":\"primary\",\"vs-value\":\"3\"},model:{value:(_vm.filterSelected),callback:function ($$v) {_vm.filterSelected=_vm._n($$v)},expression:\"filterSelected\"}},[_vm._v(\"Por Líder de venta\")])],1)])])]),_c('vs-button',{staticClass:\"mt-6 ml-8\",attrs:{\"type\":\"filled\",\"icon\":\"search\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.getReport()}}})],1),_c('p',[_vm._v(\" Se muestra el % de tasa de conversión, así como los tiempos promedio en días para cada una de las etapas del Prospecto. \"),_c('br'),_c('strong',[_vm._v(\"Nota:\")]),_vm._v(\" En caso de que el proveedor haya notificado tener problemas de comunicación con el prospecto, será descartado dicho prospecto para la estadística de este reporte. \")])]),_c('template',{slot:\"thead\"},[_vm._l((_vm.columns),function(col,idx){return [_c('vs-th',{key:idx,staticClass:\"bold\",attrs:{\"sort-key\":col.sortable ? col.key : null}},[_vm._v(\" \"+_vm._s(col.title)+\" \"+_vm._s(col.needArrow ? '→' : '')+\" \")])]})],2)],2)],1)],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EffectivenessDashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EffectivenessDashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EffectivenessDashboard.vue?vue&type=template&id=1f42a4fa&\"\nimport script from \"./EffectivenessDashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./EffectivenessDashboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}