group-controlApp~group-doTest.b0c159a8.js 15 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-controlApp~group-doTest"],{"08d0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAABcSAAAXEgFnn9JSAAAF3WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAxOS0wNS0xMVQyMjo0OToyNSswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMTktMDUtMTFUMjI6NTc6MTkrMDg6MDAi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cz29nYPGAwoNdBQFnJnVUdNJxqIduddGHXIamEEZZ0Yygd3dw+ZQ6kRiPhZeW+191pj1Z4iy3gP2H/NbRQRv6sJai2lfktVAIvP5p3n3/opOX3TwSQUXEpiIQKWSWogB57QevckNjw47UBNxL8R+AzIXQtgATZga8gCCSAZL/Jl1rXEn7GUat64P0EmkQGlIGgxrz7G2pb4+ZqIfxuw83rmMLadVyQCWki6wqYJAWv9uwtqDj43t9pDgBGb6liYVxor002x8A6gg7HVvb5EBMcT8o5Ga0FrwfYET0tIRNq6s/a+eZ8cEdZ+Ly/u6pa+nNMhIvNFRIkIN4qrAlxPcLUgImERWbG5a+D35bt7ZFdiKKFFVomIfzzmVwf8N6ki73ofJYdtPeJ420WkWctY3nhiPP9BOmgah6rCxiTgAJASGUfVZSn5P9k3ob8AGmRcLsS9LFQAAAAASUVORK5CYII="},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),u=n("4bf8"),a=n("9def"),c=n("cd1c");t.exports=function(t,e){var n=1==t,o=2==t,s=3==t,d=4==t,l=6==t,p=5==t||l,f=e||c;return function(e,c,h){for(var g,b,m=u(e),v=i(m),A=r(c,h,3),I=a(v.length),N=0,Z=n?f(e,I):o?f(e,0):void 0;I>N;N++)if((p||N in v)&&(g=v[N],b=A(g,N,m),t))if(n)Z[N]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return N;case 2:Z.push(g)}else if(d)return!1;return l?-1:s||d?d:Z}}},"10ab":function(t,e,n){"use strict";n("550a")},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"1c31":function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n("bc3a"),i=n.n(r);function u(t,e){return i.a.get("/report/userInfo",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}function a(t){return i.a.get("/report/globalResult",{params:{paperResultId:t}}).then((function(t){return t.data}))}function c(t,e){return i.a.get("/report/useTime",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}function o(t,e,n){return n?i.a.get("/specialReport/generate1",{params:{resultId:n}}).then((function(t){return t.data})):i.a.get("/specialReport/generate",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}function s(t,e,n){return n?i.a.get("/specialReport/generateMind1",{params:{resultId:n}}).then((function(t){return t.data})):i.a.get("/specialReport/generateMind",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}},"1d40":function(t,e,n){t.exports=n.p+"img/pre.e3983079.png"},"20d6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(6),u="findIndex",a=!0;u in[]&&Array(1)[u]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(u)},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),u=n("ebd6"),a=n("0390"),c=n("9def"),o=n("5f1b"),s=n("520a"),d=n("79e5"),l=Math.min,p=[].push,f="split",h="length",g="lastIndex",b=4294967295,m=!d((function(){RegExp(b,"y")}));n("214f")("split",2,(function(t,e,n,d){var v;return v="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[h]||2!="ab"[f](/(?:ab)*/)[h]||4!="."[f](/(.?)(.?)/)[h]||"."[f](/()()/)[h]>1||""[f](/.?/)[h]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var u,a,c,o=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=void 0===e?b:e>>>0,m=new RegExp(t.source,d+"g");while(u=s.call(m,i)){if(a=m[g],a>l&&(o.push(i.slice(l,u.index)),u[h]>1&&u.index<i[h]&&p.apply(o,u.slice(1)),c=u[0][h],l=a,o[h]>=f))break;m[g]===u.index&&m[g]++}return l===i[h]?!c&&m.test("")||o.push(""):o.push(i.slice(l)),o[h]>f?o.slice(0,f):o}:"0"[f](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),u=void 0==n?void 0:n[e];return void 0!==u?u.call(n,i,r):v.call(String(i),n,r)},function(t,e){var r=d(v,t,this,e,v!==n);if(r.done)return r.value;var s=i(t),p=String(this),f=u(s,RegExp),h=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(m?"y":"g"),A=new f(m?s:"^(?:"+s.source+")",g),I=void 0===e?b:e>>>0;if(0===I)return[];if(0===p.length)return null===o(A,p)?[p]:[];var N=0,Z=0,y=[];while(Z<p.length){A.lastIndex=m?Z:0;var M,T=o(A,m?p:p.slice(Z));if(null===T||(M=l(c(A.lastIndex+(m?0:Z)),p.length))===N)Z=a(p,Z,h);else{if(y.push(p.slice(N,Z)),y.length===I)return y;for(var R=1;R<=T.length-1;R++)if(y.push(T[R]),y.length===I)return y;Z=N=M}}return y.push(p.slice(N)),y}]}))},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),u=n("9def");t.exports=function(t){var e=r(this),n=u(e.length),a=arguments.length,c=i(a>1?arguments[1]:void 0,n),o=a>2?arguments[2]:void 0,s=void 0===o?n:i(o,n);while(s>c)e[c++]=t;return e}},"39f0":function(t,e,n){"use strict";n.d(e,"g",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"f",(function(){return d})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return p})),n.d(e,"e",(function(){return f}));var r=n("bc3a"),i=n.n(r);function u(t,e){return i.a.get("/paper/listPapers",{params:{status:t,subjectId:e}}).then((function(t){return t.data}))}function a(t){return i()({method:"post",url:"/paper/uploadPaper",data:t}).then((function(t){return t.data}))}function c(t){return i()({method:"post",url:"/paper/updateParams",data:t}).then((function(t){return t.data}))}function o(t){return i()({method:"post",url:"/question/updateQuestionForPaper",data:t}).then((function(t){return t.data}))}function s(t){return i()({method:"post",url:"/paper/delete",params:{id:t}}).then((function(t){return t}))}function d(t){return i.a.get("/paper/getOnePaper/"+t).then((function(t){return t.data}))}function l(t,e){return i.a.get("/paper/hasCommit",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}function p(t){return i()({method:"post",url:"/paper/commit",data:t}).then((function(t){return t.data}))}function f(t){return i.a.get("/issuePaper/get",{params:{id:t}}).then((function(t){return t.data}))}},"550a":function(t,e,n){},"6c7b":function(t,e,n){var r=n("5ca1");r(r.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,u=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(u)[1]}catch(t){return""}}})},"891a":function(t,e,n){t.exports=n.p+"img/report-pic2.40ac47ce.png"},9378:function(t,e,n){t.exports=n.p+"img/next.dd00c850.png"},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),u=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[u])?!!e:"RegExp"==i(t))}},c632:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"report4"},[t.treeToObj[1][0].grade+t.treeToObj[1][0].subjectId!="9Y2"?r("div",t._l(t.resultList,(function(e,n){return r("table",{key:n,staticClass:"table-common",attrs:{border:"1",cellspacing:"0"}},[r("tbody",[r("tr",t._l(e[1],(function(e,n){return r("td",{key:n,attrs:{colspan:e.lengthNum}},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("掌握率:"+t._s(e.master)+"%")])])})),0),r("tr",t._l(e[2],(function(e,n){return r("td",{key:n,attrs:{colspan:e.lengthNum}},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("掌握率:"+t._s(e.master)+"%")])])})),0),r("tr",t._l(e[3],(function(e,n){return r("td",{key:n},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("评级:"),r("span",{style:{color:"掌握"==e.masterStatus?"green":"red"}},[t._v(t._s(e.masterStatus))])])])})),0)])])})),0):t._e(),t.treeToObj[1][0].grade+t.treeToObj[1][0].subjectId=="9Y2"?r("div",{staticClass:"sec"},[t._l(t.resultList,(function(e,n){return r("table",{key:n,staticClass:"table-common special1",class:{smallWidth:2==n},attrs:{border:"1",cellspacing:"0"}},[r("tbody",[r("tr",t._l(e[1],(function(e,n){return r("td",{key:n,attrs:{colspan:e.lengthNum}},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("掌握率:"+t._s(e.master)+"%")])])})),0),r("tr",t._l(e[2],(function(e,n){return r("td",{key:n,attrs:{colspan:e.lengthNum}},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("掌握率:"+t._s(e.master)+"%")])])})),0),r("tr",t._l(e[3],(function(e,n){return r("td",{key:n},[r("p",[t._v(t._s(e.content))]),r("p",[t._v("评级:"),r("span",{style:{background:t.colorMap[e.masterStatus]}},[t._v(t._s(e.masterLevel))])])])})),0)])])})),r("img",{staticClass:"hint-img",attrs:{src:n("f606")}})],2):t._e(),t.treeToObj[1][0].grade+t.treeToObj[1][0].subjectId=="9Y2"?r("div",{staticClass:"problem-part"},[r("ul",t._l(t.problemList,(function(e,n){return r("li",{key:n},[r("div",[r("p",[t._v(t._s(e.step)+":")]),r("p",[t._v("达成率:"),r("span",{style:{background:t.colorMap[e.masterStatus]}},[t._v(t._s(e.master)+"%")])])])])})),0),r("ul",t._l(t.problemList,(function(e,n){return r("li",{key:n},[r("div",{style:{background:t.colorMap[e.masterStatus]}}),r("div",[r("i"),r("ul",t._l(e.minds,(function(e,n){return r("li",{key:n},[r("i"),r("i"),r("p",{style:{background:e.mistake?"#f9a0a0":t.white}},[r("span",[t._v(t._s(e.content))])])])})),0)])])})),0),r("img",{attrs:{src:n("891a")}})]):t._e()])},i=[],u=(n("20d6"),n("6c7b"),n("ac6a"),n("1c31")),a=n("1aa9"),c={name:"Knowledge",components:{},data:function(){return{treeToObj:{1:[{}],2:[{}],3:[{}]},resultList:[],subjectMap:a["d"],colorMap:{green:"#00b050",red:"#ff0000",yellow:"#ffc000"},problemList:[]}},computed:{},created:function(){var t=this;console.log(this.$route.query.resultId),Object(u["e"])(this.$route.params.pid,this.$route.params.uid,this.$route.query.resultId).then((function(e){t.splitNodeLevel(e.knowledges,1),t.subjectMap[t.treeToObj[1][0].grade+t.treeToObj[1][0].subjectId].forEach((function(e){var n=JSON.parse(JSON.stringify(t.treeToObj));t.resultList.push(t.splitTreeList(n,e,3,[]))})),console.log(t.resultList),t.treeToObj[1][0].grade+t.treeToObj[1][0].subjectId=="9Y2"&&Object(u["a"])(t.$route.params.pid,t.$route.params.uid,t.$route.query.resultId).then((function(e){t.problemList=e}))}))},methods:{splitNodeLevel:function(t,e){var n=this,r=[];this.treeToObj[e]=[],t.forEach((function(t){t.children&&(r=r.concat(t.children)),n.treeToObj[e].push(Object.assign(JSON.parse(JSON.stringify(t)),{children:[]}))})),r.length&&this.splitNodeLevel(r,e+1)},splitTreeList:function(t,e,n,r){var i={start:0,end:0},u=[];e.end=-1==e.end?t[n].length-1:e.end,t[n]=t[n].slice(e.start,e.end+1),r.length||(r=new Array(t[n].length).fill(1));for(var a=0,c=0;c<t[n].length;c++)t[n][c].lengthNum=r[c],0==c?a=r[c]:t[n][c].parentId==t[n][c-1].parentId?a+=r[c]:(u.push(a),a=r[c]),c==t[n].length-1&&u.push(a);return 1==n?t:(i.start=t[n-1].findIndex((function(e){return e.id==t[n][0].parentId})),i.end=t[n-1].findIndex((function(e){return e.id==t[n][t[n].length-1].parentId})),this.splitTreeList(t,i,n-1,u))},splitTreeData:function(t,e){var n=this,r=[];return t.forEach((function(t,i){var u=Object.assign(JSON.parse(JSON.stringify(e)),{children:[]});n.cutData(u,t,e.children,n.colorChoose[i]),r.push(u)})),r},cutData:function(t,e,n,r){this.$set(t,"countNum",0),this.$set(t,"background",r[0]);for(var i=1,u=0;u<n.length;u++){if(!(-1==e||t.countNum+n[u].children.length<=e)){var a=Object.assign(JSON.parse(JSON.stringify(n[u])),{children:n[u].children.slice(0,e-t.countNum)});a.background=r[i++],a.childBackground=r[i++],t.children.push(a),n[u].children=n[u].children.slice(e-t.countNum,n[u].children.length),t.countNum=e;break}t.countNum+=n[u].children.length,n[u].background=r[i++],n[u].childBackground=r[i++],t.children.push(n.shift()),u--}},returnBack:function(){this.$router.push({path:"/ctrlApp/ctrlMainPage/paperListSimple"})}}},o=c,s=(n("10ab"),n("2877")),d=Object(s["a"])(o,r,i,!1,null,"49a8f380",null);e["a"]=d.exports},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),u=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[u],null===e&&(e=void 0))),void 0===e?Array:e}},f606:function(t,e,n){t.exports=n.p+"img/hint.14bfdf55.png"}}]);