12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bb74f086"],{"057f":function(t,e,n){var r=n("fc6a"),o=n("241c").f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(e){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?c(t):o(r(t))}},"0b42":function(t,e,n){var r=n("861d"),o=n("e8b5"),a=n("b622"),i=a("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(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"),o=function(t){return new Promise((function(e,n){axios(t).then((function(t){return e(t)})).catch((function(t){return n(t)}))}))},a=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){o(n).then((function(t){return a(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){o(n).then((function(t){return a(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"),o=n("fdbc"),a=n("785a"),i=n("17c2"),c=n("9112"),u=function(t){if(t&&t.forEach!==i)try{c(t,"forEach",i)}catch(e){t.forEach=i}};for(var f in o)u(r[f]&&r[f].prototype);u(a)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,o=n("a640"),a=o("forEach");t.exports=a?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"1dde":function(t,e,n){var r=n("d039"),o=n("b622"),a=n("2d00"),i=o("species");t.exports=function(t){return a>=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"),o=n("b727").filter,a=n("1dde"),i=a("filter");r({target:"Array",proto:!0,forced:!i},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));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 o(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(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)}},"703d":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("div",{staticClass:"taba"},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:""}},[t._l(t.table_cols,(function(e,r){return n("el-table-column",{key:r,attrs:{prop:e.prop,label:e.label,width:e.width},scopedSlots:t._u([{key:"default",fn:function(r){return n("div",{},["right_count"==e.prop?n("span",{staticClass:"right_count"},[t._v(t._s(r.row[[e.prop]]))]):"wrong_count"==e.prop?n("span",{staticClass:"wrong_count"},[t._v(t._s(r.row[[e.prop]]))]):n("span",[t._v(t._s(r.row[[e.prop]]))])])}}],null,!0)})})),n("el-table-column",{attrs:{width:"159"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"center"},[n("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-view"},on:{click:function(n){return t.handleClick(e.row)}}},[t._v("查看报告")])],1)]}}])},[n("template",{slot:"header"},[n("div",{staticClass:"center"},[t._v("操作")])])],2)],2),n("Pagination",{attrs:{Data:t.pagination},on:{Func:t.Request}})],1)},o=[],a=n("5530"),i=(n("d3b7"),n("3ca3"),n("ddb0"),n("3191")),c=function(){return n.e("chunk-5748d174").then(n.bind(null,"333d"))},u={components:{Pagination:c},data:function(){return{table_cols:[{label:"名称",prop:"exampaper_name",width:"340"},{label:"开始时间",prop:"exam_time",width:"230"},{label:"结束时间",prop:"submit_time",width:"230"},{label:"得分",prop:"scores",width:"100"},{label:"正确",prop:"right_count",width:"50"},{label:"错误",prop:"wrong_count",width:"50"}],tableData:[{exam_time:"2021-04-20 15:32:26",exampaper_name:"第一次世界大战考试",submit_time:"2021-04-20 15:32:26",scores:88,exampaper:38,right_count:3,wrong_count:2},{exam_time:"2021-04-20 15:32:26",exampaper_name:"第二次世界大战考试",submit_time:"2021-04-20 15:32:26",scores:88,exampaper:16,right_count:3,wrong_count:2},{exam_time:"2021-04-20 15:32:26",exampaper_name:"冷战",submit_time:"2021-04-20 15:32:26",scores:88,exampaper:6,right_count:3,wrong_count:2}],pagination:{}}},methods:{Request:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object(a["a"])({},e);i["a"].examinationrecord_a(n).then((function(e){try{var n=e.currentPage,r=e.data,o=e.totalResult,a=e.totalPage;t.pagination={currentPage:n,page_size:10,total:o,page_count:a},t.tableData=r}catch(i){console.error("数据处理错误:".concat(i))}}))},handleClick:function(t){this.$router.push({path:"/mocktestreport",query:{type:"exam",id:t.id}})}},created:function(){this.Request()}},f=u,s=(n("a36e"),n("2877")),l=Object(s["a"])(f,r,o,!1,null,"0dbb082e",null);e["default"]=l.exports},"746f":function(t,e,n){var r=n("428f"),o=n("5135"),a=n("e538"),i=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||i(e,t,{value:a.f(t)})}},8418:function(t,e,n){"use strict";var r=n("a04b"),o=n("9bf2"),a=n("5c6c");t.exports=function(t,e,n){var i=r(e);i in t?o.f(t,i,a(0,n)):t[i]=n}},"99af":function(t,e,n){"use strict";var r=n("23e7"),o=n("d039"),a=n("e8b5"),i=n("861d"),c=n("7b0b"),u=n("50c4"),f=n("8418"),s=n("65f0"),l=n("1dde"),b=n("b622"),d=n("2d00"),p=b("isConcatSpreadable"),m=9007199254740991,h="Maximum allowed index exceeded",g=d>=51||!o((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),v=l("concat"),y=function(t){if(!i(t))return!1;var e=t[p];return void 0!==e?!!e:a(t)},w=!g||!v;r({target:"Array",proto:!0,forced:w},{concat:function(t){var e,n,r,o,a,i=c(this),l=s(i,0),b=0;for(e=-1,r=arguments.length;e<r;e++)if(a=-1===e?i:arguments[e],y(a)){if(o=u(a.length),b+o>m)throw TypeError(h);for(n=0;n<o;n++,b++)n in a&&f(l,b,a[n])}else{if(b>=m)throw TypeError(h);f(l,b++,a)}return l.length=b,l}})},a36e:function(t,e,n){"use strict";n("aaf9")},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),a=n("d066"),i=n("c430"),c=n("83ab"),u=n("4930"),f=n("d039"),s=n("5135"),l=n("e8b5"),b=n("861d"),d=n("d9b5"),p=n("825a"),m=n("7b0b"),h=n("fc6a"),g=n("a04b"),v=n("577e"),y=n("5c6c"),w=n("7c73"),_=n("df75"),O=n("241c"),x=n("057f"),j=n("7418"),k=n("06cf"),P=n("9bf2"),S=n("d1e7"),E=n("9112"),D=n("6eeb"),N=n("5692"),J=n("f772"),A=n("d012"),C=n("90e3"),q=n("b622"),T=n("e538"),R=n("746f"),z=n("d44e"),I=n("69f3"),$=n("b727").forEach,F=J("hidden"),B="Symbol",G="prototype",M=q("toPrimitive"),Q=I.set,W=I.getterFor(B),H=Object[G],K=o.Symbol,L=a("JSON","stringify"),U=k.f,V=P.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"),ot=o.QObject,at=!ot||!ot[G]||!ot[G].findChild,it=c&&f((function(){return 7!=w(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=U(H,e);r&&delete H[e],V(t,e,n),r&&t!==H&&V(H,e,r)}:V,ct=function(t,e){var n=Z[t]=w(K[G]);return Q(n,{type:B,tag:t,description:e}),c||(n.description=e),n},ut=function(t,e,n){t===H&&ut(tt,e,n),p(t);var r=g(e);return p(n),s(Z,r)?(n.enumerable?(s(t,F)&&t[F][r]&&(t[F][r]=!1),n=w(n,{enumerable:y(0,!1)})):(s(t,F)||V(t,F,y(1,{})),t[F][r]=!0),it(t,r,n)):V(t,r,n)},ft=function(t,e){p(t);var n=h(e),r=_(n).concat(pt(n));return $(r,(function(e){c&&!lt.call(n,e)||ut(t,e,n[e])})),t},st=function(t,e){return void 0===e?w(t):ft(w(t),e)},lt=function(t){var e=g(t),n=Y.call(this,e);return!(this===H&&s(Z,e)&&!s(tt,e))&&(!(n||!s(this,e)||!s(Z,e)||s(this,F)&&this[F][e])||n)},bt=function(t,e){var n=h(t),r=g(e);if(n!==H||!s(Z,r)||s(tt,r)){var o=U(n,r);return!o||!s(Z,r)||s(n,F)&&n[F][r]||(o.enumerable=!0),o}},dt=function(t){var e=X(h(t)),n=[];return $(e,(function(t){s(Z,t)||s(A,t)||n.push(t)})),n},pt=function(t){var e=t===H,n=X(e?tt:h(t)),r=[];return $(n,(function(t){!s(Z,t)||e&&!s(H,t)||r.push(Z[t])})),r};if(u||(K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=C(t),n=function(t){this===H&&n.call(tt,t),s(this,F)&&s(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};return c&&at&&it(H,e,{configurable:!0,set:n}),ct(e,t)},D(K[G],"toString",(function(){return W(this).tag})),D(K,"withoutSetter",(function(t){return ct(C(t),t)})),S.f=lt,P.f=ut,k.f=bt,O.f=x.f=dt,j.f=pt,T.f=function(t){return ct(q(t),t)},c&&(V(K[G],"description",{configurable:!0,get:function(){return W(this).description}}),i||D(H,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:K}),$(_(rt),(function(t){R(t)})),r({target:B,stat:!0,forced:!u},{for:function(t){var e=v(t);if(s(et,e))return et[e];var n=K(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!d(t))throw TypeError(t+" is not a symbol");if(s(nt,t))return nt[t]},useSetter:function(){at=!0},useSimple:function(){at=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:st,defineProperty:ut,defineProperties:ft,getOwnPropertyDescriptor:bt}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:dt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:f((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(m(t))}}),L){var mt=!u||f((function(){var t=K();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}));r({target:"JSON",stat:!0,forced:mt},{stringify:function(t,e,n){var r,o=[t],a=1;while(arguments.length>a)o.push(arguments[a++]);if(r=e,(b(e)||void 0!==t)&&!d(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!d(e))return e}),o[1]=e,L.apply(null,o)}})}K[G][M]||E(K[G],M,K[G].valueOf),z(K,B),A[F]=!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)}))}},aaf9:function(t,e,n){},b64b:function(t,e,n){var r=n("23e7"),o=n("7b0b"),a=n("df75"),i=n("d039"),c=i((function(){a(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return a(o(t))}})},b727:function(t,e,n){var r=n("0366"),o=n("44ad"),a=n("7b0b"),i=n("50c4"),c=n("65f0"),u=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,b=7==t,d=5==t||l;return function(p,m,h,g){for(var v,y,w=a(p),_=o(w),O=r(m,h,3),x=i(_.length),j=0,k=g||c,P=e?k(p,x):n||b?k(p,0):void 0;x>j;j++)if((d||j in _)&&(v=_[j],y=O(v,j,w),t))if(e)P[j]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return j;case 2:u.call(P,v)}else switch(t){case 4:return!1;case 7:u.call(P,v)}return l?-1:f||s?s:P}};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)}},dbb4:function(t,e,n){var r=n("23e7"),o=n("83ab"),a=n("56ef"),i=n("fc6a"),c=n("06cf"),u=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,n,r=i(t),o=c.f,f=a(r),s={},l=0;while(f.length>l)n=o(r,e=f[l++]),void 0!==n&&u(s,e,n);return s}})},e439:function(t,e,n){var r=n("23e7"),o=n("d039"),a=n("fc6a"),i=n("06cf").f,c=n("83ab"),u=o((function(){i(1)})),f=!c||u;r({target:"Object",stat:!0,forced:f,sham:!c},{getOwnPropertyDescriptor:function(t,e){return i(a(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-bb74f086.9764cb32.js.map
|