webpackJsonp([2],{LPKF:function(t,e){},h06C:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("zVNV"),a={name:"PaperAnalysis",components:{AnalysisItem:i("oEry").a},data(){return{loaded:!1,windowHeight:window.innerHeight,swiperOption:{slidesPerView:1,spaceBetween:0,autoHeight:!0},answerId:this.$route.query.id,iscorrect:-1,anliysisList:[],moduleName:this.$route.name,paper_title:this.$route.query.title}},activated(){let t;document.title="查看试卷解析",this.answerId=this.$route.query.id,this.anliysisList=[],this.moduleName=this.$route.name;let e={};"analysis"==this.moduleName?(t=s.m,e={id:this.answerId,categoryid:this.$route.query.categoryid,paperid:this.$route.query.paperid,type:this.$route.query.type||1}):"ErrorAnaysis"==this.moduleName&&(t=s.o,e={categoryid:this.$route.query.categoryid}),t&&(this.$showLoading(),t(e).then(t=>{if(t.result){let e=[];t.data.map(t=>{t.tklist.map(t=>{6==t.tktype&&t.tkinfo.childtk.map(t=>{t.showAnswerStatus=!0,t.changeAnswer=!1}),t.showAnswerStatus=!0,t.changeAnswer=!1,e.push(t)})}),this.iscorrect=1,this.anliysisList=e}else this.iscorrect=0,this.$toast(t.msg).then(()=>{this.$router.back()});this.loaded=!0,this.$hideLoading()}))},methods:{onClickLeft(){this.$router.go(-1)}}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.loaded?i("div",{staticClass:"analysis-contianer",style:{minHeight:t.windowHeight+"px"}},[i("div",{staticClass:"collectBank-box__head"},[i("van-nav-bar",{staticClass:"van-nav-new",attrs:{title:t.paper_title,"left-arrow":""},on:{"click-left":function(e){return t.onClickLeft()}}})],1),t._v(" "),t.anliysisList.length?i("swiper",{attrs:{options:t.swiperOption}},t._l(t.anliysisList,function(e,s){return i("swiper-slide",{key:s},[i("analysis-item",{attrs:{iscorrect:t.iscorrect,item:e,level:1}}),t._v(" "),6==e.tktype?i("div",t._l(e.tkinfo.childtk,function(s,a){return i("div",{key:a},[i("analysis-item",{class:a<e.tkinfo.childtk.length-1&&"ktj-line",attrs:{item:s,iscorrect:t.iscorrect,number:a+1+")",parenttkid:e.tkid}})],1)}),0):t._e()],1)}),1):i("Nodata")],1):t._e()},staticRenderFns:[]};var n=i("C7Lr")(a,r,!1,function(t){i("LPKF")},"data-v-731ae82d",null);e.default=n.exports},oEry:function(t,e,i){"use strict";var s=i("VQKa"),a=i("Q09X"),r={name:"AnalysisItem",components:{MultipleChoice:i("EC01").a,QuestionTitle:a.a,AnalysisInfo:s.a},props:{item:Object,number:String,iscorrect:{type:[String,Number],default:"0"},level:Number,parenttkid:0}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"analysis-item"},[1===t.level?i("question-title",{attrs:{title:t.item.title,"type-name":t.item.tktype_name}}):i("div",{staticClass:"analysis-item__title"},[t._v(t._s(t.number)+"、"),i("font",{domProps:{innerHTML:t._s(t.item.title)}})],1),t._v(" "),6!=t.item.tktype?i("div",{staticClass:"analysis-item__body"},[1==t.item.tktype?i("div",{staticClass:"analysis-subjective"},[t._v(t._s(t.item.useranswer.toString()))]):2==t.item.tktype||3==t.item.tktype||4==t.item.tktype?i("multiple-choice",{attrs:{item:t.item,"user-answer":t.item.useranswer}}):t._e(),t._v(" "),2!=t.$route.query.type&&"OwnScore"!=t.$route.name?i("div",{staticClass:"analysis-score"},[t._v("\n      得分：\n      "),"0"!==t.iscorrect.toString()||1!=t.item.tktype&&5!=t.item.tktype?i("span",{staticClass:"uncorrected"},[t._v(t._s(t.item.userscore))]):i("span",{staticClass:"uncorrected"},[t._v("待批阅")])]):2!=t.$route.query.type?i("div",{staticClass:"analysis-score"},[t._v("\n      得分：\n      "),i("span",{staticClass:"uncorrected"},[t._v(t._s(t.item.userscore))])]):t._e(),t._v(" "),i("analysis-info",{attrs:{item:t.item,parenttkid:t.parenttkid}})],1):t._e()],1)},staticRenderFns:[]};var o=i("C7Lr")(r,n,!1,function(t){i("wcmD")},"data-v-433a0ddb",null);e.a=o.exports},wcmD:function(t,e){}});