/
home
/
maktab
/
admin
/
js
/
File Upload :
llllll
Current File: /home/maktab/admin/js/chunk-86bdcbbe.849a8ab9.js.map
{"version":3,"sources":["webpack:///./src/components/RestFullActionSheet.vue","webpack:///src/components/RestFullActionSheet.vue","webpack:///./src/components/RestFullActionSheet.vue?f6fa","webpack:///./src/components/RestFullActionSheet.vue?ba6a","webpack:///./src/views/attendance/components/ReportModal.vue?a4cb","webpack:///./src/components/ConfirmBtn.vue","webpack:///src/components/ConfirmBtn.vue","webpack:///./src/components/ConfirmBtn.vue?9914","webpack:///./src/components/ConfirmBtn.vue?34ac","webpack:///./src/views/attendance/list.vue","webpack:///./src/views/attendance/components/Teacher.vue","webpack:///./src/table/attendanceTeacher.js","webpack:///src/views/attendance/components/Teacher.vue","webpack:///./src/views/attendance/components/Teacher.vue?97a2","webpack:///./src/views/attendance/components/Teacher.vue?b24d","webpack:///./src/views/attendance/components/Student.vue","webpack:///./src/table/attendanceStudent.js","webpack:///src/views/attendance/components/Student.vue","webpack:///./src/views/attendance/components/Student.vue?f23c","webpack:///./src/views/attendance/components/Student.vue?cc11","webpack:///src/views/attendance/list.vue","webpack:///./src/views/attendance/list.vue?abd0","webpack:///./src/views/attendance/list.vue?9c99","webpack:///./src/views/attendance/components/ReportModal.vue","webpack:///src/views/attendance/components/ReportModal.vue","webpack:///./src/views/attendance/components/ReportModal.vue?c1d5","webpack:///./src/views/attendance/components/ReportModal.vue?314c"],"names":["render","_vm","this","_c","_self","staticClass","slot","_v","on","$event","$emit","attrs","hasEdit","class","_e","hasDelete","hasActive","_s","concat","isActive","record","activeKey","_t","staticRenderFns","name","components","Icon","ConfirmBtn","props","Object","rowKey","String","Boolean","methods","active","component","okText","cancelText","title","iconClass","icon","type","required","model","value","infType","callback","$$v","expression","key","ref","cols","scopedSlots","_u","fn","_ref","setPreview","id","reportModalData","reportModalTitle","reportModalLoading","reportModal","tbl","XTbl","add","Xtc","filterText","filterNumber","renderSlot","data","undefined","watch","ReportModal","RestFullActionSheet","XTable","_setPreview","_asyncToGenerator","regeneratorRuntime","mark","_callee","_yield$axios$get","wrap","_context","prev","next","console","log","axios","get","sent","t0","error","$message","stop","_x","_x2","apply","arguments","created","TableCol","teacher","reportModalTeacher","_x3","Student","Teacher","loading","length","item","index","present","default"],"mappings":"gHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,+BAA+B,CAACF,EAAG,WAAW,CAACA,EAAG,WAAW,CAACG,KAAK,SAAS,CAACL,EAAIM,GAAG,gCAAgCJ,EAAG,OAAO,CAACK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,MAAM,WAAW,CAACP,EAAG,OAAO,CAACE,YAAY,8BAA8BM,MAAM,CAAC,KAAO,mCAAmC,IAAI,GAAIV,EAAIW,QAAST,EAAG,WAAW,CAACQ,MAAM,CAAC,UAAY,WAAW,CAACR,EAAG,WAAW,CAACG,KAAK,SAAS,CAACL,EAAIM,GAAG,0BAA0BJ,EAAG,MAAM,CAACK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,MAAM,WAAW,CAACP,EAAG,OAAO,CAACU,MAAK,4CAA6CF,MAAM,CAAC,KAAO,yBAAyB,IAAI,GAAGV,EAAIa,KAAMb,EAAIc,UAAWZ,EAAG,WAAW,CAACQ,MAAM,CAAC,UAAY,WAAW,CAACR,EAAG,WAAW,CAACG,KAAK,SAAS,CAACL,EAAIM,GAAG,uBAAuBJ,EAAG,aAAa,CAACQ,MAAM,CAAC,MAAQ,gBAAgB,KAAO,sBAAsB,UAAW,2CAA4CH,GAAG,CAAC,QAAU,SAASC,GAAQ,OAAOR,EAAIS,MAAM,eAAe,GAAGT,EAAIa,KAAMb,EAAIe,UAAWb,EAAG,WAAW,CAACQ,MAAM,CAAC,UAAY,WAAW,CAACR,EAAG,WAAW,CAACG,KAAK,SAAS,CAACL,EAAIM,GAAG,WAAWN,EA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B,GAAG0F,EAAKnF,SAASrB,EAAG,QAAQ,CAACQ,MAAM,CAAC,MAAQgG,EAAKE,QAAS,QAAQ,QAAQ,CAAC5G,EAAIM,GAAG,iBAAiBN,EAAIgB,GAAG0F,EAAKE,QAAU,OAAS,QAAQ,mBAAmB,UAAU,IAAI,IAAI,IAE/hCtF,EAAkB,GCmCP,GACfC,KAAA,cACA6C,KAAA,WACA,UAEAzC,MAAA,CACAgB,MAAA,CAAAkE,SAAA,GACAzC,KAAA,CAAA3B,UAAA,GACAJ,MAAA,GACAmE,QAAA,GACAL,QAAA,KC/CkX,I,wBCQ9WjE,EAAY,eACd,EACAnC,EACAuB,GACA,EACA,KACA,WACA,MAIa,OAAAY,E","file":"js/chunk-86bdcbbe.849a8ab9.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex gap-1 w-full max-w-fit\"},[_c('ATooltip',[_c('template',{slot:\"title\"},[_vm._v(\"\\n نمایش جزئیات\\n \")]),_c('span',{on:{\"click\":function($event){return _vm.$emit('view')}}},[_c('Icon',{staticClass:\"!text-[25px] cursor-pointer\",attrs:{\"icon\":\"vuesax:clipboard-text-linear\"}})],1)],2),(_vm.hasEdit)?_c('ATooltip',{attrs:{\"placement\":\"bottom\"}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n ویرایش\\n \")]),_c('div',{on:{\"click\":function($event){return _vm.$emit('edit')}}},[_c('Icon',{class:`!text-[25px] cursor-pointer text-success`,attrs:{\"icon\":'vuesax:edit-linear'}})],1)],2):_vm._e(),(_vm.hasDelete)?_c('ATooltip',{attrs:{\"placement\":\"bottom\"}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n حذف\\n \")]),_c('ConfirmBtn',{attrs:{\"title\":\"آیتم حذف شود؟\",\"icon\":\"vuesax:trash-linear\",\"iconClass\":`!text-[25px] cursor-pointer text-danger`},on:{\"confirm\":function($event){return _vm.$emit('delete')}}})],2):_vm._e(),(_vm.hasActive)?_c('ATooltip',{attrs:{\"placement\":\"bottom\"}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n \"+_vm._s(`${_vm.isActive(!_vm.record[_vm.activeKey])} کردن`)+\"\\n \")]),_c('ConfirmBtn',{attrs:{\"title\":`آیتم ${_vm.isActive(!_vm.record[_vm.activeKey])} شود؟`,\"icon\":_vm.record[_vm.activeKey] ? 'vuesax:tick-square-linear' : 'vuesax:close-square-linear',\"iconClass\":`!text-[25px] cursor-pointer ${_vm.record[_vm.activeKey] ? 'text-primary' : 'text-danger'}`},on:{\"confirm\":function($event){return _vm.$emit('active')}}})],2):_vm._e(),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"flex gap-1 w-full max-w-fit\" slot-scope=\"{record}\">\r\n <ATooltip>\r\n <template slot=\"title\">\r\n نمایش جزئیات\r\n </template>\r\n <span @click=\"$emit('view')\">\r\n <Icon icon=\"vuesax:clipboard-text-linear\" class=\"!text-[25px] cursor-pointer\"/>\r\n </span>\r\n </ATooltip>\r\n <ATooltip v-if=\"hasEdit\" placement=\"bottom\">\r\n <template slot=\"title\">\r\n ویرایش\r\n </template>\r\n <!-- <ConfirmBtn\r\n title=\"آیتم ویرایش شود؟\"\r\n icon=\"vuesax:edit-linear\"\r\n :iconClass=\"`!text-[25px] cursor-pointer text-success`\"\r\n @confirm=\"$emit('edit')\"\r\n />-->\r\n <div @click=\"$emit('edit')\">\r\n <Icon :icon=\"'vuesax:edit-linear'\"\r\n :class=\"`!text-[25px] cursor-pointer text-success`\"/>\r\n </div>\r\n </ATooltip>\r\n <ATooltip v-if=\"hasDelete\" placement=\"bottom\">\r\n <template slot=\"title\">\r\n حذف\r\n </template>\r\n <ConfirmBtn\r\n title=\"آیتم حذف شود؟\"\r\n icon=\"vuesax:trash-linear\"\r\n :iconClass=\"`!text-[25px] cursor-pointer text-danger`\"\r\n @confirm=\"$emit('delete')\"\r\n />\r\n </ATooltip>\r\n <ATooltip v-if=\"hasActive\" placement=\"bottom\">\r\n <template slot=\"title\">\r\n {{ `${isActive(!record[activeKey])} کردن` }}\r\n </template>\r\n <ConfirmBtn\r\n :title=\"`آیتم ${isActive(!record[activeKey])} شود؟`\"\r\n @confirm=\"$emit('active')\"\r\n :icon=\"record[activeKey] ? 'vuesax:tick-square-linear' : 'vuesax:close-square-linear'\"\r\n :iconClass=\"`!text-[25px] cursor-pointer ${record[activeKey] ? 'text-primary' : 'text-danger'}`\"\r\n >\r\n </ConfirmBtn>\r\n </ATooltip>\r\n <slot/>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport ConfirmBtn from '@/components/ConfirmBtn'\r\nimport Icon from '@/assets/icons/UI/Icon'\r\n\r\nexport default {\r\n name: 'RestFullActionSheet',\r\n components: {\r\n Icon,\r\n ConfirmBtn\r\n },\r\n props: {\r\n record: Object,\r\n rowKey: String,\r\n hasActive: Boolean,\r\n hasEdit: Boolean,\r\n hasDelete: Boolean,\r\n activeKey: String\r\n },\r\n methods: {\r\n isActive (active) {\r\n return active ? 'فعال' : 'غیر فعال'\r\n }\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!./RestFullActionSheet.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!./RestFullActionSheet.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RestFullActionSheet.vue?vue&type=template&id=3f179bc8&scoped=true\"\nimport script from \"./RestFullActionSheet.vue?vue&type=script&lang=js\"\nexport * from \"./RestFullActionSheet.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 \"3f179bc8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportModal.vue?vue&type=style&index=0&id=b6e9b184&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('APopconfirm',{attrs:{\"ok-text\":_vm.okText || 'بله',\"cancel-text\":_vm.cancelText || 'خیر'},on:{\"confirm\":function($event){return _vm.$emit('confirm')}}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_c('Icon',{class:_vm.iconClass,attrs:{\"icon\":_vm.icon}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <APopconfirm\r\n :ok-text=\"okText || 'بله'\"\r\n :cancel-text=\"cancelText || 'خیر'\"\r\n @confirm=\"$emit('confirm')\"\r\n >\r\n <template slot=\"title\">\r\n {{title}}\r\n </template>\r\n <Icon :icon=\"icon\" :class=\"iconClass\"/>\r\n </APopconfirm>\r\n</template>\r\n\r\n<script>\r\nimport Icon from '@/assets/icons/UI/Icon'\r\nexport default {\r\n name: \"TooltipBtn\",\r\n components: {Icon},\r\n props: {\r\n icon: {\r\n type: String,\r\n required: true,\r\n },\r\n title: {\r\n type: String,\r\n required: false,\r\n },\r\n iconClass: {\r\n type: String,\r\n required: false,\r\n },\r\n okText: {\r\n type: String,\r\n required: false,\r\n },\r\n cancelText: {\r\n type: String,\r\n required: false,\r\n },\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!./ConfirmBtn.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!./ConfirmBtn.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ConfirmBtn.vue?vue&type=template&id=2ae9e054&scoped=true\"\nimport script from \"./ConfirmBtn.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmBtn.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 \"2ae9e054\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('vx-card',{attrs:{\"title\":\"لیست حضور و غیاب\"}},[_c('a-tabs',{attrs:{\"animated\":\"\"},model:{value:(_vm.infType),callback:function ($$v) {_vm.infType=$$v},expression:\"infType\"}},[_c('a-tab-pane',{key:1,attrs:{\"tab\":\"دانش آموز\"}},[_c('Student')],1),_c('a-tab-pane',{key:0,attrs:{\"tab\":\"مربی\"}},[_c('Teacher')],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('XTable',{ref:\"tbl\",attrs:{\"model\":_vm.cols},scopedSlots:_vm._u([{key:\"operator\",fn:function({record}){return [_c('a-tooltip',{on:{\"click\":function($event){return _vm.setPreview(record.id,record.title)}}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n مشاهده گزارش\\n \")]),_c('Icon',{staticClass:\"cursor-pointer text-primary\",attrs:{\"icon\":\"vuesax:clipboard-text-linear\"}})],2)]}}])}),_c('ReportModal',{attrs:{\"data\":_vm.reportModalData,\"title\":_vm.reportModalTitle,\"loading\":_vm.reportModalLoading},model:{value:(_vm.reportModal),callback:function ($$v) {_vm.reportModal=$$v},expression:\"reportModal\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\nimport ColCreator from \"./index\";\r\n\r\nclass Table {\r\n cols = [\r\n new ColCreator('id', 'کد').export(),\r\n new ColCreator('ProductImage', 'تصویر محصول').renderSlot('image').export(),\r\n new ColCreator('title', 'نام محصول').export(),\r\n new ColCreator('product_code', 'کد محصول ').export(),\r\n new ColCreator('action', 'عملیات').renderSlot('op').export(),\r\n ];\r\n}\r\n\r\nexport default new Table().cols;\r\n*/\r\n\r\n\r\nimport XTbl, {Xtc} from '@/components/x-table/index';\r\n\r\nconst tbl = new XTbl('admin/report/attendance/teacher/table', 'لیست حضورغیاب مربیان')\r\ntbl.add(new Xtc('id', 'شناسه').filterText())\r\ntbl.add(new Xtc('title', 'عنوان').filterText())\r\ntbl.add(new Xtc('maktab.title', 'مکتب').filterText())\r\ntbl.add(new Xtc('daj', 'تاریخ').filterNumber())\r\ntbl.add(new Xtc('operator', 'عملیات').renderSlot('operator'))\r\n\r\nexport default tbl;\r\n\r\n","<template>\r\n\r\n <div>\r\n <XTable :model=\"cols\" ref=\"tbl\">\r\n <!-- <RestFullActionSheet slot=\"operator\" slot-scope=\"{record}\"\r\n :record=\"record\" activeKey=\"active\"\r\n :has-delete=\"true\"\r\n :has-active=\"false\"\r\n :has-edit=\"true\"\r\n @edit=\"toEdit(record.id)\"\r\n @view=\"setInitialValue(record)\"\r\n @delete=\"deleteItem(record.id)\"\r\n />-->\r\n <!-- <template #active=\"{text}\">\r\n {{ isActive(text) }}\r\n </template>\r\n <template #created_at=\"{text}\">\r\n {{ text | jdateNoTime }}\r\n </template>-->\r\n <template #operator=\"{record}\">\r\n <a-tooltip @click=\"setPreview(record.id,record.title)\">\r\n <template slot=\"title\">\r\n مشاهده گزارش\r\n </template>\r\n <Icon icon=\"vuesax:clipboard-text-linear\" class=\"cursor-pointer text-primary\"/>\r\n </a-tooltip>\r\n </template>\r\n </XTable>\r\n <ReportModal v-model=\"reportModal\" :data=\"reportModalData\" :title=\"reportModalTitle\" :loading=\"reportModalLoading\"/>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport * as TableCol from '@/table/attendanceTeacher'\r\nimport XTable from '@/components/x-table/XTable'\r\nimport RestFullActionSheet from '@/components/RestFullActionSheet'\r\nimport ReportModal from '@/views/attendance/components/ReportModal'\r\nimport Icon from '@/assets/icons/UI/Icon'\r\nimport axios from '@/axios'\r\n\r\nexport default {\r\n name: 'Teacher',\r\n data(){\r\n return{\r\n cols: null,\r\n reportModal: false,\r\n reportModalData: undefined,\r\n reportModalTitle: '',\r\n reportModalLoading: false,\r\n }\r\n },\r\n watch:{\r\n reportModal(){\r\n this.reportModalData = undefined\r\n this.reportModalTitle = ''\r\n }\r\n },\r\n components: {\r\n ReportModal,\r\n RestFullActionSheet,\r\n XTable,\r\n Icon\r\n },\r\n methods:{\r\n async setPreview (id, title) {\r\n /* const url = `/attendance/report/list?url=admin/report/attendance/student/${id}&title=وضعیت حضور دانش آموزان در ${title}`\r\n // console.log(\"id,title ====>\", url)\r\n window.open(url,'_blank').focus()*/\r\n\r\n try {\r\n this.reportModalData = undefined\r\n this.reportModalTitle = ''\r\n this.reportModal = true\r\n this.reportModalLoading = true\r\n console.log('salam')\r\n const {data} = await axios.get(`admin/report/attendance/teacher/${id}`)\r\n this.reportModalData = data\r\n this.reportModalTitle = `وضعیت حضور مربیان در ${title}`\r\n this.reportModalLoading = false\r\n }catch (e) {\r\n console.error(e)\r\n this.$message.error('خطا در دریافت اطلاعات')\r\n }\r\n\r\n this.reportModal = true\r\n }\r\n },\r\n created () {\r\n this.cols = TableCol.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!./Teacher.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!./Teacher.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Teacher.vue?vue&type=template&id=7a3a391a&scoped=true\"\nimport script from \"./Teacher.vue?vue&type=script&lang=js\"\nexport * from \"./Teacher.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 \"7a3a391a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('XTable',{ref:\"tbl\",attrs:{\"model\":_vm.cols},scopedSlots:_vm._u([{key:\"operator\",fn:function({record}){return [_c('a-tooltip',{on:{\"click\":function($event){return _vm.setPreview(record.id,record.title, record.teacher.name)}}},[_c('template',{slot:\"title\"},[_vm._v(\"\\n مشاهده گزارش\\n \")]),_c('Icon',{staticClass:\"cursor-pointer text-primary\",attrs:{\"icon\":\"vuesax:clipboard-text-linear\"}})],2)]}}])}),_c('ReportModal',{attrs:{\"data\":_vm.reportModalData,\"teacher\":_vm.reportModalTeacher,\"title\":_vm.reportModalTitle,\"loading\":_vm.reportModalLoading},model:{value:(_vm.reportModal),callback:function ($$v) {_vm.reportModal=$$v},expression:\"reportModal\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\r\nimport ColCreator from \"./index\";\r\n\r\nclass Table {\r\n cols = [\r\n new ColCreator('id', 'کد').export(),\r\n new ColCreator('ProductImage', 'تصویر محصول').renderSlot('image').export(),\r\n new ColCreator('title', 'نام محصول').export(),\r\n new ColCreator('product_code', 'کد محصول ').export(),\r\n new ColCreator('action', 'عملیات').renderSlot('op').export(),\r\n ];\r\n}\r\n\r\nexport default new Table().cols;\r\n*/\r\n\r\n\r\nimport XTbl, {Xtc} from '@/components/x-table/index';\r\n\r\nconst tbl = new XTbl('admin/report/attendance/student/table', 'لیست حضورغیاب دانش آموزان')\r\ntbl.add(new Xtc('id', 'شناسه').filterText())\r\ntbl.add(new Xtc('title', 'عنوان').filterText())\r\ntbl.add(new Xtc('maktab.title', 'نام مکتب').filterText())\r\ntbl.add(new Xtc('teacher.name', 'نام مربی').filterText())\r\ntbl.add(new Xtc('daj', 'تاریخ').filterNumber())\r\ntbl.add(new Xtc('operator', 'عملیات').renderSlot('operator'))\r\n\r\nexport default tbl;\r\n\r\n","<template>\r\n <div>\r\n <XTable :model=\"cols\" ref=\"tbl\">\r\n <!-- <RestFullActionSheet slot=\"operator\" slot-scope=\"{record}\"\r\n :record=\"record\" activeKey=\"active\"\r\n :has-delete=\"true\"\r\n :has-active=\"false\"\r\n :has-edit=\"true\"\r\n @edit=\"toEdit(record.id)\"\r\n @view=\"setInitialValue(record)\"\r\n @delete=\"deleteItem(record.id)\"\r\n />-->\r\n <!-- <template #active=\"{text}\">\r\n {{ isActive(text) }}\r\n </template>\r\n <template #created_at=\"{text}\">\r\n {{ text | jdateNoTime }}\r\n </template>-->\r\n <template #operator=\"{record}\">\r\n <a-tooltip @click=\"setPreview(record.id,record.title, record.teacher.name)\">\r\n <template slot=\"title\">\r\n مشاهده گزارش\r\n </template>\r\n <Icon icon=\"vuesax:clipboard-text-linear\" class=\"cursor-pointer text-primary\"/>\r\n </a-tooltip>\r\n </template>\r\n </XTable>\r\n <ReportModal v-model=\"reportModal\" :data=\"reportModalData\" :teacher=\"reportModalTeacher\" :title=\"reportModalTitle\" :loading=\"reportModalLoading\"/>\r\n<!-- <ReportModal :value=\"reportModal\" @input=\"(x) => reportModal = x\"/>-->\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport * as TableCol from '@/table/attendanceStudent'\r\nimport XTable from '@/components/x-table/XTable'\r\nimport RestFullActionSheet from '@/components/RestFullActionSheet'\r\nimport Icon from '@/assets/icons/UI/Icon'\r\nimport ReportModal from '@/views/attendance/components/ReportModal'\r\nimport axios from '@/axios'\r\n\r\nexport default {\r\n name: 'Teacher',\r\n data(){\r\n return{\r\n cols: null,\r\n reportModal: false,\r\n reportModalData: undefined,\r\n reportModalTitle: '',\r\n reportModalTeacher: '',\r\n reportModalLoading: false,\r\n }\r\n },\r\n watch:{\r\n reportModal(){\r\n this.reportModalData = undefined\r\n this.reportModalTitle = ''\r\n }\r\n },\r\n components: {\r\n ReportModal,\r\n RestFullActionSheet,\r\n XTable,\r\n Icon\r\n },\r\n methods:{\r\n async setPreview (id, title, teacher) {\r\n/* const url = `/attendance/report/list?url=admin/report/attendance/student/${id}&title=وضعیت حضور دانش آموزان در ${title}`\r\n // console.log(\"id,title ====>\", url)\r\n window.open(url,'_blank').focus()*/\r\n\r\n try {\r\n this.reportModalData = undefined\r\n this.reportModalTitle = ''\r\n this.reportModal = true\r\n this.reportModalLoading = true\r\n const {data} = await axios.get(`admin/report/attendance/student/${id}`)\r\n this.reportModalData = data\r\n this.reportModalTitle = `وضعیت حضور دانش آموزان در ${title}`\r\n this.reportModalTeacher = teacher\r\n this.reportModalLoading = false\r\n }catch (e) {\r\n this.$message.error('خطا در دریافت اطلاعات')\r\n }\r\n\r\n this.reportModal = true\r\n }\r\n },\r\n created () {\r\n this.cols = TableCol.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!./Student.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!./Student.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Student.vue?vue&type=template&id=ca30e620&scoped=true\"\nimport script from \"./Student.vue?vue&type=script&lang=js\"\nexport * from \"./Student.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 \"ca30e620\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <vx-card title=\"لیست حضور و غیاب\">\r\n <a-tabs animated v-model=\"infType\">\r\n <a-tab-pane :key=\"1\" tab=\"دانش آموز\">\r\n <Student/>\r\n </a-tab-pane>\r\n <a-tab-pane :key=\"0\" tab=\"مربی\">\r\n <Teacher/>\r\n </a-tab-pane>\r\n </a-tabs>\r\n </vx-card>\r\n</template>\r\n\r\n<script>\r\nimport Teacher from '@/views/attendance/components/Teacher'\r\nimport Student from '@/views/attendance/components/Student'\r\nexport default {\r\n name: 'list',\r\n components: {\r\n Student,\r\n Teacher},\r\n data(){\r\n return{\r\n infType: 0,\r\n }\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!./list.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!./list.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=4d0de6eb&scoped=true\"\nimport script from \"./list.vue?vue&type=script&lang=js\"\nexport * from \"./list.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 \"4d0de6eb\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('a-modal',{attrs:{\"visible\":_vm.value,\"centered\":\"\",\"footer\":null},on:{\"cancel\":function($event){return _vm.$emit('input',false)}}},[_c('a-spin',{attrs:{\"spinning\":_vm.loading}},[_c('h3',{staticClass:\"pr-5 md:text-xl\"},[_vm._v(_vm._s(_vm.title))]),(_vm.teacher)?_c('div',{staticClass:\"pr-5 flex items-center\"},[_c('div',{staticClass:\"text-xl font-bold\"},[_vm._v(\"نام مربی:\")]),_c('div',{staticClass:\"ml-2\"},[_vm._v(\"\\n \"+_vm._s(_vm.teacher)+\"\\n \")])]):_vm._e(),_c('a-divider'),_c('div',{staticClass:\"w-[90vw] md:w-[60vw]\",class:_vm.data? _vm.data.length !== 0 ? 'attendance_items': '' : ''},[_c('a-list',{attrs:{\"item-layout\":\"horizontal\",\"data-source\":_vm.data},scopedSlots:_vm._u([{key:\"renderItem\",fn:function(item, index){return _c('a-list-item',{},[_c('div',{staticClass:\"px-10 py-2\"},[_vm._v(_vm._s(item.name))]),_c('a-tag',{attrs:{\"color\":item.present? 'green':'red'}},[_vm._v(\"\\n \"+_vm._s(item.present ? 'حاضر' : 'غایب')+\"\\n \")])],1)}}])})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <a-modal :visible=\"value\" centered @cancel=\"$emit('input',false)\" :footer=\"null\">\r\n <a-spin :spinning=\"loading\">\r\n <h3 class=\"pr-5 md:text-xl\">{{ title }}</h3>\r\n <div class=\"pr-5 flex items-center\" v-if=\"teacher\">\r\n <div class=\"text-xl font-bold\">نام مربی:</div>\r\n <div class=\"ml-2\">\r\n {{ teacher }}\r\n </div>\r\n </div>\r\n\r\n <a-divider/>\r\n <div class=\"w-[90vw] md:w-[60vw]\" :class=\"data? data.length !== 0 ? 'attendance_items': '' : ''\">\r\n <a-list item-layout=\"horizontal\" :data-source=\"data\">\r\n <a-list-item slot=\"renderItem\" slot-scope=\"item, index\">\r\n <!-- <a-list-item-meta\r\n description=\"Ant Design, a design language for background applications, is refined by Ant UED Team\"\r\n >\r\n <a slot=\"title\" href=\"https://www.antdv.com/\">{{ item.title }}</a>\r\n <a-avatar\r\n slot=\"avatar\"\r\n src=\"https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png\"\r\n />\r\n </a-list-item-meta>-->\r\n <div class=\"px-10 py-2\">{{ item.name }}</div>\r\n <a-tag :color=\"item.present? 'green':'red' \">\r\n {{ item.present ? 'حاضر' : 'غایب' }}\r\n </a-tag>\r\n </a-list-item>\r\n </a-list>\r\n </div>\r\n\r\n </a-spin>\r\n </a-modal>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'ReportModal',\r\n data () {\r\n return {}\r\n },\r\n props: {\r\n value: {default: false},\r\n data: {required: true},\r\n title: {},\r\n loading: {},\r\n teacher: {}\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.attendance_items {\r\n max-height: 75vh;\r\n overflow-y: auto;\r\n}\r\n[dir] .ant-divider-horizontal{\r\n margin: 10px 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!./ReportModal.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!./ReportModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReportModal.vue?vue&type=template&id=b6e9b184&scoped=true\"\nimport script from \"./ReportModal.vue?vue&type=script&lang=js\"\nexport * from \"./ReportModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReportModal.vue?vue&type=style&index=0&id=b6e9b184&prod&scoped=true&lang=css\"\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 \"b6e9b184\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure