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.
 
 
 
 
 

2 lines
2.6 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6eec3cfa"],{"3b94":function(t,e,a){},f3d3:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"chapter"},[a("div",{staticClass:"chapter-wrapper"},[a("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[a("div",{staticClass:"bread-crumbs"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),a("el-breadcrumb-item",[t._v("题库练习")]),a("el-breadcrumb-item",[t._v("章节练习")])],1)],1),a("div",{staticClass:"chapter-choice"},[a("div",{staticClass:"choice-title"},[t._v(t._s(1==t.stepType?"科目一":"科目四")+" 章节练习")]),t.chapterDataList&&t.chapterDataList.length>0?a("div",{staticClass:"choice-list"},t._l(t.chapterDataList,(function(e,s){return a("div",{key:e.id,staticClass:"choice-li"},[a("p",{staticClass:"li-title"},[a("span",{staticClass:"section"},[t._v("第"+t._s(s+1)+"章")]),t._v(t._s(e.title)+" ("+t._s(e.count)+")")]),a("ul",{staticClass:"li-question"},[a("li",{staticClass:"question",on:{click:function(a){return t.tapSequencePractise(e.id)}}},[a("p",{staticClass:"que-circle"}),a("p",{staticClass:"que-literal"},[t._v("顺序答题")])]),a("li",{staticClass:"question",on:{click:function(a){return t.tapRandomPractise(e.id)}}},[a("p",{staticClass:"que-circle"}),a("p",{staticClass:"que-literal"},[t._v("随机答题")])])])])})),0):a("el-empty",{attrs:{"image-size":200}})],1)])])])},c=[],i=a("1825"),r={name:"ChapterChoice",data:function(){return{carType:"car",stepType:1,chapterDataList:null}},computed:{},created:function(){this.carType="trolley"==this.$route.query.carType?"car":this.$route.query.carType,this.stepType="branchOne"==this.$route.query.stepType?1:4,this.getQueryGetChapterList()},methods:{getQueryGetChapterList:function(){var t=this;Object(i["g"])({carType:this.carType,stepType:this.stepType}).then((function(e){e.data.length>0&&(t.chapterDataList=e.data)}))},tapSequencePractise:function(t){this.$router.push({name:"Practise",query:{carType:this.carType,stepType:1==this.stepType?"branchOne":"branchFour",isOrder:"order",exerciseType:"chapter",chapter:t}})},tapRandomPractise:function(t){this.$router.push({name:"Practise",query:{carType:this.carType,stepType:1==this.stepType?"branchOne":"branchFour",isOrder:"noorder",exerciseType:"chapter",chapter:t}})}},watch:{}},p=r,n=(a("fc66"),a("2877")),u=Object(n["a"])(p,s,c,!1,null,"0d813b78",null);e["default"]=u.exports},fc66:function(t,e,a){"use strict";a("3b94")}}]);
//# sourceMappingURL=chunk-6eec3cfa.6823b9f3.js.map