{"version":3,"sources":["webpack:///./src/views/home/apps/stf/components/accident.vue","webpack:///src/views/home/apps/stf/components/accident.vue","webpack:///./src/views/home/apps/stf/components/accident.vue?e4a1","webpack:///./src/views/home/apps/stf/components/accident.vue?7859"],"names":["render","_vm","this","_c","_self","dashboardData","rdy","class","concat","bd","mgt","staticClass","_v","params","mode","attrs","on","$event","loadData","_s","_f","data","groupedData","filter","x","typeId","reduce","sum","_ref","count","parseInt","_ref2","key","chart","options","series","processed","startDate","endDate","time","toFixed","_e","staticRenderFns","moment","require","components","apexchart","VueApexCharts","props","type","String","default","name","height","zoom","enabled","dataLabels","stroke","curve","grid","row","colors","opacity","xaxis","categories","startOf","format","list","mounted","methods","toggleBodyClass","addRemoveClass","className","el","document","body","classList","add","remove","_this","request","api","method","url","store","$store","then","res","map","districts","component"],"mappings":"6MAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,cAAcC,IAAKH,EAAG,MAAM,CAACI,MAAK,QAAAC,OAASP,EAAIQ,GAAE,KAAAD,OAAIP,EAAIS,IAAG,aAAY,CAACP,EAAG,MAAM,CAACQ,YAAY,8CAA8C,CAACR,EAAG,KAAK,CAACQ,YAAY,UAAU,CAACV,EAAIW,GAAG,sBAAsBT,EAAG,MAAM,CAACQ,YAAY,qCAAqC,CAACR,EAAG,IAAI,CAACI,MAAK,YAAAC,OAA8C,GAAjCP,EAAII,cAAcQ,OAAOC,KAAY,SAAW,IAAKC,MAAM,CAAC,KAAO,UAAUC,GAAG,CAAC,MAAQ,SAASC,GAAQhB,EAAII,cAAcQ,OAAOC,KAAO,EACzeb,EAAIiB,cAAe,CAACjB,EAAIW,GAAG,QAAQT,EAAG,IAAI,CAACI,MAAK,YAAAC,OAA8C,GAAjCP,EAAII,cAAcQ,OAAOC,KAAY,SAAW,IAAKC,MAAM,CAAC,KAAO,UAAUC,GAAG,CAAC,MAAQ,SAASC,GAAQhB,EAAII,cAAcQ,OAA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e,EAAA1E,cAAAgB,KAAAoE,UAAAD,KACA,SAAAhE,GACA,OAAAA,EAAA4B,QAGA2B,EAAA1E,cAAA4B,MAAAD,MACA+C,EAAA1E,cAAAC,KAAA,SCvN6Y,I,YCOzYoF,EAAY,eACd,EACA1F,EACA0C,GACA,EACA,KACA,KACA,MAIa,aAAAgD,E","file":"js/chunk-2d0a3cd9.2fa74705.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.dashboardData.rdy)?_c('div',{class:`card ${_vm.bd} ${_vm.mgt} bd-none`},[_c('div',{staticClass:\"card-header d-flex justify-content-between\"},[_c('h6',{staticClass:\"mg-b-0\"},[_vm._v(\"Зардлын задаргаа\")]),_c('nav',{staticClass:\"nav nav-row-xs align-items-center\"},[_c('a',{class:`nav-link ${_vm.dashboardData.params.mode == 1 ? 'active' : ''}`,attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.dashboardData.params.mode = 1;\n _vm.loadData();}}},[_vm._v(\"1D\")]),_c('a',{class:`nav-link ${_vm.dashboardData.params.mode == 2 ? 'active' : ''}`,attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.dashboardData.params.mode = 2;\n _vm.loadData();}}},[_vm._v(\"1W\")]),_c('a',{class:`nav-link ${_vm.dashboardData.params.mode == 3 ? 'active' : ''}`,attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.dashboardData.params.mode = 3;\n _vm.loadData();}}},[_vm._v(\"1M\")]),_c('a',{class:`nav-link ${_vm.dashboardData.params.mode == 4 ? 'active' : ''}`,attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.dashboardData.params.mode = 4;\n _vm.loadData();}}},[_vm._v(\"1Y\")]),_c('a',{class:`nav-link ${_vm.dashboardData.params.mode == 5 ? 'active' : ''}`,attrs:{\"role\":\"button\"},on:{\"click\":function($event){_vm.dashboardData.params.mode = 5;\n _vm.loadData();}}},[_vm._v(\"ALL\")])])]),_c('div',{staticClass:\"card-body pd-0\"},[_c('div',{staticClass:\"row mg-b-20\"},[_c('div',{staticClass:\"col text-center\"},[_c('h4',{staticClass:\"tx-normal tx-rubik tx-spacing--1 mg-b-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatMoney\")(_vm.dashboardData.data.groupedData.filter((x) => x.typeId == 0).reduce((sum, { count }) => sum + parseInt(count), 0),0, \".\", \",\"))+\" ₮ \")]),_c('p',{staticClass:\"tx-11 tx-uppercase tx-spacing-1 tx-medium tx-color-03\"},[_vm._v(\" Батлаагүй \")])]),_c('div',{staticClass:\"col text-center\"},[_c('h4',{staticClass:\"tx-normal tx-rubik tx-spacing--1 mg-b-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatMoney\")(_vm.dashboardData.data.groupedData .filter((x) => x.typeId == 1) .reduce((sum, { count }) => sum + parseInt(count), 0),0, \".\", \",\"))+\" ₮ \")]),_c('p',{staticClass:\"tx-11 tx-uppercase tx-spacing-1 tx-medium tx-color-03\"},[_vm._v(\" Баталсан \")])])]),_c('div',[_c('apexchart',{key:_vm.dashboardData.chart.key,attrs:{\"type\":\"bar\",\"height\":\"250\",\"options\":_vm.dashboardData.chart.options,\"series\":_vm.dashboardData.chart.series}})],1)]),_c('div',{staticClass:\"card-footer tx-11 tx-color-03\"},[_c('div',[_vm._v(\" Хамрах хугацаа: \"+_vm._s(_vm._f(\"moment\")(_vm.dashboardData.data.processed.startDate,\"YYYY.MM.DD\"))+\" - \"+_vm._s(_vm._f(\"moment\")(_vm.dashboardData.data.processed.endDate,\"YYYY.MM.DD\"))),_c('br'),_vm._v(\" Боловсруулсан: \"+_vm._s(_vm.dashboardData.data.processed.time.toFixed(2))+\"сек \")])])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n Зардлын задаргаа\n \n 1D\n 1W\n 1M\n 1Y\n ALL\n \n \n\n \n \n \n \n {{\n dashboardData.data.groupedData.filter((x) => x.typeId == 0).reduce((sum, { count }) => sum + parseInt(count), 0) | formatMoney(0, \".\", \",\")\n }} ₮\n \n \n Батлаагүй\n \n \n \n \n {{\n dashboardData.data.groupedData\n .filter((x) => x.typeId == 1)\n .reduce((sum, { count }) => sum + parseInt(count), 0) | formatMoney(0, \".\", \",\")\n }} ₮\n \n \n Баталсан\n \n \n \n \n \n \n \n \n \n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./accident.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./accident.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./accident.vue?vue&type=template&id=21fad8c5\"\nimport script from \"./accident.vue?vue&type=script&lang=js\"\nexport * from \"./accident.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":""}
\n Батлаагүй\n
\n Баталсан\n