(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4c3a7980"],{3191:function(t,e,a){"use strict";a("99af");var n=a("0c6d");e["a"]={index:function(){return Object(n["a"])("/staff/exam/exam_log/get_home_exam/")},mock_examination_a:function(){return Object(n["a"])("/staff/practise/dict/")},mock_examination_b:function(t){return Object(n["a"])("/staff/practise/",t)},exam:function(t){return Object(n["b"])("/staff/practise/",t)},mock_examination_type:function(){return Object(n["a"])("/staff/mock/dict/")},mock_examination_list:function(t){return Object(n["a"])("/staff/mock/exam_paper/",t)},mock_examination_exam:function(t){return Object(n["b"])("/staff/mock/exam_log/",t)},wrongquestion_sort:function(t){return Object(n["a"])("/staff/errorbook/",t)},wrongquestion_type:function(){return Object(n["a"])("/staff/errorbook/dict/")},examinationrecord_a:function(t){return Object(n["a"])("/staff/exam/exam_log/",t)},examinationrecord_b:function(t){return Object(n["a"])("/staff/mock/exam_log/",t)},mock_examination_report:function(t){return Object(n["a"])("/staff/".concat(t.type,"/exam_log/").concat(t.id,"/"))},knowledgebase_data:function(t){return Object(n["a"])("/staff/knowledge/",t)},knowledgebase_tree:function(){return Object(n["a"])("/staff/practise/dict/")},knowledgebase_error:function(t){return Object(n["b"])("/staff/knowledge/feedback/",t)},formal_examination:function(){return Object(n["a"])("/staff/exam/exam_log/get_exam/")}}},"5b2d":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mock_examination"},[a("Select",{attrs:{Data:t.SelectData},on:{select:t.SelectFunc}}),a("p",{staticClass:"testpaper"},[t._v("共"+t._s(t.TestPaper[0])+"套试卷 做过"+t._s(t.TestPaper[1])+"套")]),a("div",{staticClass:"papers"},t._l(t.Papers,(function(e,n){return a("div",{key:n,staticClass:"item",on:{click:function(a){return t.ClickFunc(e)}}},[a("el-card",{attrs:{shadow:"never"}},[a("p",{staticClass:"title"},[t._v(t._s(e.title))]),a("div",{staticClass:"body"},[a("span",[t._v(t._s(e.type))]),e.state?a("span",[t._v("做过")]):t._e()]),a("p",{staticClass:"footer"},[t._v("共"+t._s(e.total)+"题，"+t._s(e.num)+"人做过")])])],1)})),0),a("Pagination",{attrs:{Data:t.pagination,PagesSize:[12,24,36,48,56,108]},on:{Func:t.List}})],1)},c=[],o=a("5530"),i=a("2909"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("159b"),a("b0c0"),a("99af"),a("d81d"),a("3191")),s=function(){return a.e("chunk-c12b3174").then(a.bind(null,"5a4f"))},u=function(){return a.e("chunk-5748d174").then(a.bind(null,"333d"))},f={components:{Select:s,Pagination:u},data:function(){return{SelectData:[],TestPaper:[],Papers:[],active:{status:"",subject:""},pagination:{}}},created:function(){var t=this;r["a"].mock_examination_type().then((function(e){return new Promise((function(a){try{var n=e.data,c=["不限"];n.forEach((function(t){c.push(t.name)}));var o=[];o[0]={name:"科目",value:0,list:c,python:[{name:"不限",id:""}].concat(Object(i["a"])(n))},o[1]={name:"状态",value:0,list:["不限","做过","未做过"]},t.SelectData=o,a()}catch(r){console.error("数据处理错误：".concat(r))}}))})).then((function(e){return t.List()}))},methods:{List:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{page:1,limit:12},a=Object(o["a"])(Object(o["a"])({},e),this.active);r["a"].mock_examination_list(a).then((function(e){try{var a=e.currentPage,n=e.showCount,c=e.totalResult,o=e.data,i=e.totalPage,r=e.totalRow;JSON.stringify(r)!={}&&(t.TestPaper=[c,r.did_paper]),t.pagination={currentPage:a,page_size:n,total:c,page_count:i};var s=[];s=o.map((function(t){var e={id:t.id,title:t.name,type:t.subject_name,state:t.status_text,total:t.question_total_count,num:t.did_count};return e})),t.Papers=s}catch(u){console.error("数据处理报错：".concat(u))}}))},SelectFunc:function(t){var e=0==t[1]?"":t[1],a=this.SelectData[0]["python"][t[0]]["id"];this.active={status:e,subject:a},this.List()},ClickFunc:function(t){var e=this;r["a"].mock_examination_exam({exampaper:t.id}).then((function(t){return e.$router.push({path:"/mockexam",query:{practise:t.data.exam_log}})}))}}},l=f,m=(a("7a23"),a("2877")),d=Object(m["a"])(l,n,c,!1,null,"86fbeec6",null);e["default"]=d.exports},"5e44":function(t,e,a){},"7a23":function(t,e,a){"use strict";a("5e44")},"99af":function(t,e,a){"use strict";var n=a("23e7"),c=a("d039"),o=a("e8b5"),i=a("861d"),r=a("7b0b"),s=a("50c4"),u=a("8418"),f=a("65f0"),l=a("1dde"),m=a("b622"),d=a("2d00"),_=m("isConcatSpreadable"),p=9007199254740991,b="Maximum allowed index exceeded",h=d>=51||!c((function(){var t=[];return t[_]=!1,t.concat()[0]!==t})),x=l("concat"),g=function(t){if(!i(t))return!1;var e=t[_];return void 0!==e?!!e:o(t)},v=!h||!x;n({target:"Array",proto:!0,forced:v},{concat:function(t){var e,a,n,c,o,i=r(this),l=f(i,0),m=0;for(e=-1,n=arguments.length;e<n;e++)if(o=-1===e?i:arguments[e],g(o)){if(c=s(o.length),m+c>p)throw TypeError(b);for(a=0;a<c;a++,m++)a in o&&u(l,m,o[a])}else{if(m>=p)throw TypeError(b);u(l,m++,o)}return l.length=m,l}})}}]);
//# sourceMappingURL=chunk-4c3a7980.a154b8b1.js.map