You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
9.9 KiB

{"version":3,"sources":["webpack:///./src/views/theoreticalStudy/chapterChoice/index.vue?93b0","webpack:///src/views/theoreticalStudy/chapterChoice/index.vue","webpack:///./src/views/theoreticalStudy/chapterChoice/index.vue?0981","webpack:///./src/views/theoreticalStudy/chapterChoice/index.vue","webpack:///./src/views/theoreticalStudy/chapterChoice/index.vue?e969"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","_s","stepType","chapterDataList","length","_l","item","index","key","id","title","count","on","$event","tapSequencePractise","tapRandomPractise","staticRenderFns","name","data","carType","computed","created","$route","query","getQueryGetChapterList","methods","res","$router","push","isOrder","exerciseType","chapter","page","watch","component"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,SAAW,YAAY,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,gBAAgB,CAACI,MAAM,CAAC,UAAY,MAAM,CAACJ,EAAG,qBAAqB,CAACI,MAAM,CAAC,GAAK,CAAEC,KAAM,OAAQ,CAACT,EAAIU,GAAG,QAAQN,EAAG,qBAAqB,CAACJ,EAAIU,GAAG,UAAUN,EAAG,qBAAqB,CAACJ,EAAIU,GAAG,WAAW,IAAI,GAAGN,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACN,EAAIU,GAAGV,EAAIW,GAAmB,GAAhBX,EAAIY,SAAgB,MAAQ,OAAO,WAAYZ,EAAIa,iBAAmBb,EAAIa,gBAAgBC,OAAS,EAAGV,EAAG,M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K4B,QACdjB,SAAUX,KAAKW,WACvB,kBACYwB,EAAIR,KAAKd,OAAS,IACpB,EAAV,4BAKIU,oBAbJ,SAaA,GAEMvB,KAAKoC,QAAQC,KAAK,CAChBX,KAAR,WACQM,MAAO,CACLJ,QAAS5B,KAAK4B,QACdjB,SAA2B,GAAjBX,KAAKW,SAAgB,YAAc,aAC7C2B,QAAS,QACTC,aAAc,UACdC,QAASC,MAKfjB,kBA3BJ,SA2BA,GACMxB,KAAKoC,QAAQC,KAAK,CAChBX,KAAR,WACQM,MAAO,CACLJ,QAAS5B,KAAK4B,QACdjB,SAA2B,GAAjBX,KAAKW,SAAgB,YAAc,aAC7C2B,QAAS,UACTC,aAAc,UACdC,QAASC,OAKjBC,MAAO,ICjGoW,I,wBCQzWC,EAAY,eACd,EACA7C,EACA2B,GACA,EACA,KACA,WACA,MAIa,aAAAkB,E,2CCnBf","file":"js/chunk-6eec3cfa.39bb0bce.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chapter\"},[_c('div',{staticClass:\"chapter-wrapper\"},[_c('div',{staticClass:\"zlxc-container\",staticStyle:{\"overflow\":\"visible\"}},[_c('div',{staticClass:\"bread-crumbs\"},[_c('el-breadcrumb',{attrs:{\"separator\":\"/\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/' }}},[_vm._v(\"首页\")]),_c('el-breadcrumb-item',[_vm._v(\"题库练习\")]),_c('el-breadcrumb-item',[_vm._v(\"章节练习\")])],1)],1),_c('div',{staticClass:\"chapter-choice\"},[_c('div',{staticClass:\"choice-title\"},[_vm._v(_vm._s(_vm.stepType == 1 ? '科目一' : '科目四')+\" 章节练习\")]),(_vm.chapterDataList && _vm.chapterDataList.length > 0)?_c('div',{staticClass:\"choice-list\"},_vm._l((_vm.chapterDataList),function(item,index){return _c('div',{key:item.id,staticClass:\"choice-li\"},[_c('p',{staticClass:\"li-title\"},[_c('span',{staticClass:\"section\"},[_vm._v(\"第\"+_vm._s(index+1)+\"章\")]),_vm._v(_vm._s(item.title)+\" (\"+_vm._s(item.count)+\")\")]),_c('ul',{staticClass:\"li-question\"},[_c('li',{staticClass:\"question\",on:{\"click\":function($event){return _vm.tapSequencePractise(item.id)}}},[_c('p',{staticClass:\"que-circle\"}),_c('p',{staticClass:\"que-literal\"},[_vm._v(\"顺序答题\")])]),_c('li',{staticClass:\"question\",on:{\"click\":function($event){return _vm.tapRandomPractise(item.id)}}},[_c('p',{staticClass:\"que-circle\"}),_c('p',{staticClass:\"que-literal\"},[_vm._v(\"随机答题\")])])])])}),0):_c('el-empty',{attrs:{\"image-size\":200}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"chapter\">\r\n <div class=\"chapter-wrapper\">\r\n <div class=\"zlxc-container\" style=\"overflow: visible\">\r\n <div class=\"bread-crumbs\">\r\n <el-breadcrumb separator=\"/\">\r\n <el-breadcrumb-item :to=\"{ path: '/' }\">首页</el-breadcrumb-item>\r\n <el-breadcrumb-item>题库练习</el-breadcrumb-item>\r\n <el-breadcrumb-item>章节练习</el-breadcrumb-item>\r\n </el-breadcrumb>\r\n </div>\r\n <div class=\"chapter-choice\">\r\n <div class=\"choice-title\">{{stepType == 1 ? '科目一' : '科目四'}} 章节练习</div>\r\n <div class=\"choice-list\" v-if=\"chapterDataList && chapterDataList.length > 0\">\r\n <div class=\"choice-li\" v-for=\"(item,index) in chapterDataList\" :key=\"item.id\">\r\n <p class=\"li-title\"><span class=\"section\">第{{index+1}}章</span>{{item.title}} ({{item.count}})</p>\r\n <ul class=\"li-question\">\r\n <li class=\"question\" @click=\"tapSequencePractise(item.id)\">\r\n <p class=\"que-circle\"></p>\r\n <p class=\"que-literal\">顺序答题</p>\r\n </li>\r\n <li class=\"question\" @click=\"tapRandomPractise(item.id)\">\r\n <p class=\"que-circle\"></p>\r\n <p class=\"que-literal\">随机答题</p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <el-empty :image-size=\"200\" v-else></el-empty>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { queryGetChapterList } from '@/api/herbalMedicine'\r\n\r\nexport default {\r\n name: 'ChapterChoice',\r\n data () {\r\n return {\r\n // 车型\r\n carType: 'car',\r\n // 科目\r\n stepType: 1,\r\n // 章节练习列表\r\n chapterDataList: null,\r\n }\r\n },\r\n computed: {\r\n },\r\n created () {\r\n this.carType = this.$route.query.carType == 'trolley' ? 'car' : this.$route.query.carType\r\n this.stepType = this.$route.query.stepType == 'branchOne' ? 1 : 4\r\n this.getQueryGetChapterList()\r\n },\r\n methods: {\r\n // 获取章节目录\r\n getQueryGetChapterList () {\r\n queryGetChapterList({\r\n carType: this.carType,\r\n stepType: this.stepType\r\n }).then(res => {\r\n if (res.data.length > 0) {\r\n this.chapterDataList = res.data\r\n }\r\n })\r\n },\r\n // 触发顺序答题\r\n tapSequencePractise (page) {\r\n console.log(page)\r\n this.$router.push({\r\n name:'Practise',\r\n query: {\r\n carType: this.carType,\r\n stepType: this.stepType == 1 ? 'branchOne' : 'branchFour',\r\n isOrder: 'order',\r\n exerciseType: 'chapter',\r\n chapter: page\r\n }\r\n })\r\n },\r\n // 触发随机答题\r\n tapRandomPractise (page) {\r\n this.$router.push({\r\n name:'Practise',\r\n query: {\r\n carType: this.carType,\r\n stepType: this.stepType == 1 ? 'branchOne' : 'branchFour',\r\n isOrder: 'noorder',\r\n exerciseType: 'chapter',\r\n chapter: page\r\n }\r\n })\r\n },\r\n },\r\n watch: {}\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"./index.scss\";\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--1-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--1-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=0d813b78&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=0d813b78&lang=scss&scoped=true&\"\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 \"0d813b78\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0d813b78&lang=scss&scoped=true&\""],"sourceRoot":""}