{"version":3,"sources":["webpack:///./src/views/home/apps/dz/pages/detail/index.vue","webpack:///src/views/home/apps/dz/pages/detail/index.vue","webpack:///./src/views/home/apps/dz/pages/detail/index.vue?326c","webpack:///./src/views/home/apps/dz/pages/detail/index.vue?ed3c","webpack:///./src/views/home/apps/dz/pages/detail/index.js"],"names":["render","_vm","this","_c","_self","staticClass","on","$event","closeLevel2","ref","staticStyle","taskRdy","_v","_s","task","_f","d1","d2","getStts","attrs","domProps","taskDesc","getSttsBool","name","params","id","tsk","_e","staticRenderFns","moment","require","components","vueCustomScrollbar","researcherNav","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","stfHeader","data","nowDate","mounted","init","methods","_objectSpread","isBefore","logout","$refs","lmsv4header","searchHandler","mapActions","toggleBodyClass","addRemoveClass","className","el","document","body","classList","add","remove","$store","state","app","responsiveLayout","level2","show","resetResponsiveLayoutConfig","toggleNavbar","shown","navbarMode","getConfigValueByKey","key","groupSettings","_this","request","api","method","url","$route","store","then","res","index"],"mappings":"0IAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,kBAAkBA,EAAG,MAAM,CAACE,YAAY,cAAcC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,iBAAiB,CAACL,EAAG,aAAa,CAACM,IAAI,cAAcJ,YAAY,WAAWF,EAAG,MAAM,CAACE,YAAY,mBAAmBK,YAAY,CAAC,OAAS,qBAAqB,SAAW,SAAS,CAAET,EAAIU,QAASR,EAAG,MAAM,CAACE,YAAY,mCAAmC,CAACF,EAAG,KAAK,CAACE,YAAY,wBAAwB,CAACJ,EAAIW,GAAG,0CAA0CT,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,KAAK,CAACE,YAAY,UAAU,CAACJ,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,KAAKA,WAAWX,EAAG,QA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ACAR,EAAAjE,SAAA,EAEAiE,EAAA9D,KAAAsE,EAAA1C,KAAA5B,aC5KyZ,I,YCOrZoB,EAAY,eACd,EACAlC,EACA4B,GACA,EACA,KACA,KACA,MAIa,aAAAM,E,2CClBf,uBACemD","file":"js/chunk-df969b64.a17cce56.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"container lms-wrapper-two\"},[_c('researcher-nav'),_c('div',{staticClass:\"lms-content\",on:{\"click\":function($event){return _vm.closeLevel2()}}},[_c('stf-header',{ref:\"lmsv4header\",staticClass:\"filled\"}),_c('div',{staticClass:\"lms-content-body\",staticStyle:{\"height\":\"calc(100vh - 80px)\",\"overflow\":\"auto\"}},[(_vm.taskRdy)?_c('div',{staticClass:\"mg-20 bg-white rounded-20 pd-20\"},[_c('h4',{staticClass:\"mg-b-10 pd-b-10 bd-b\"},[_vm._v(\"Сонгон шалгаруулалтын зарын мÑдÑÑлÑл\")]),_c('div',{staticClass:\"text-center mg-y-20\"},[_c('h3',{staticClass:\"mg-b-0\"},[_vm._v(_vm._s(_vm.task.task))])]),_c('table',{staticClass:\"wd-100p\"},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"pd-b-20\"},[_vm._v(\"ÐÐÐ :\")]),_c('td',{staticClass:\"pd-b-20\"},[_vm._v(_vm._s(_vm.task.task))])]),_c('tr',[_c('th',{staticClass:\"pd-b-20\"},[_vm._v(\"Материал авч ÑхлÑÑ…:\")]),_c('td',{staticClass:\"pd-b-20 pd-l-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(_vm.task.d1,'YYYY.MM.DD- ны HH цаг mm минут')))])]),_c('tr',[_c('th',{staticClass:\"pd-b-20\"},[_vm._v(\"Материал авч дууÑах:\")]),_c('td',{staticClass:\"pd-b-20 pd-l-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(_vm.task.d2,'YYYY.MM.DD- ны HH цаг mm минут')))])]),_c('tr',[_c('th',{staticClass:\"pd-b-20\"},[_vm._v(\"Төлөв:\")]),_c('td',{staticClass:\"pd-b-20\"},[_c('span',{staticClass:\"bg-primary rounded pd-x-10 pd-y-5 text-white\"},[_vm._v(_vm._s(_vm.getStts()))])])]),_c('tr',[_c('td',{staticClass:\"pd-b-20\",attrs:{\"colspan\":\"2\"}},[_c('div',{staticClass:\"pd-l-20\",domProps:{\"innerHTML\":_vm._s(_vm.task.taskDesc)}})])])])]),(_vm.getSttsBool())?_c('div',{staticClass:\"d-flex wd-100p\"},[_c('router-link',{staticClass:\"btn text-white btn-primary mg-l-auto wd-200\",attrs:{\"to\":{name: 'dzAdApply' ,params:{ id: _vm.task.id, tsk: 0 } },\"role\":\"button\"}},[_vm._v(\"Ð¥Ò¯ÑÑлт илгÑÑÑ…\")])],1):_vm._e()]):_vm._e()])],1),_c('div')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"container lms-wrapper-two\">\n\n <researcher-nav />\n\n <div class=\"lms-content\" @click=\"closeLevel2()\">\n <stf-header class=\"filled\" ref=\"lmsv4header\" />\n\n <div class=\"lms-content-body\" style=\"height: calc(100vh - 80px); overflow: auto\">\n <div class=\"mg-20 bg-white rounded-20 pd-20\" v-if=\"taskRdy\">\n <h4 class=\"mg-b-10 pd-b-10 bd-b\">Сонгон шалгаруулалтын зарын мÑдÑÑлÑл</h4>\n <div class=\"text-center mg-y-20\">\n <h3 class=\"mg-b-0\">{{ task.task }}</h3>\n </div>\n <table class=\"wd-100p\">\n <tbody>\n <tr>\n <th class=\"pd-b-20\">ÐÐÐ :</th>\n <td class=\"pd-b-20\">{{ task.task }}</td>\n </tr>\n <tr>\n <th class=\"pd-b-20\">Материал авч ÑхлÑÑ…:</th>\n <td class=\"pd-b-20 pd-l-10\"> {{ task.d1 | moment('YYYY.MM.DD- ны HH цаг mm минут') }}</td>\n </tr>\n <tr>\n <th class=\"pd-b-20\">Материал авч дууÑах:</th>\n <td class=\"pd-b-20 pd-l-10\"> {{ task.d2 | moment('YYYY.MM.DD- ны HH цаг mm минут') }}</td>\n </tr>\n <!-- <tr>\n <th class=\"pd-b-20\">ЗарлаÑан Ñ‚Ó©Ñлийн төрөл:</th>\n <td class=\"pd-b-20\">{{ task.locTypeName }}</td>\n </tr> -->\n <tr>\n <th class=\"pd-b-20\">Төлөв:</th>\n <td class=\"pd-b-20\">\n <span class=\"bg-primary rounded pd-x-10 pd-y-5 text-white\">{{ getStts() }}</span>\n </td>\n </tr>\n <tr>\n <!-- <th class=\"pd-b-20\" style=\"min-width: 200px\">ТөÑлийн дÑлгÑÑ€Ñнгүй мÑдÑÑ:</th> -->\n <td class=\"pd-b-20\" colspan=\"2\">\n <div class=\"pd-l-20\" v-html=\"task.taskDesc\"></div>\n </td>\n </tr>\n </tbody>\n </table>\n <div class=\"d-flex wd-100p\" v-if=\"getSttsBool()\">\n <router-link :to=\"{name: 'dzAdApply' ,params:{ id: task.id, tsk: 0 } }\" role=\"button\" class=\"btn text-white btn-primary mg-l-auto wd-200\">Ð¥Ò¯ÑÑлт илгÑÑÑ…</router-link>\n </div>\n </div>\n </div>\n\n\n </div>\n\n <div>\n\n\n\n </div>\n </div>\n</template>\n\n<script>\nimport { mapActions } from \"vuex\";\n\nimport vueCustomScrollbar from \"vue-custom-scrollbar\";\nimport AsyncLoadError from \"@/components/base/asyncLoadingError\";\nimport AsyncLoading from \"@/components/base/asyncLoading\";\n\nimport { request } from \"@/api/all\";\nimport { getConfigValueByKey } from \"@/libs/util\";\n\nimport { localSave, localRead } from \"@/libs/util\";\n\nconst moment = require(\"moment\");\n\nimport \"element-ui/lib/theme-chalk/index.css\";\nimport { Notification } from \"element-ui\";\n\nexport default {\n components: {\n vueCustomScrollbar,\n\n researcherNav: () => ({\n component: import(\"@/views/home/apps/dz/components/nav.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n stfHeader: () => ({\n component: import(\"@/views/home/apps/stf/researcher/components/header.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n },\n data() {\n return {\n task: {},\n taskRdy: false,\n nowDate: null,\n };\n },\n mounted() {\n this.init();\n },\n methods: {\n getStts(){\n\n if (moment(this.task.d2).isBefore(moment()) ) {\n return \"хаагдÑан\";\n } else {\n return \"нÑÑлттÑй\";\n }\n },\n getSttsBool(){\n if (moment(this.task.d2).isBefore(moment()) ) {\n return false;\n } else {\n return true;\n }\n },\n logout() {\n this.$refs.lmsv4header.logout();\n },\n searchHandler() {\n //console.log('srch handled');\n },\n ...mapActions([\"handleAside\", \"resetResponsiveLayoutConfig\", \"handleMainLayoutConfig\"]),\n toggleBodyClass(addRemoveClass, className) {\n const el = document.body;\n\n if (addRemoveClass === \"addClass\") {\n el.classList.add(className);\n } else {\n el.classList.remove(className);\n }\n },\n closeLevel2() {\n if (this.$store.state.app.responsiveLayout.level2.show)\n this.resetResponsiveLayoutConfig(document);\n },\n toggleNavbar(shown) {\n if (this.navbarMode == 0) {\n this.navbarMode = 1;\n this.toggleBodyClass(\"addClass\", \"lms-sidebar-show\");\n } else if (this.navbarMode == 1) {\n if (shown) {\n this.toggleBodyClass(\"addClass\", \"navbar-nav-show\");\n } else {\n this.navbarMode = 0;\n this.toggleBodyClass(\"removeClass\", \"lms-sidebar-show\");\n }\n }\n //console.log(shown, this.navbarMode);\n },\n getConfigValueByKey(key) {\n return getConfigValueByKey(this.$store.state.app.groupSettings, key);\n },\n init() {\n request({\n // api: { method: \"POST\", url: \"v2/learn/studentHomeData\" },\n api: { method: \"GET\", url: \"task/TaskInheritedDetail\" },\n params: { id: this.$route.params.id },\n store: this.$store,\n }).then((res) => {\n if (res != false) {\n this.taskRdy= true;\n //console.log('res', res);\n this.task = res.data.task;\n }\n });\n\n // let _learnExamRegistration = this.getConfigValueByKey(\n // \"learnExamRegistration\"\n // );\n // if (this.$store.state.app.activeGroup.id == 6126) {\n // if (this.$store.state.user.userInfo.locType4Code != \"member\") {\n // this.learnExamRegistration = parseInt(_learnExamRegistration, 10);\n // }\n // } else {\n // this.learnExamRegistration = parseInt(_learnExamRegistration, 10);\n // }\n },\n },\n};\n</script>\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!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=70066cf8\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.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","import index from \"./index.vue\";\nexport default index;\n"],"sourceRoot":""}