12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f0d2e2d8"],{"057f":function(t,e,n){var r=n("fc6a"),a=n("241c").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return a(t)}catch(e){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?c(t):a(r(t))}},"08e3":function(t,e,n){},"0b42":function(t,e,n){var r=n("861d"),a=n("e8b5"),o=n("b622"),i=o("species");t.exports=function(t){var e;return a(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!a(e.prototype)?r(e)&&(e=e[i],null===e&&(e=void 0)):e=void 0),void 0===e?Array:e}},"0c6d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return c}));n("d3b7");var r=n("2b0e"),a=function(t){return new Promise((function(e,n){axios(t).then((function(t){return e(t)})).catch((function(t){return n(t)}))}))},o=function(t){return new Promise((function(e,n){var r=t.data.code;return 0==r?(e(JSON.parse(JSON.stringify(t.data))),!1):(n(t.data.msg),!1)}))},i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={url:t,method:"POST",headers:{Authorization:sessionStorage.getItem("token")},data:JSON.parse(JSON.stringify(e))};return new Promise((function(t,e){a(n).then((function(t){return o(t)})).then((function(e){return t(e)})).catch((function(t){return r["default"].prototype.$message.error("温馨提示:".concat(t))}))}))},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={url:t,method:"GET",headers:{Authorization:sessionStorage.getItem("token")},params:JSON.parse(JSON.stringify(e))};return new Promise((function(t,e){a(n).then((function(t){return o(t)})).then((function(e){return t(e)})).catch((function(t){return r["default"].prototype.$message.error("温馨提示:".concat(t))}))}))}},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),o=n("785a"),i=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==i)try{c(t,"forEach",i)}catch(e){t.forEach=i}};for(var f in a)s(r[f]&&r[f].prototype);s(o)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),o=a("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"1dde":function(t,e,n){var r=n("d039"),a=n("b622"),o=n("2d00"),i=a("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[i]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},3191:function(t,e,n){"use strict";n("99af");var r=n("0c6d");e["a"]={index:function(){return Object(r["a"])("/staff/exam/exam_log/get_home_exam/")},mock_examination_a:function(){return Object(r["a"])("/staff/practise/dict/")},mock_examination_b:function(t){return Object(r["a"])("/staff/practise/",t)},exam:function(t){return Object(r["b"])("/staff/practise/",t)},mock_examination_type:function(){return Object(r["a"])("/staff/mock/dict/")},mock_examination_list:function(t){return Object(r["a"])("/staff/mock/exam_paper/",t)},mock_examination_exam:function(t){return Object(r["b"])("/staff/mock/exam_log/",t)},wrongquestion_sort:function(t){return Object(r["a"])("/staff/errorbook/",t)},wrongquestion_type:function(){return Object(r["a"])("/staff/errorbook/dict/")},examinationrecord_a:function(t){return Object(r["a"])("/staff/exam/exam_log/",t)},examinationrecord_b:function(t){return Object(r["a"])("/staff/mock/exam_log/",t)},mock_examination_report:function(t){return Object(r["a"])("/staff/".concat(t.type,"/exam_log/").concat(t.id,"/"))},knowledgebase_data:function(t){return Object(r["a"])("/staff/knowledge/",t)},knowledgebase_tree:function(){return Object(r["a"])("/staff/practise/dict/")},knowledgebase_error:function(t){return Object(r["b"])("/staff/knowledge/feedback/",t)},formal_examination:function(){return Object(r["a"])("/staff/exam/exam_log/get_exam/")}}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,o=n("1dde"),i=o("filter");r({target:"Array",proto:!0,forced:!i},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"746f":function(t,e,n){var r=n("428f"),a=n("5135"),o=n("e538"),i=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||i(e,t,{value:o.f(t)})}},8418:function(t,e,n){"use strict";var r=n("a04b"),a=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var i=r(e);i in t?a.f(t,i,o(0,n)):t[i]=n}},"8c43":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Basic",[n("div",{staticClass:"Flex"},[n("div",{staticClass:"Left"},[n("el-card",{attrs:{shadow:"never"}},[n("div",{staticClass:"mock_test_report"},[n("div",{staticClass:"score"},[n("span",[t._v(t._s(t.score))]),n("span",[t._v("分")])]),n("div",{staticClass:"header"},[n("h3",[t._v(t._s(t.header.name))]),n("div",{staticClass:"flex"},[n("div",{staticClass:"item"},[n("span",[t._v("题目数")]),n("span",[t._v(t._s(t.header.num))])]),n("div",{staticClass:"item"},[n("span",[t._v("总分")]),n("span",[t._v(t._s(t.header.score))])]),n("div",{staticClass:"item"},[n("span",[t._v("作答用时")]),n("span",[t._v(t._s(t.header.use_time))])]),n("div",{staticClass:"item"},[n("span",[t._v("开始时间")]),n("span",[t._v(t._s(t.header.start_time))])]),n("div",{staticClass:"item"},[n("span",[t._v("交卷时间")]),n("span",[t._v(t._s(t.header.end_time))])])])]),n("div",{staticClass:"body"},[n("div",{staticClass:"label-flex"},[n("div",{staticClass:"left"},[t._v("作答概况")])]),n("el-table",{staticStyle:{width:"801px"},attrs:{data:t.tableData,border:"","show-summary":""}},t._l(t.table_cols,(function(t,e){return n("el-table-column",{key:e,attrs:{prop:t.prop,label:t.label,width:t.width}})})),1)],1),n("div",{staticClass:"footer"},[n("div",{staticClass:"label-flex"},[n("div",{staticClass:"left"},[t._v("作答详情")]),n("div",{staticClass:"right"},[n("div",{staticClass:"flex"},[n("div",{staticClass:"item"},[n("span"),n("span",[t._v("正确")])]),n("div",{staticClass:"item"},[n("span"),n("span",[t._v("错误")])]),n("div",{staticClass:"item"},[n("span"),n("span",[t._v("未做")])])])])]),n("div",{staticClass:"flex"},t._l(t.detail,(function(e,r){return n("div",{key:r,class:[1==e.state?"green":2==e.state?"red":""],on:{click:function(n){return t.Success(e)}}},[t._v(t._s(r+1))])})),0)])])])],1),0!=t.no.length?n("div",{staticClass:"Right"},[n("el-card",{attrs:{shadow:"never"}},[n("div",{staticClass:"header"},[n("div",{staticClass:"left"},[t._v("排名")]),n("div",{staticClass:"right"},[t._v("答题得分")])]),n("div",{staticClass:"body"},t._l(t.no,(function(e,r){return n("div",{key:r,staticClass:"item"},[n("div",{staticClass:"left"},[n("div",{staticClass:"index"},[t._v(t._s(e.rank))]),n("div",{staticClass:"name"},[t._v(t._s(e.name))])]),n("div",{staticClass:"right"},[t._v(t._s(e.score))])])})),0)])],1):t._e()])])},a=[],o=n("5530"),i=(n("d3b7"),n("3ca3"),n("ddb0"),n("159b"),n("99af"),n("d81d"),n("3191")),c=function(){return n.e("chunk-714a3a3e").then(n.bind(null,"d5a2"))},s={components:{Basic:c},data:function(){return{score:70,header:{},table_cols:[{label:"题型",prop:"name",width:"200"},{label:"题目数",prop:"total_count",width:"150"},{label:"答对数",prop:"total_right",width:"150"},{label:"总分",prop:"total_scores",width:"150"},{label:"得分",prop:"answer_scores",width:"150"}],tableData:[],detail:[],no:[]}},created:function(){this.Request({type:this.$route.query.type,id:this.$route.query.id})},methods:{Request:function(t){var e=this;i["a"].mock_examination_report(t).then((function(t){try{var n=t.data,r=n.ranks,a=n.answer_log,i=n.question,c=0,s={};i.answer_items.forEach((function(t){c+=t.answer_scores})),s={name:i.exampaper_name,num:i.question_total_count,score:i.question_total_scores,use_time:"".concat(Math.floor(i.use_time/60/60),"时").concat(Math.floor((i.use_time-60*Math.floor(i.use_time/60/60)*60)/60),"分").concat(Math.floor(i.use_time%60),"秒"),start_time:i.exam_time,end_time:i.submit_time};var f=[];f=a.map((function(t){return Object(o["a"])(Object(o["a"])({},t),{},{state:1==t.status?1:2==t.status?2:""})})),e.header=s,e.tableData=i.answer_items,e.no=r.map((function(t){var e=Object(o["a"])(Object(o["a"])({},t),{},{score:t.scores});return e})),e.score=c,e.detail=f}catch(u){console.error("数据处理错误:".concat(u))}}))},Success:function(t){console.log(t)}}},f=s,u=(n("b0e0"),n("2877")),l=Object(u["a"])(f,r,a,!1,null,"54d83d00",null);e["default"]=l.exports},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("d039"),o=n("e8b5"),i=n("861d"),c=n("7b0b"),s=n("50c4"),f=n("8418"),u=n("65f0"),l=n("1dde"),d=n("b622"),b=n("2d00"),p=d("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",h=b>=51||!a((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),_=l("concat"),g=function(t){if(!i(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)},y=!h||!_;r({target:"Array",proto:!0,forced:y},{concat:function(t){var e,n,r,a,o,i=c(this),l=u(i,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?i:arguments[e],g(o)){if(a=s(o.length),d+a>v)throw TypeError(m);for(n=0;n<a;n++,d++)n in o&&f(l,d,o[n])}else{if(d>=v)throw TypeError(m);f(l,d++,o)}return l.length=d,l}})},a4d3:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("d066"),i=n("c430"),c=n("83ab"),s=n("4930"),f=n("d039"),u=n("5135"),l=n("e8b5"),d=n("861d"),b=n("d9b5"),p=n("825a"),v=n("7b0b"),m=n("fc6a"),h=n("a04b"),_=n("577e"),g=n("5c6c"),y=n("7c73"),w=n("df75"),O=n("241c"),x=n("057f"),j=n("7418"),k=n("06cf"),C=n("9bf2"),S=n("d1e7"),P=n("9112"),E=n("6eeb"),N=n("5692"),A=n("f772"),D=n("d012"),J=n("90e3"),q=n("b622"),T=n("e538"),M=n("746f"),$=n("d44e"),I=n("69f3"),R=n("b727").forEach,B=A("hidden"),F="Symbol",z="prototype",G=q("toPrimitive"),L=I.set,Q=I.getterFor(F),W=Object[z],H=a.Symbol,K=o("JSON","stringify"),U=k.f,V=C.f,X=x.f,Y=S.f,Z=N("symbols"),tt=N("op-symbols"),et=N("string-to-symbol-registry"),nt=N("symbol-to-string-registry"),rt=N("wks"),at=a.QObject,ot=!at||!at[z]||!at[z].findChild,it=c&&f((function(){return 7!=y(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=U(W,e);r&&delete W[e],V(t,e,n),r&&t!==W&&V(W,e,r)}:V,ct=function(t,e){var n=Z[t]=y(H[z]);return L(n,{type:F,tag:t,description:e}),c||(n.description=e),n},st=function(t,e,n){t===W&&st(tt,e,n),p(t);var r=h(e);return p(n),u(Z,r)?(n.enumerable?(u(t,B)&&t[B][r]&&(t[B][r]=!1),n=y(n,{enumerable:g(0,!1)})):(u(t,B)||V(t,B,g(1,{})),t[B][r]=!0),it(t,r,n)):V(t,r,n)},ft=function(t,e){p(t);var n=m(e),r=w(n).concat(pt(n));return R(r,(function(e){c&&!lt.call(n,e)||st(t,e,n[e])})),t},ut=function(t,e){return void 0===e?y(t):ft(y(t),e)},lt=function(t){var e=h(t),n=Y.call(this,e);return!(this===W&&u(Z,e)&&!u(tt,e))&&(!(n||!u(this,e)||!u(Z,e)||u(this,B)&&this[B][e])||n)},dt=function(t,e){var n=m(t),r=h(e);if(n!==W||!u(Z,r)||u(tt,r)){var a=U(n,r);return!a||!u(Z,r)||u(n,B)&&n[B][r]||(a.enumerable=!0),a}},bt=function(t){var e=X(m(t)),n=[];return R(e,(function(t){u(Z,t)||u(D,t)||n.push(t)})),n},pt=function(t){var e=t===W,n=X(e?tt:m(t)),r=[];return R(n,(function(t){!u(Z,t)||e&&!u(W,t)||r.push(Z[t])})),r};if(s||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,e=J(t),n=function(t){this===W&&n.call(tt,t),u(this,B)&&u(this[B],e)&&(this[B][e]=!1),it(this,e,g(1,t))};return c&&ot&&it(W,e,{configurable:!0,set:n}),ct(e,t)},E(H[z],"toString",(function(){return Q(this).tag})),E(H,"withoutSetter",(function(t){return ct(J(t),t)})),S.f=lt,C.f=st,k.f=dt,O.f=x.f=bt,j.f=pt,T.f=function(t){return ct(q(t),t)},c&&(V(H[z],"description",{configurable:!0,get:function(){return Q(this).description}}),i||E(W,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:H}),R(w(rt),(function(t){M(t)})),r({target:F,stat:!0,forced:!s},{for:function(t){var e=_(t);if(u(et,e))return et[e];var n=H(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!b(t))throw TypeError(t+" is not a symbol");if(u(nt,t))return nt[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!c},{create:ut,defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:bt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(v(t))}}),K){var vt=!s||f((function(){var t=H();return"[null]"!=K([t])||"{}"!=K({a:t})||"{}"!=K(Object(t))}));r({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,n){var r,a=[t],o=1;while(arguments.length>o)a.push(arguments[o++]);if(r=e,(d(e)||void 0!==t)&&!b(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!b(e))return e}),a[1]=e,K.apply(null,a)}})}H[z][G]||P(H[z],G,H[z].valueOf),$(H,F),D[B]=!0},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},b0e0:function(t,e,n){"use strict";n("08e3")},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),o=n("df75"),i=n("d039"),c=i((function(){o(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return o(a(t))}})},b727:function(t,e,n){var r=n("0366"),a=n("44ad"),o=n("7b0b"),i=n("50c4"),c=n("65f0"),s=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,u=4==t,l=6==t,d=7==t,b=5==t||l;return function(p,v,m,h){for(var _,g,y=o(p),w=a(y),O=r(v,m,3),x=i(w.length),j=0,k=h||c,C=e?k(p,x):n||d?k(p,0):void 0;x>j;j++)if((b||j in w)&&(_=w[j],g=O(_,j,y),t))if(e)C[j]=g;else if(g)switch(t){case 3:return!0;case 5:return _;case 6:return j;case 2:s.call(C,_)}else switch(t){case 4:return!1;case 7:s.call(C,_)}return l?-1:f||u?u:C}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").map,o=n("1dde"),i=o("map");r({target:"Array",proto:!0,forced:!i},{map:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),o=n("56ef"),i=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=i(t),a=c.f,f=o(r),u={},l=0;while(f.length>l)n=a(r,e=f[l++]),void 0!==n&&s(u,e,n);return u}})},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),o=n("fc6a"),i=n("06cf").f,c=n("83ab"),s=a((function(){i(1)})),f=!c||s;r({target:"Object",stat:!0,forced:f,sham:!c},{getOwnPropertyDescriptor:function(t,e){return i(o(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}}}]);
- //# sourceMappingURL=chunk-f0d2e2d8.5696c309.js.map
|