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
10 KiB
1 lines
10 KiB
{"version":3,"sources":["webpack:///./src/views/theoreticalStudy/specialPractice/index.vue?9e9b","webpack:///./src/views/theoreticalStudy/specialPractice/index.vue?eee3","webpack:///src/views/theoreticalStudy/specialPractice/index.vue","webpack:///./src/views/theoreticalStudy/specialPractice/index.vue?0bdc","webpack:///./src/views/theoreticalStudy/specialPractice/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","_s","stepType","chapterDataList","length","_l","item","index","key","id","title","on","$event","tapSequencePractise","tapRandomPractise","staticRenderFns","name","data","carType","computed","created","$route","query","_getTestCenterList","methods","res","$router","push","isOrder","exerciseType","knowType","page","watch","component"],"mappings":"kHAAA,W,2CCAA,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,GAAG,IAAIV,EAAIW,GAAmB,GAAhBX,EAAIY,SAAgB,MAAQ,OAAO,YAAaZ,EAAIa,iBAAmBb,EAAIa,gBAAgBC,OAAS,EAAG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SAyBA,GACMtB,KAAKmC,QAAQC,KAAK,CAChBX,KAAM,WACNM,MAAO,CACLJ,QAAS3B,KAAK2B,QACdhB,SAA2B,GAAjBX,KAAKW,SAAgB,YAAc,aAC7C0B,QAAS,QACTC,aAAc,UACdC,SAAUC,MAKhBjB,kBAtCJ,SAsCA,GACMvB,KAAKmC,QAAQC,KAAK,CAChBX,KAAM,WACNM,MAAO,CACLJ,QAAS3B,KAAK2B,QACdhB,SAA2B,GAAjBX,KAAKW,SAAgB,YAAc,aAC7C0B,QAAS,UACTC,aAAc,UACdC,SAAUC,OAKlBC,MAAO,IC7HoW,I,wBCQzWC,EAAY,eACd,EACA5C,EACA0B,GACA,EACA,KACA,WACA,MAIa,aAAAkB,E","file":"js/chunk-620db4f1.106ef061.js","sourcesContent":["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=0a0bbc2a&lang=scss&scoped=true&\"","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)+\" \")]),_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\">\r\n {{ stepType == 1 ? \"科目一\" : \"科目四\" }} 专项练习\r\n </div>\r\n <div\r\n class=\"choice-list\"\r\n v-if=\"chapterDataList && chapterDataList.length > 0\"\r\n >\r\n <div\r\n class=\"choice-li\"\r\n v-for=\"(item, index) in chapterDataList\"\r\n :key=\"item.id\"\r\n >\r\n <p class=\"li-title\">\r\n <span class=\"section\">第{{ index + 1 }}项</span\r\n >{{ item.title }}\r\n </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 { getTestCenterList } from \"@/api/herbalMedicine\";\r\n\r\nexport default {\r\n name: \"SpecialPractice\",\r\n data() {\r\n return {\r\n // 车型\r\n carType: \"car\",\r\n // 科目\r\n stepType: 1,\r\n // 专项练习列表\r\n chapterDataList: [\r\n \r\n ],\r\n };\r\n },\r\n computed: {},\r\n created() {\r\n this.carType =\r\n this.$route.query.carType == \"trolley\"\r\n ? \"car\"\r\n : this.$route.query.carType;\r\n this.stepType = this.$route.query.stepType == \"branchOne\" ? 1 : 4;\r\n\r\n this._getTestCenterList();\r\n },\r\n methods: {\r\n // 获取模拟考试题\r\n _getTestCenterList() {\r\n getTestCenterList({\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 // id: 121,\r\n // title: \"安全常识\",\r\n // subject: 1,\r\n // car_type: null,\r\n // count: 565,\r\n\r\n\r\n\r\n // carType: \"car,bus,truck,motorcycle\"\r\n // id: 101\r\n // subject: 1\r\n // title: \"扣分罚款题\"\r\n // 触发顺序答题\r\n tapSequencePractise(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: \"special\",\r\n knowType: 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: \"special\",\r\n knowType: 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=0a0bbc2a&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=0a0bbc2a&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 \"0a0bbc2a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|