/
home
/
maktab
/
admin
/
js
/
File Upload :
llllll
Current File: /home/maktab/admin/js/chunk-291e204a.00d6ad4e.js.map
{"version":3,"sources":["webpack:///./src/views/dashboard/dashboard.vue?d871","webpack:///./src/views/dashboard/dashboard.vue?e60e","webpack:///./src/views/dashboard/components/counterBox.vue?ddf7","webpack:///src/views/dashboard/components/counterBox.vue","webpack:///./src/views/dashboard/components/counterBox.vue?1cc5","webpack:///./src/views/dashboard/components/counterBox.vue","webpack:///src/views/dashboard/dashboard.vue","webpack:///./src/views/dashboard/dashboard.vue?962b","webpack:///./src/views/dashboard/dashboard.vue","webpack:///./src/views/dashboard/assets/empty.svg"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","loading","staticClass","dashboardInfo","count_teacher_active","count_teacher","count_cloony","count_maktab","count_present_week","count_present_month","count_present_3month","count_teacher_deactive","_e","height","staticRenderFns","style","background","iconBg","color","iconColor","icon","_v","_s","text","domProps","description","countColor","count","name","components","Icon","props","type","required","default","component","counterBox","data","methods","getAllInfo","axios","console","created","module","exports"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,SAAWN,EAAIO,UAAU,CAACH,EAAG,MAAM,CAACI,YAAY,0CAA0C,CAAER,EAAIS,cAAkC,qBAAEL,EAAG,MAAM,CAACI,YAAY,yCAAyC,CAACJ,EAAG,aAAa,CAACI,YAAY,YAAYF,MAAM,CAAC,KAAO,6BAA6B,UAAU,UAAU,aAAa,UAAU,KAAO,oBAAoB,MAAQL,KAAKQ,cAAcC,qBAAqB,WAAa,aAAaN,EAAG,aAAa,CAACI,YAAY,YAAYF,MAAM,CAAC,KAAO,8BAA8B,UAAU,UAAU,aAAa,UAAU,KAAO,kBAAkB,MAAQL,KAAKQ,cAAcE,cAAc,WAAa,aAAaP,EAAG,aAAa,CAACI,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G,OAAO,CAACI,YAAY,kDAAkDa,MAAM,CAAEC,WAAYtB,EAAIuB,OAAQC,MAAOxB,EAAIyB,WAAYnB,MAAM,CAAC,KAAON,EAAI0B,SAAS,GAAGtB,EAAG,MAAM,CAACI,YAAY,iCAAiC,CAACR,EAAI2B,GAAG3B,EAAI4B,GAAG5B,EAAI6B,SAASzB,EAAG,MAAM,CAACI,YAAY,YAAYsB,SAAS,CAAC,UAAY9B,EAAI4B,GAAG5B,EAAI+B,gBAAgB3B,EAAG,MAAM,CAACI,YAAY,gDAAgD,CAACJ,EAAG,KAAK,CAACI,YAAY,YAAYa,MAAM,CAAEG,MAAOxB,EAAIgC,aAAc,CAAChC,EAAI2B,GAAG3B,EAAI4B,GAAG5B,EAAIiC,UAAU7B,EAAG,MAAM,CAACI,YAAY,wBAAwB,CAACR,EAAI2B,GAAG,cACrwB,EAAkB,G,wBCoBP,GACfO,kBACAC,YAAAC,aACAC,OACAd,cACAE,iBACAC,YACAG,YACAI,aACAD,kBACAD,aAAAO,YAAAC,YAAAC,oBC/BkX,I,YCO9WC,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,oBC0DA,GACfP,qBACAC,YACAO,cAEAC,gBACA,OACApC,WACAE,mBAGAmC,SACAC,sBAAA,oJAEA,OAFA,SAEA,yBACAC,+BAAA,gBAAAH,SACA,wEAEAI,kBAAA,QAEA,OAFA,UAEA,iJARAF,IAYAG,mBAAA,4JACA,uHADAA,ICpGkW,ICQ9V,G,UAAY,eACd,EACAjD,EACAqB,GACA,EACA,KACA,KACA,OAIa,e,8BCnBf6B,EAAOC,QAAU,IAA0B,0B","file":"js/chunk-291e204a.00d6ad4e.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/less-loader/dist/cjs.js??ref--14!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dashboard.vue?vue&type=style&index=0&id=ab6a89c4&prod&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{attrs:{\"spinning\":_vm.loading}},[_c('div',{staticClass:\"md:h-[calc(100vh-120px)] flex flex-col\"},[(_vm.dashboardInfo.count_teacher_active)?_c('div',{staticClass:\"grid grid-cols-1 md:grid-cols-4 gap-4\"},[_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-tick-linear\",\"icon-bg\":\"#E3F4E9\",\"icon-color\":\"#F6560C\",\"text\":\"تعداد مربیان فعال\",\"count\":this.dashboardInfo.count_teacher_active,\"countColor\":\"#067722\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-2user-linear\",\"icon-bg\":\"#E8EEFD\",\"icon-color\":\"#2B55E2\",\"text\":\"تعداد کل مربیان\",\"count\":this.dashboardInfo.count_teacher,\"countColor\":\"#2B55E2\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:share-linear\",\"icon-bg\":\"#E1F6FA\",\"icon-color\":\"#028EB9\",\"text\":\"تعداد کلنی ها\",\"count\":this.dashboardInfo.count_cloony,\"countColor\":\"#028EB9\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:buildings-linear\",\"icon-bg\":\"#F0F9E3\",\"icon-color\":\"#54AD06\",\"text\":\"تعداد کل مکاتب\",\"count\":this.dashboardInfo.count_maktab,\"countColor\":\"#54AD06\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-tick-linear\",\"icon-bg\":\"#FEEEE3\",\"icon-color\":\"#F54306\",\"text\":\"تعداد مربیان حاضر\",\"description\":\"در هفته گذشته\",\"count\":this.dashboardInfo.count_present_week,\"countColor\":\"#F54306\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-tick-linear\",\"icon-bg\":\"#FEEEE3\",\"icon-color\":\"#F54306\",\"text\":\"تعداد مربیان حاضر\",\"description\":\"در ماه گذشته\",\"count\":this.dashboardInfo.count_present_month,\"countColor\":\"#F54306\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-tick-linear\",\"icon-bg\":\"#FEEEE3\",\"icon-color\":\"#F54306\",\"text\":\"تعداد مربیان حاضر\",\"description\":\"در 3 ماه گذشته\",\"count\":this.dashboardInfo.count_present_3month,\"countColor\":\"#F54306\"}}),_c('counterBox',{staticClass:\"h-[155px]\",attrs:{\"icon\":\"vuesax:profile-delete-linear\",\"icon-bg\":\"#FDE9E9\",\"icon-color\":\"#E41F1F\",\"text\":\"تعداد مربیان غیر فعال\",\"count\":this.dashboardInfo.count_teacher_deactive,\"countColor\":\"#E41F1F\"}})],1):_vm._e(),_c('vx-card',{staticClass:\" p-[12px] flex w-full mt-1 flex-1 justify-center mt-5\"},[_c('a-empty',{attrs:{\"image\":require('../dashboard/assets/empty.svg'),\"image-style\":{\n height: '100%',\n },\"description\":null}})],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vx-card',{staticClass:\"flex text-center flex-col items-center p-[12px] <!--max-h-[170px]-->\"},[_c('div',{staticClass:\"text-center\"},[_c('Icon',{staticClass:\"text-[40px] cursor-pointer rounded-lg mb-[12px]\",style:({background: _vm.iconBg, color: _vm.iconColor}),attrs:{\"icon\":_vm.icon}})],1),_c('div',{staticClass:\"font-bold text-black mb-[5px]\"},[_vm._v(_vm._s(_vm.text))]),_c('div',{staticClass:\"mb-[11px]\",domProps:{\"innerHTML\":_vm._s(_vm.description)}}),_c('div',{staticClass:\"flex text-center items-center justify-center\"},[_c('h1',{staticClass:\"mb-0 mr-2\",style:({color: _vm.countColor})},[_vm._v(_vm._s(_vm.count))]),_c('div',{staticClass:\"font-bold text-black\"},[_vm._v(\"نفر\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <vx-card class=\"flex text-center flex-col items-center p-[12px] <!--max-h-[170px]-->\">\r\n<!-- {{icon}}-->\r\n <div class=\"text-center\">\r\n <Icon\r\n :style=\"{background: iconBg, color: iconColor}\"\r\n :icon=\"icon\"\r\n class=\"text-[40px] cursor-pointer rounded-lg mb-[12px]\"\r\n />\r\n </div>\r\n <div class=\"font-bold text-black mb-[5px]\">{{ text }}</div>\r\n <div class=\"mb-[11px]\" v-html=\"description\"></div>\r\n <div class=\"flex text-center items-center justify-center\">\r\n <h1 class=\"mb-0 mr-2\" :style=\"{color: countColor}\">{{ count }}</h1>\r\n <div class=\"font-bold text-black\">نفر</div>\r\n </div>\r\n </vx-card>\r\n</template>\r\n\r\n<script>\r\nimport Icon from '@/assets/icons/UI/Icon'\r\nexport default {\r\n name: \"counterBox\",\r\n components: {Icon},\r\n props:{\r\n iconBg: String,\r\n iconColor: String,\r\n icon: String,\r\n text: String,\r\n count: Number,\r\n countColor: String,\r\n description: { type: String, required: false, default: ' ' },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\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!./counterBox.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!./counterBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./counterBox.vue?vue&type=template&id=28c1f9be&scoped=true&\"\nimport script from \"./counterBox.vue?vue&type=script&lang=js&\"\nexport * from \"./counterBox.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 \"28c1f9be\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <a-spin :spinning=\"loading\">\r\n <div class=\"md:h-[calc(100vh-120px)] flex flex-col\">\r\n <div class=\"grid grid-cols-1 md:grid-cols-4 gap-4\" v-if=\"dashboardInfo.count_teacher_active\">\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-tick-linear\"\r\n icon-bg=\"#E3F4E9\" icon-color=\"#F6560C\"\r\n text=\"تعداد مربیان فعال\" :count=\"this.dashboardInfo.count_teacher_active\"\r\n countColor=\"#067722\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-2user-linear\"\r\n icon-bg=\"#E8EEFD\" icon-color=\"#2B55E2\"\r\n text=\"تعداد کل مربیان\" :count=\"this.dashboardInfo.count_teacher\"\r\n countColor=\"#2B55E2\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:share-linear\"\r\n icon-bg=\"#E1F6FA\" icon-color=\"#028EB9\"\r\n text=\"تعداد کلنی ها\" :count=\"this.dashboardInfo.count_cloony\"\r\n countColor=\"#028EB9\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:buildings-linear\"\r\n icon-bg=\"#F0F9E3\" icon-color=\"#54AD06\"\r\n text=\"تعداد کل مکاتب\" :count=\"this.dashboardInfo.count_maktab\"\r\n countColor=\"#54AD06\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-tick-linear\"\r\n icon-bg=\"#FEEEE3\" icon-color=\"#F54306\"\r\n text=\"تعداد مربیان حاضر\" description=\"در هفته گذشته\"\r\n :count=\"this.dashboardInfo.count_present_week\"\r\n countColor=\"#F54306\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-tick-linear\"\r\n icon-bg=\"#FEEEE3\" icon-color=\"#F54306\"\r\n text=\"تعداد مربیان حاضر\" description=\"در ماه گذشته\"\r\n :count=\"this.dashboardInfo.count_present_month\"\r\n countColor=\"#F54306\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-tick-linear\"\r\n icon-bg=\"#FEEEE3\" icon-color=\"#F54306\"\r\n text=\"تعداد مربیان حاضر\" description=\"در 3 ماه گذشته\"\r\n :count=\"this.dashboardInfo.count_present_3month\"\r\n countColor=\"#F54306\"\r\n />\r\n <counterBox\r\n class=\"h-[155px]\" icon=\"vuesax:profile-delete-linear\"\r\n icon-bg=\"#FDE9E9\" icon-color=\"#E41F1F\"\r\n text=\"تعداد مربیان غیر فعال\"\r\n :count=\"this.dashboardInfo.count_teacher_deactive\"\r\n countColor=\"#E41F1F\"\r\n />\r\n\r\n </div>\r\n <vx-card class=\" p-[12px] flex w-full mt-1 flex-1 justify-center mt-5\">\r\n <a-empty :image=\"require('../dashboard/assets/empty.svg')\"\r\n :image-style=\"{\r\n height: '100%',\r\n }\" :description=\"null\"\r\n />\r\n </vx-card>\r\n </div>\r\n </a-spin>\r\n</template>\r\n\r\n<script>\r\nimport counterBox from '@/views/dashboard/components/counterBox'\r\nimport axios from '@/axios'\r\n// import restFull from \"@/mixins/restFull\"\r\n// import dashboard from \"@/mixins/dashboard\";\r\n\r\n\r\nexport default {\r\n name: 'dashboardPage',\r\n components: {\r\n counterBox\r\n },\r\n data () {\r\n return {\r\n loading: false,\r\n dashboardInfo: []\r\n }\r\n },\r\n methods: {\r\n async getAllInfo () {\r\n try {\r\n this.loading = true\r\n const {data} = await axios.get('/admin/dashboard')\r\n this.dashboardInfo = data\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.loading = false\r\n }\r\n }\r\n },\r\n async created() {\r\n await this.getAllInfo()\r\n\r\n },\r\n}\r\n</script>\r\n\r\n\r\n<style lang=\"less\">\r\n.apexcharts-radial-series path {\r\n stroke-width: 8px;\r\n}\r\n\r\n/*\r\ntext {\r\n font-family: 'shabnam' !important;\r\n}\r\n*/\r\n\r\n.card {\r\n margin-bottom: 0;\r\n}\r\n</style>\r\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!./dashboard.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!./dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dashboard.vue?vue&type=template&id=ab6a89c4&\"\nimport script from \"./dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./dashboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dashboard.vue?vue&type=style&index=0&id=ab6a89c4&prod&lang=less&\"\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","module.exports = __webpack_public_path__ + \"img/empty.72edfa02.svg\";"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure