diff --git a/source/vue/xzs-student/src/views/dashboard/index.vue b/source/vue/xzs-student/src/views/dashboard/index.vue index 8e95ebd..93906ab 100644 --- a/source/vue/xzs-student/src/views/dashboard/index.vue +++ b/source/vue/xzs-student/src/views/dashboard/index.vue @@ -89,29 +89,6 @@ - -

推送试卷

-
- - - -
- {{item.name}} -

- {{item.startTime}} -
- {{item.endTime}} -

-
- - 开始做题 - -
-
-
-
-
-
diff --git a/source/xzs/src/main/resources/static/student/index.html b/source/xzs/src/main/resources/static/student/index.html index f60d0ab..ab82efc 100644 --- a/source/xzs/src/main/resources/static/student/index.html +++ b/source/xzs/src/main/resources/static/student/index.html @@ -14,4 +14,4 @@ hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) - })()
\ No newline at end of file + })()
\ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/css/chunk-8c5c63e0.df76382f.css b/source/xzs/src/main/resources/static/student/static/css/chunk-8c5c63e0.df76382f.css deleted file mode 100644 index 2dbd5a0..0000000 --- a/source/xzs/src/main/resources/static/student/static/css/chunk-8c5c63e0.df76382f.css +++ /dev/null @@ -1 +0,0 @@ -.index-title-h3[data-v-21daf85a]{font-size:22px;font-weight:400;color:#1f2f3d;border-left:10px solid #2ce8b4;padding-left:10px}.el-carousel__item h3[data-v-21daf85a]{color:#475669;font-size:18px;opacity:.75;line-height:300px;margin:0}.el-carousel__item[data-v-21daf85a]:nth-child(2n){background-color:#99a9bf}.el-carousel__item[data-v-21daf85a]:nth-child(odd){background-color:#d3dce6}.bottom[data-v-21daf85a]{margin-top:13px;line-height:12px}.button[data-v-21daf85a]{padding:0;float:right}.image[data-v-21daf85a]{width:50%;height:80%;display:block;margin:20px auto 10px auto}.clearfix[data-v-21daf85a]:after,.clearfix[data-v-21daf85a]:before{display:table;content:""}.clearfix[data-v-21daf85a]:after{clear:both} \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/css/chunk-bd32f434.c49a2505.css b/source/xzs/src/main/resources/static/student/static/css/chunk-bd32f434.c49a2505.css new file mode 100644 index 0000000..9a3940e --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/css/chunk-bd32f434.c49a2505.css @@ -0,0 +1 @@ +.index-title-h3[data-v-0162da02]{font-size:22px;font-weight:400;color:#1f2f3d;border-left:10px solid #2ce8b4;padding-left:10px}.el-carousel__item h3[data-v-0162da02]{color:#475669;font-size:18px;opacity:.75;line-height:300px;margin:0}.el-carousel__item[data-v-0162da02]:nth-child(2n){background-color:#99a9bf}.el-carousel__item[data-v-0162da02]:nth-child(odd){background-color:#d3dce6}.bottom[data-v-0162da02]{margin-top:13px;line-height:12px}.button[data-v-0162da02]{padding:0;float:right}.image[data-v-0162da02]{width:50%;height:80%;display:block;margin:20px auto 10px auto}.clearfix[data-v-0162da02]:after,.clearfix[data-v-0162da02]:before{display:table;content:""}.clearfix[data-v-0162da02]:after{clear:both} \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/img/show3.c6a482d1.png b/source/xzs/src/main/resources/static/student/static/img/show3.c6a482d1.png deleted file mode 100644 index b14d8f9..0000000 Binary files a/source/xzs/src/main/resources/static/student/static/img/show3.c6a482d1.png and /dev/null differ diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-8c5c63e0.b12ecd9a.js b/source/xzs/src/main/resources/static/student/static/js/chunk-8c5c63e0.b12ecd9a.js deleted file mode 100644 index 6274170..0000000 --- a/source/xzs/src/main/resources/static/student/static/js/chunk-8c5c63e0.b12ecd9a.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8c5c63e0"],{4138:function(t,e,a){t.exports=a.p+"static/img/show2.e831e7c2.png"},"4b84":function(t,e,a){t.exports=a.p+"static/img/3.8bf0150a.png"},"5ae8":function(t,e,a){"use strict";var A=a("89e4"),s=a.n(A);s.a},"7e3b":function(t,e,a){t.exports=a.p+"static/img/4.8f00b10d.png"},"830d":function(t,e,a){t.exports=a.p+"static/img/1.be57c566.png"},"89e4":function(t,e,a){},9406:function(t,e,a){"use strict";a.r(e);var A=function(){var t=this,e=t.$createElement,A=t._self._c||e;return A("div",{staticStyle:{"margin-top":"10px"}},[A("el-row",[A("el-carousel",{attrs:{interval:5e3,arrow:"always",type:"card"}},[A("el-carousel-item",[A("img",{staticClass:"carousel-img",attrs:{src:a("830d")}})]),A("el-carousel-item",[A("img",{staticClass:"carousel-img",attrs:{src:a("a62a")}})]),A("el-carousel-item",[A("img",{staticClass:"carousel-img",attrs:{src:a("4b84")}})]),A("el-carousel-item",[A("img",{staticClass:"carousel-img",attrs:{src:a("7e3b")}})])],1)],1),A("el-row",{staticClass:"app-item-contain"},[A("h3",{staticClass:"index-title-h3",staticStyle:{"border-left":"solid 10px #3651d4"}},[t._v("任务中心")]),A("div",{staticStyle:{"padding-left":"15px"}},[0!==t.taskList.length?A("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:t.taskLoading,expression:"taskLoading"}],attrs:{accordion:""}},t._l(t.taskList,(function(e){return A("el-collapse-item",{key:e.id,attrs:{title:e.title,name:e.id}},[A("table",{staticClass:"index-task-table"},t._l(e.paperItems,(function(e){return A("tr",{key:e.examPaperId},[A("td",{staticClass:"index-task-table-paper"},[t._v(" "+t._s(e.examPaperName)+" ")]),A("td",{attrs:{width:"70px"}},[null!==e.status?A("el-tag",{attrs:{type:t.statusTagFormatter(e.status),size:"mini"}},[t._v(" "+t._s(t.statusTextFormatter(e.status))+" ")]):t._e()],1),A("td",{attrs:{width:"80px"}},[null===e.status?A("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:e.examPaperId}}}},[A("el-button",{attrs:{type:"text",size:"small"}},[t._v("开始答题")])],1):1===e.status?A("router-link",{attrs:{target:"_blank",to:{path:"/edit",query:{id:e.examPaperAnswerId}}}},[A("el-button",{attrs:{type:"text",size:"small"}},[t._v("批改试卷")])],1):2===e.status?A("router-link",{attrs:{target:"_blank",to:{path:"/read",query:{id:e.examPaperAnswerId}}}},[A("el-button",{attrs:{type:"text",size:"small"}},[t._v("查看试卷")])],1):t._e()],1)])})),0)])})),1):t._e()],1)]),A("el-row",{staticClass:"app-item-contain"},[A("h3",{staticClass:"index-title-h3"},[t._v("固定试卷")]),A("div",{staticStyle:{"padding-left":"15px"}},t._l(t.fixedPaper,(function(e,s){return A("el-col",{key:s,attrs:{span:4,offset:s>0?1:0}},[A("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"body-style":{padding:"0px"}}},[A("img",{staticClass:"image",attrs:{src:a("b401")}}),A("div",{staticStyle:{padding:"14px"}},[A("span",[t._v(t._s(e.name))]),A("div",{staticClass:"bottom clearfix"},[A("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:e.id}}}},[A("el-button",{staticClass:"button",attrs:{type:"text"}},[t._v("开始做题")])],1)],1)])])],1)})),1)]),A("el-row",{staticClass:"app-item-contain"},[A("h3",{staticClass:"index-title-h3",staticStyle:{"border-left":"solid 10px rgb(220, 208, 65)"}},[t._v("时段试卷")]),A("div",{staticStyle:{"padding-left":"15px"}},t._l(t.timeLimitPaper,(function(e,s){return A("el-col",{key:s,attrs:{span:4,offset:s>0?1:0}},[A("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"body-style":{padding:"0px"}}},[A("img",{staticClass:"image",attrs:{src:a("4138")}}),A("div",{staticStyle:{padding:"14px"}},[A("span",[t._v(t._s(e.name))]),A("p",{staticClass:"index-limit-paper-time"},[A("span",[t._v(t._s(e.startTime))]),A("br"),A("span",[t._v(t._s(e.endTime))])]),A("div",{staticClass:"bottom clearfix"},[A("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:e.id}}}},[A("el-button",{staticClass:"button",attrs:{type:"text"}},[t._v("开始做题")])],1)],1)])])],1)})),1)]),A("el-row",{staticClass:"app-item-contain"},[A("h3",{staticClass:"index-title-h3",staticStyle:{"border-left":"solid 10px #e454b1"}},[t._v("推送试卷")]),A("div",{staticStyle:{"padding-left":"15px"}},t._l(t.pushPaper,(function(e,s){return A("el-col",{key:e,attrs:{span:4,offset:s>0?1:0}},[A("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"body-style":{padding:"0px"}}},[A("img",{staticClass:"image",attrs:{src:a("bd78")}}),A("div",{staticStyle:{padding:"14px"}},[A("span",[t._v(t._s(t.item.name))]),A("p",{staticClass:"index-limit-paper-time"},[A("span",[t._v(t._s(t.item.startTime))]),A("br"),A("span",[t._v(t._s(t.item.endTime))])]),A("div",{staticClass:"bottom clearfix"},[A("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:t.item.id}}}},[A("el-button",{staticClass:"button",attrs:{type:"text"}},[t._v("开始做题")])],1)],1)])])],1)})),1)])],1)},s=[],i=a("5530"),r=a("2f62"),n=a("b775"),o={index:function(){return Object(n["a"])("/api/student/dashboard/index")},task:function(){return Object(n["a"])("/api/student/dashboard/task")}},l={data:function(){return{fixedPaper:[],timeLimitPaper:[],pushPaper:[],loading:!1,taskLoading:!1,taskList:[]}},created:function(){var t=this;this.loading=!0,o.index().then((function(e){t.fixedPaper=e.response.fixedPaper,t.timeLimitPaper=e.response.timeLimitPaper,t.pushPaper=e.response.pushPaper,t.loading=!1})),this.taskLoading=!0,o.task().then((function(e){t.taskList=e.response,t.taskLoading=!1}))},methods:{statusTagFormatter:function(t){return this.enumFormat(this.statusTag,t)},statusTextFormatter:function(t){return this.enumFormat(this.statusEnum,t)}},computed:Object(i["a"])(Object(i["a"])({},Object(r["c"])("enumItem",["enumFormat"])),Object(r["e"])("enumItem",{statusEnum:function(t){return t.exam.examPaperAnswer.statusEnum},statusTag:function(t){return t.exam.examPaperAnswer.statusTag}}))},d=l,g=(a("5ae8"),a("2877")),c=Object(g["a"])(d,A,s,!1,null,"21daf85a",null);e["default"]=c.exports},a62a:function(t,e,a){t.exports=a.p+"static/img/2.29f439e3.png"},b401:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAN3ElEQVR4Xu2dT4hkVxXGz6n+Q8SRdHDjysyALsRFelaagKbjyj+LmWxEiGEmgpsEJt1o3UuZxXQWmrxbmB4XrjPRoESQTNwoBMwMgkYQMqOQhYjpXgrC9ARJINXVR+74XltT9ExXvTr33fOqv17OvHfed7/z/ereeu/Ve0z4gwNw4K4OMLyBA3Dg7g4AEKQDDtzDAQCCeMABAIIMwIF6DmAGqecb9jomDgCQY9JoDLOeAwCknm/Y65g4AECOSaMxzHoOAJB6vmGvY+JAKwHZ2tpaGQwGD5U9WmXmlWPSr7kfpoh8XkSYmX81HA7/0ev13sk56NYA8sILL5xcWFg4IyJrzHw2p2k4drMOiMhfiOgtInrTe/9mk0c3D0g5W2wR0fkmjcGxzDrw++Fw+N1er/fPJhSaBqTf718UkXUiwhKqiTS06Bgi8n3v/Y9TSzYJSDlrvE5Ea4cYsENEV0TkaqfT2e12u1dTm4T6zTjQ7/dvikj1YfiBiHyPmb9ARF8lok+NqxCR35w4ceKJZ5555j+pFJoDJISwKiKvM/PJsUFfY+ZNAJEqCvnrjgLCzO93u937K1VFUTzNzI6IHhxT+u5gMPjKc889968UIzAFSDlzvDe6pBKRW8y87py7nMIA1LTjwL0AiSpfeumljw0Ggx8R0QVm7lTKReTtDz/88Eubm5t72qMxA0gJRzxTsToy8BvMfN45d1174Khnz4GjAKkUv/jii99k5l+OQfKy9/472qMyA0gI4eXRM1UicmN5eXltY2NjV3vQqGfTgUkBier7/f63ReTnYyP5mnPud5qjMwFIv99fE5E4e9z+i8uq/f391V6vt605WNSy7cA0gMSRFEXxU2Z+eiQ3f3POPcTMojVSE4CEECIco2esTmNZpdXi9tSZFpDyO8lfmfkz1SiZ+clut/uq1qizAxJCiBcA4/Kqmj1e8d7joqBWh1tUZ1pA4tDi95FOp/PayDD/5Jx7RGvYFgC5QkRnqgENh8NTWFpptbddde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ybSf9uUSPJ7pPFhWlTVN5iIZIEdAEmeXy8Ph8I2mHimD0Nd3YPys1kilOJtcmgSUfr9/RkTWD5k1YjmTcCRbYo22opym45mt0eXWwSYicqXT6VyPs039Fibdc3XSB+ElVdFA8f39/XuNNX7i3+2ZZ7uxf7GP+/v728wcLzTeriUi8XrG2cP2jWesmHnd8rWypDNI1dNyzRkvGB6c/m2g3ziEbQeuEVGEw/SJm0YAqfpUrj/j40YPbkex3UOoS+DADhFtWp41RsfcKCDVgeOyS0TOMnM8iwFYEqTQWMmd8oTNJeszxrhvWQAZFxFnFmMNhRwlB2Y5HawkYaYyJgCZaQTYGQ4kdACAJDQXpdvvAABpfw8xgoQOAJCE5qJ0+x0AIO3vIUaQ0AEAktBclG6/AwCk/T3ECBI6AEASmovS7XcAgLS/hxhBQgcASEJzUbr9DvwXRluofeL9SlIAAAAASUVORK5CYII="},bd78:function(t,e,a){t.exports=a.p+"static/img/show3.c6a482d1.png"}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.9a6b2547.js b/source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.9a6b2547.js new file mode 100644 index 0000000..c1159c1 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-bd32f434.9a6b2547.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bd32f434"],{4138:function(t,A,e){t.exports=e.p+"static/img/show2.e831e7c2.png"},"4b84":function(t,A,e){t.exports=e.p+"static/img/3.8bf0150a.png"},"52a6":function(t,A,e){},"7e3b":function(t,A,e){t.exports=e.p+"static/img/4.8f00b10d.png"},"830d":function(t,A,e){t.exports=e.p+"static/img/1.be57c566.png"},9406:function(t,A,e){"use strict";e.r(A);var a=function(){var t=this,A=t.$createElement,a=t._self._c||A;return a("div",{staticStyle:{"margin-top":"10px"}},[a("el-row",[a("el-carousel",{attrs:{interval:5e3,arrow:"always",type:"card"}},[a("el-carousel-item",[a("img",{staticClass:"carousel-img",attrs:{src:e("830d")}})]),a("el-carousel-item",[a("img",{staticClass:"carousel-img",attrs:{src:e("a62a")}})]),a("el-carousel-item",[a("img",{staticClass:"carousel-img",attrs:{src:e("4b84")}})]),a("el-carousel-item",[a("img",{staticClass:"carousel-img",attrs:{src:e("7e3b")}})])],1)],1),a("el-row",{staticClass:"app-item-contain"},[a("h3",{staticClass:"index-title-h3",staticStyle:{"border-left":"solid 10px #3651d4"}},[t._v("任务中心")]),a("div",{staticStyle:{"padding-left":"15px"}},[0!==t.taskList.length?a("el-collapse",{directives:[{name:"loading",rawName:"v-loading",value:t.taskLoading,expression:"taskLoading"}],attrs:{accordion:""}},t._l(t.taskList,(function(A){return a("el-collapse-item",{key:A.id,attrs:{title:A.title,name:A.id}},[a("table",{staticClass:"index-task-table"},t._l(A.paperItems,(function(A){return a("tr",{key:A.examPaperId},[a("td",{staticClass:"index-task-table-paper"},[t._v(" "+t._s(A.examPaperName)+" ")]),a("td",{attrs:{width:"70px"}},[null!==A.status?a("el-tag",{attrs:{type:t.statusTagFormatter(A.status),size:"mini"}},[t._v(" "+t._s(t.statusTextFormatter(A.status))+" ")]):t._e()],1),a("td",{attrs:{width:"80px"}},[null===A.status?a("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:A.examPaperId}}}},[a("el-button",{attrs:{type:"text",size:"small"}},[t._v("开始答题")])],1):1===A.status?a("router-link",{attrs:{target:"_blank",to:{path:"/edit",query:{id:A.examPaperAnswerId}}}},[a("el-button",{attrs:{type:"text",size:"small"}},[t._v("批改试卷")])],1):2===A.status?a("router-link",{attrs:{target:"_blank",to:{path:"/read",query:{id:A.examPaperAnswerId}}}},[a("el-button",{attrs:{type:"text",size:"small"}},[t._v("查看试卷")])],1):t._e()],1)])})),0)])})),1):t._e()],1)]),a("el-row",{staticClass:"app-item-contain"},[a("h3",{staticClass:"index-title-h3"},[t._v("固定试卷")]),a("div",{staticStyle:{"padding-left":"15px"}},t._l(t.fixedPaper,(function(A,s){return a("el-col",{key:s,attrs:{span:4,offset:s>0?1:0}},[a("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"body-style":{padding:"0px"}}},[a("img",{staticClass:"image",attrs:{src:e("b401")}}),a("div",{staticStyle:{padding:"14px"}},[a("span",[t._v(t._s(A.name))]),a("div",{staticClass:"bottom clearfix"},[a("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:A.id}}}},[a("el-button",{staticClass:"button",attrs:{type:"text"}},[t._v("开始做题")])],1)],1)])])],1)})),1)]),a("el-row",{staticClass:"app-item-contain"},[a("h3",{staticClass:"index-title-h3",staticStyle:{"border-left":"solid 10px rgb(220, 208, 65)"}},[t._v("时段试卷")]),a("div",{staticStyle:{"padding-left":"15px"}},t._l(t.timeLimitPaper,(function(A,s){return a("el-col",{key:s,attrs:{span:4,offset:s>0?1:0}},[a("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"body-style":{padding:"0px"}}},[a("img",{staticClass:"image",attrs:{src:e("4138")}}),a("div",{staticStyle:{padding:"14px"}},[a("span",[t._v(t._s(A.name))]),a("p",{staticClass:"index-limit-paper-time"},[a("span",[t._v(t._s(A.startTime))]),a("br"),a("span",[t._v(t._s(A.endTime))])]),a("div",{staticClass:"bottom clearfix"},[a("router-link",{attrs:{target:"_blank",to:{path:"/do",query:{id:A.id}}}},[a("el-button",{staticClass:"button",attrs:{type:"text"}},[t._v("开始做题")])],1)],1)])])],1)})),1)])],1)},s=[],i=e("5530"),r=e("2f62"),n=e("b775"),o={index:function(){return Object(n["a"])("/api/student/dashboard/index")},task:function(){return Object(n["a"])("/api/student/dashboard/task")}},g={data:function(){return{fixedPaper:[],timeLimitPaper:[],pushPaper:[],loading:!1,taskLoading:!1,taskList:[]}},created:function(){var t=this;this.loading=!0,o.index().then((function(A){t.fixedPaper=A.response.fixedPaper,t.timeLimitPaper=A.response.timeLimitPaper,t.pushPaper=A.response.pushPaper,t.loading=!1})),this.taskLoading=!0,o.task().then((function(A){t.taskList=A.response,t.taskLoading=!1}))},methods:{statusTagFormatter:function(t){return this.enumFormat(this.statusTag,t)},statusTextFormatter:function(t){return this.enumFormat(this.statusEnum,t)}},computed:Object(i["a"])(Object(i["a"])({},Object(r["c"])("enumItem",["enumFormat"])),Object(r["e"])("enumItem",{statusEnum:function(t){return t.exam.examPaperAnswer.statusEnum},statusTag:function(t){return t.exam.examPaperAnswer.statusTag}}))},d=g,l=(e("d401"),e("2877")),m=Object(l["a"])(d,a,s,!1,null,"0162da02",null);A["default"]=m.exports},a62a:function(t,A,e){t.exports=e.p+"static/img/2.29f439e3.png"},b401:function(t,A){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAN3ElEQVR4Xu2dT4hkVxXGz6n+Q8SRdHDjysyALsRFelaagKbjyj+LmWxEiGEmgpsEJt1o3UuZxXQWmrxbmB4XrjPRoESQTNwoBMwMgkYQMqOQhYjpXgrC9ARJINXVR+74XltT9ExXvTr33fOqv17OvHfed7/z/ereeu/Ve0z4gwNw4K4OMLyBA3Dg7g4AEKQDDtzDAQCCeMABAIIMwIF6DmAGqecb9jomDgCQY9JoDLOeAwCknm/Y65g4AECOSaMxzHoOAJB6vmGvY+JAKwHZ2tpaGQwGD5U9WmXmlWPSr7kfpoh8XkSYmX81HA7/0ev13sk56NYA8sILL5xcWFg4IyJrzHw2p2k4drMOiMhfiOgtInrTe/9mk0c3D0g5W2wR0fkmjcGxzDrw++Fw+N1er/fPJhSaBqTf718UkXUiwhKqiTS06Bgi8n3v/Y9TSzYJSDlrvE5Ea4cYsENEV0TkaqfT2e12u1dTm4T6zTjQ7/dvikj1YfiBiHyPmb9ARF8lok+NqxCR35w4ceKJZ5555j+pFJoDJISwKiKvM/PJsUFfY+ZNAJEqCvnrjgLCzO93u937K1VFUTzNzI6IHhxT+u5gMPjKc889968UIzAFSDlzvDe6pBKRW8y87py7nMIA1LTjwL0AiSpfe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Hxv5Iv69vLy8unUnz42YjU/KkII54no5dE+eu9PpRrh+Gu8LZ3gUQWknJ7jqd0zI+bWfv95qoag7tEOjC2zKFVo4+wxGAzih+rtX6KKyK3l5eWTVj5U1QE57JeFVtaTR8cCW1QOjH+ql/9+WvM36iUc8Veo8RLB7b9UINbtrDogUcgha9j4w/+4jm3sAQB1DcF+/3dgfBYhol0iekyrjyGEuIyLy7nqb2dpaWnVyuwRRSUBpPxkiDBUZ0LisVTNRZDTOzB+8bc84i4zPz7Lr0XLfLxOROOnj1VnKA2HkgBSfhdZFZH4KJ/7x4QmPSOiYQpq3DGL3PGFvfofZt5cXFz8ybSf9uUSPJ7pPFhWlTVN5iIZIEdAEmeXy8Ph8I2mHimD0Nd3YPys1kilOJtcmgSUfr9/RkTWD5k1YjmTcCRbYo22opym45mt0eXWwSYicqXT6VyPs039Fibdc3XSB+ElVdFA8f39/XuNNX7i3+2ZZ7uxf7GP+/v728wcLzTeriUi8XrG2cP2jWesmHnd8rWypDNI1dNyzRkvGB6c/m2g3ziEbQeuEVGEw/SJm0YAqfpUrj/j40YPbkex3UOoS+DADhFtWp41RsfcKCDVgeOyS0TOMnM8iwFYEqTQWMmd8oTNJeszxrhvWQAZFxFnFmMNhRwlB2Y5HawkYaYyJgCZaQTYGQ4kdACAJDQXpdvvAABpfw8xgoQOAJCE5qJ0+x0AIO3vIUaQ0AEAktBclG6/AwCk/T3ECBI6AEASmovS7XcAgLS/hxhBQgcASEJzUbr9DvwXRluofeL9SlIAAAAASUVORK5CYII="},d401:function(t,A,e){"use strict";var a=e("52a6"),s=e.n(a);s.a}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/index.6204be24.js b/source/xzs/src/main/resources/static/student/static/js/index.8b77f25a.js similarity index 99% rename from source/xzs/src/main/resources/static/student/static/js/index.6204be24.js rename to source/xzs/src/main/resources/static/student/static/js/index.8b77f25a.js index 5b6a1ad..b0ec045 100644 --- a/source/xzs/src/main/resources/static/student/static/js/index.6204be24.js +++ b/source/xzs/src/main/resources/static/student/static/js/index.8b77f25a.js @@ -1 +1 @@ -(function(e){function t(t){for(var a,c,i=t[0],r=t[1],u=t[2],l=0,d=[];l'});s.a.add(i);t["default"]=i},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),c=n.n(a),o=n("c24f"),s={userName:c.a.get("studentUserName"),userInfo:c.a.get("studentUserInfo"),imagePath:c.a.get("studentImagePath"),messageCount:0},i={initUserInfo:function(e){var t=e.commit;o["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))},getUserMessageInfo:function(e){var t=e.commit;o["a"].getMessageCount().then((function(e){t("setMessageCount",e.response)}))}},r={setUserName:function(e,t){e.userName=t,c.a.set("studentUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,c.a.set("studentUserInfo",t,{expires:30})},setImagePath:function(e,t){e.imagePath=t,c.a.set("studentImagePath",t,{expires:30})},setMessageCount:function(e,t){e.messageCount=t},messageCountSubtract:function(e,t){e.messageCount=e.messageCount-t},clearLogin:function(e){c.a.remove("studentUserName"),c.a.remove("studentUserInfo"),c.a.remove("studentImagePath")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:i}},1195:function(e,t,n){e.exports=n.p+"static/img/avatar.37c3ea6b.png"},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1696:function(e,t,n){"use strict";var a=n("c12b"),c=n.n(a);c.a},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"28c9":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-gitee",use:"icon-gitee-usage",viewBox:"0 0 90 90",content:'\r\n \r\n'});s.a.add(i);t["default"]=i},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"2a4f":function(e,t,n){"use strict";var a=n("8da3"),c=n.n(a);c.a},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(i);t["default"]=i},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./exam.svg":"a978","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./fullscreen.svg":"9921","./gitee.svg":"28c9","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./question.svg":"ae00","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./social-github.svg":"6002","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),c=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view"),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)},s=[],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.transitionName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"back-to-ceiling",on:{click:e.backToTop}},[n("svg",{staticClass:"Icon Icon--backToTopArrow",staticStyle:{height:"16px",width:"16px"},attrs:{width:"16",height:"16",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"}},[n("path",{attrs:{d:"M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"}})])])])},r=[],u=(n("a9e3"),{name:"BackToTop",props:{visibilityHeight:{type:Number,default:400},backPosition:{type:Number,default:0},customStyle:{type:Object,default:function(){return{right:"20px",bottom:"20px",width:"30px",height:"30px","border-radius":"4px","line-height":"35px",background:"#e7eaf1"}}},transitionName:{type:String,default:"fade"}},data:function(){return{visible:!1,interval:null,isMoving:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.interval&&clearInterval(this.interval)},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){var e=this;if(!this.isMoving){var t=window.pageYOffset,n=0;this.isMoving=!0,this.interval=setInterval((function(){var a=Math.floor(e.easeInOutQuad(10*n,t,-t,500));a<=e.backPosition?(window.scrollTo(0,e.backPosition),clearInterval(e.interval),e.isMoving=!1):window.scrollTo(0,a),n++}),5)}},easeInOutQuad:function(e,t,n,a){return(e/=a/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}}),l=u,d=(n("1696"),n("2877")),h=Object(d["a"])(l,i,r,!1,null,"6caad8f8",null),v=h.exports,m={name:"App",components:{BackToTop:v}},f=m,w=Object(d["a"])(f,o,s,!1,null,null,null),p=w.exports,g=(n("d3b7"),n("8c4f")),b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-container",[a("el-header",{staticClass:"student-header",attrs:{height:"61"}},[a("div",{staticClass:"head-user"},[a("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[a("el-badge",{attrs:{"is-dot":0!==e.messageCount}},[a("el-avatar",{staticClass:"el-dropdown-avatar",attrs:{size:"medium",src:null===e.userInfo.imagePath?n("1195"):e.userInfo.imagePath}})],1),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/index"})}}},[e._v("个人中心")]),a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/message"})}}},[0!==e.messageCount?a("el-badge",{attrs:{value:e.messageCount}},[a("span",[e._v("消息中心")])]):e._e(),0===e.messageCount?a("span",[e._v("消息中心")]):e._e()],1),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1),a("el-menu",{staticClass:"el-menu-title",attrs:{mode:"horizontal","default-active":e.defaultUrl,router:!0}},[a("el-menu-item",{attrs:{index:"/index"}},[e._v("首页")]),a("el-menu-item",{attrs:{index:"/paper/index"}},[e._v("试卷中心")]),a("el-menu-item",{attrs:{index:"/record/index"}},[e._v("考试记录")]),a("el-menu-item",{attrs:{index:"/question/index"}},[e._v("错题本")])],1),a("div",[a("a",{attrs:{href:"/"}},[a("img",{attrs:{src:n("cf05"),height:"56"}})])])],1),a("el-main",{staticClass:"student-main"},[a("router-view")],1),a("el-footer",{staticClass:"student-footer",attrs:{height:"340"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"footer-main"},[a("h4",[e._v("产品介绍")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net",target:"_blank"}},[e._v("思维跳跃科技")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/sdd.html",target:"_blank"}},[e._v("思多多智能考试平台")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xdd.html",target:"_blank"}},[e._v("学多多考试系统")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xzs.html",target:"_blank"}},[e._v("学之思考试系统")])]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("关于我们")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("bafb")}})]),a("div",{staticClass:"footer-social"},[a("p",{staticClass:"footer-social-title"},[e._v("开源社区")]),a("a",{attrs:{href:"https://github.com/alvis-u/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"social-github"}})],1),a("a",{attrs:{href:"https://gitee.com/alvis-yu/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"gitee"}})],1)])])]),a("div",{staticClass:"foot-copyright"},[a("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")]),a("span",[e._v("|")]),a("span",[e._v("鄂ICP备20013047号")])])],1)},z=[],x=(n("c975"),n("5530")),y=n("2f62"),k=n("7ded"),M=n("c24f"),H={name:"Layout",data:function(){return{defaultUrl:"/index",userInfo:{imagePath:null}}},created:function(){var e=this;this.defaultUrl=this.routeSelect(this.$route.path),this.getUserMessageInfo(),M["a"].getCurrentUser().then((function(t){e.userInfo=t.response}))},watch:{$route:function(e,t){this.defaultUrl=this.routeSelect(e.path)}},methods:Object(x["a"])(Object(x["a"])({routeSelect:function(e){var t=["/","/index","/paper/index","/record/index","/question/index"];return t.indexOf(e)?e:null},logout:function(){var e=this;k["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(y["b"])("user",["getUserMessageInfo"])),Object(y["d"])("user",["clearLogin"])),computed:Object(x["a"])({},Object(y["e"])("user",{messageCount:function(e){return e.messageCount}}))},V=H,C=Object(d["a"])(V,b,z,!1,null,"577ea6f5",null),B=C.exports;c["default"].use(g["a"]);var L=new g["a"]({routes:[{path:"/login",name:"Login",component:function(){return n.e("chunk-5ec3b549").then(n.bind(null,"9ed6"))},meta:{title:"登录",bodyBackground:"#fbfbfb"}},{path:"/register",name:"Register",component:function(){return n.e("chunk-5e8e7022").then(n.bind(null,"d5c2"))},meta:{title:"注册",bodyBackground:"#fbfbfb"}},{path:"/",component:B,redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-8c5c63e0").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"首页"}}]},{path:"/paper",component:B,children:[{path:"index",component:function(){return n.e("chunk-b917c4bc").then(n.bind(null,"b14a"))},name:"PaperIndex",meta:{title:"试卷中心"}}]},{path:"/record",component:B,children:[{path:"index",component:function(){return n.e("chunk-8ea99dc6").then(n.bind(null,"caae"))},name:"RecordIndex",meta:{title:"考试记录"}}]},{path:"/question",component:B,children:[{path:"index",component:function(){return n.e("chunk-038d4306").then(n.bind(null,"114e"))},name:"QuestionErrorIndex",meta:{title:"错题本"}}]},{path:"/user",component:B,children:[{path:"index",component:function(){return n.e("chunk-2d20f362").then(n.bind(null,"b350"))},name:"UserInfo",meta:{title:"个人中心"}}]},{path:"/user",component:B,children:[{path:"message",component:function(){return n.e("chunk-096af9f1").then(n.bind(null,"35dd"))},name:"UserMessage",meta:{title:"消息中心"}}]},{path:"/do",name:"ExamPaperDo",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-7aa4492c")]).then(n.bind(null,"6cce"))},meta:{title:"试卷答题"}},{path:"/edit",name:"ExamPaperEdit",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-5e362585")]).then(n.bind(null,"beb3"))},meta:{title:"试卷批改"}},{path:"/read",name:"ExamPaperRead",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-00a370fd")]).then(n.bind(null,"2927"))},meta:{title:"试卷查看"}},{path:"*",component:function(){return n.e("chunk-889ecf22").then(n.bind(null,"1db4"))},meta:{title:"404"}}]});n("13d5"),n("ac1f"),n("5319"),n("ddb0");c["default"].use(y["a"]);var j=n("c653"),O=j.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=j(t);return e[n]=a.default,e}),{}),_=new y["a"].Store({modules:O}),T=_,P=(n("f5df1"),n("5c96")),E=n.n(P),I=(n("0fae"),n("b20f"),n("d81d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),S=[];n("25f0"),n("498a");function q(e){return/^(https?:|mailto:|tel:)/.test(e)}var U={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return q(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},N=U,A=(n("2a4f"),Object(d["a"])(N,I,S,!1,null,"d20c6df0",null)),$=A.exports;c["default"].component("svg-icon",$);var D=n("51ff"),R=function(e){return e.keys().map(e)};R(D);var F=n("323e"),Q=n.n(F);n("a5d8");c["default"].use(E.a,{size:"medium"}),c["default"].config.productionTip=!1,Q.a.configure({showSpinner:!1}),L.beforeEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Q.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",void 0!==t.meta.bodyBackground?document.querySelector("body").setAttribute("style","background: "+t.meta.bodyBackground):document.querySelector("body").removeAttribute("style"),t.path&&_hmt.push(["_trackPageview","/#"+t.fullPath]),a();case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}()),L.afterEach((function(e,t,n){Q.a.done()})),c["default"].prototype.$$router=L,new c["default"]({router:L,store:T,render:function(e){return e(p)}}).$mount("#app")},6002:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-social-github",use:"icon-social-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"7ded":function(e,t,n){"use strict";var a=n("b775");t["a"]={login:function(e){return Object(a["b"])("/api/user/login",e)},logout:function(e){return Object(a["a"])("/api/user/logout",e)}}},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(i);t["default"]=i},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8da3":function(e,t,n){},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),c=n("c418"),o={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,c=Object(a["a"])(e.subjects);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.id===t)return o.name+" ( "+o.levelName+" )"}}catch(s){c.e(s)}finally{c.f()}return null}}},i={initSubject:function(e){var t=e.commit;c["a"].list().then((function(e){t("setSubjects",e.response)}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:o,getters:s,actions:i,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(i);t["default"]=i},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),c=n.n(a),o=n("2b0e"),s=function(e,t){var n;return e&&(n=o["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),c.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):500===t.data.code||501===t.data.code?Promise.reject(t.data):502===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),o["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},i=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!1,n)},r=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bafb:function(e,t,n){e.exports=n.p+"static/img/4.bd069cc5.jpg"},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},c12b:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={createUser:function(e){return Object(a["a"])("/api/student/user/edit",e)},getCurrentUser:function(){return Object(a["a"])("/api/student/user/current")},getUserEvent:function(){return Object(a["a"])("/api/student/user/log")},update:function(e){return Object(a["a"])("/api/student/user/update",e)},messagePageList:function(e){return Object(a["a"])("/api/student/user/message/page",e)},read:function(e){return Object(a["a"])("/api/student/user/message/read/"+e)},getMessageCount:function(){return Object(a["a"])("/api/student/user/message/unreadCount")}}},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/student/education/subject/list")},select:function(e){return Object(a["a"])("/api/student/education/subject/select/"+e)}}},c653:function(e,t,n){var a={"./enumItem.js":"f1e5","./exam.js":"a615","./user.js":"0f9a"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(i);t["default"]=i},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.9e385549.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),c={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],levelEnum:[{key:1,value:"一年级"},{key:2,value:"二年级"},{key:3,value:"三年级"},{key:4,value:"四年级"},{key:5,value:"五年级"},{key:6,value:"六年级"},{key:7,value:"初一"},{key:8,value:"初二"},{key:9,value:"初三"},{key:10,value:"高一"},{key:11,value:"高二"},{key:12,value:"高三"}],roleEnum:[{key:1,value:"学生"},{key:2,value:"教师"},{key:3,value:"管理员"}],message:{readTag:[{key:!0,value:"success"},{key:!1,value:"warning"}],readText:[{key:!0,value:"已读"},{key:!1,value:"未读"}]}},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"}]},examPaperAnswer:{statusEnum:[{key:1,value:"待批改"},{key:2,value:"完成"}],statusTag:[{key:1,value:"warning"},{key:2,value:"success"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],answer:{doRightTag:[{key:!0,value:"success"},{key:!1,value:"danger"},{key:null,value:"warning"}],doRightEnum:[{key:!0,value:"正确"},{key:!1,value:"错误"},{key:null,value:"待批改"}],doCompletedTag:[{key:!1,value:"info"},{key:!0,value:"success"}]}}}},o={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},i={},r=function(e,t){var n,c=Object(a["a"])(e);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.key===t)return o.value}}catch(s){c.e(s)}finally{c.f()}return null};t["default"]={namespaced:!0,state:c,getters:o,actions:s,mutations:i}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(i);t["default"]=i},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i}}); \ No newline at end of file +(function(e){function t(t){for(var a,c,i=t[0],r=t[1],u=t[2],l=0,d=[];l'});s.a.add(i);t["default"]=i},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),c=n.n(a),o=n("c24f"),s={userName:c.a.get("studentUserName"),userInfo:c.a.get("studentUserInfo"),imagePath:c.a.get("studentImagePath"),messageCount:0},i={initUserInfo:function(e){var t=e.commit;o["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))},getUserMessageInfo:function(e){var t=e.commit;o["a"].getMessageCount().then((function(e){t("setMessageCount",e.response)}))}},r={setUserName:function(e,t){e.userName=t,c.a.set("studentUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,c.a.set("studentUserInfo",t,{expires:30})},setImagePath:function(e,t){e.imagePath=t,c.a.set("studentImagePath",t,{expires:30})},setMessageCount:function(e,t){e.messageCount=t},messageCountSubtract:function(e,t){e.messageCount=e.messageCount-t},clearLogin:function(e){c.a.remove("studentUserName"),c.a.remove("studentUserInfo"),c.a.remove("studentImagePath")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:i}},1195:function(e,t,n){e.exports=n.p+"static/img/avatar.37c3ea6b.png"},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},1696:function(e,t,n){"use strict";var a=n("c12b"),c=n.n(a);c.a},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"28c9":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-gitee",use:"icon-gitee-usage",viewBox:"0 0 90 90",content:'\r\n \r\n'});s.a.add(i);t["default"]=i},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"2a4f":function(e,t,n){"use strict";var a=n("8da3"),c=n.n(a);c.a},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(i);t["default"]=i},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./exam.svg":"a978","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./fullscreen.svg":"9921","./gitee.svg":"28c9","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./question.svg":"ae00","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./social-github.svg":"6002","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),c=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view"),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)},s=[],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.transitionName}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"back-to-ceiling",on:{click:e.backToTop}},[n("svg",{staticClass:"Icon Icon--backToTopArrow",staticStyle:{height:"16px",width:"16px"},attrs:{width:"16",height:"16",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"}},[n("path",{attrs:{d:"M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z"}})])])])},r=[],u=(n("a9e3"),{name:"BackToTop",props:{visibilityHeight:{type:Number,default:400},backPosition:{type:Number,default:0},customStyle:{type:Object,default:function(){return{right:"20px",bottom:"20px",width:"30px",height:"30px","border-radius":"4px","line-height":"35px",background:"#e7eaf1"}}},transitionName:{type:String,default:"fade"}},data:function(){return{visible:!1,interval:null,isMoving:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.interval&&clearInterval(this.interval)},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){var e=this;if(!this.isMoving){var t=window.pageYOffset,n=0;this.isMoving=!0,this.interval=setInterval((function(){var a=Math.floor(e.easeInOutQuad(10*n,t,-t,500));a<=e.backPosition?(window.scrollTo(0,e.backPosition),clearInterval(e.interval),e.isMoving=!1):window.scrollTo(0,a),n++}),5)}},easeInOutQuad:function(e,t,n,a){return(e/=a/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}}),l=u,d=(n("1696"),n("2877")),h=Object(d["a"])(l,i,r,!1,null,"6caad8f8",null),v=h.exports,m={name:"App",components:{BackToTop:v}},f=m,w=Object(d["a"])(f,o,s,!1,null,null,null),p=w.exports,g=(n("d3b7"),n("8c4f")),b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-container",[a("el-header",{staticClass:"student-header",attrs:{height:"61"}},[a("div",{staticClass:"head-user"},[a("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[a("el-badge",{attrs:{"is-dot":0!==e.messageCount}},[a("el-avatar",{staticClass:"el-dropdown-avatar",attrs:{size:"medium",src:null===e.userInfo.imagePath?n("1195"):e.userInfo.imagePath}})],1),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/index"})}}},[e._v("个人中心")]),a("el-dropdown-item",{nativeOn:{click:function(t){return e.$router.push({path:"/user/message"})}}},[0!==e.messageCount?a("el-badge",{attrs:{value:e.messageCount}},[a("span",[e._v("消息中心")])]):e._e(),0===e.messageCount?a("span",[e._v("消息中心")]):e._e()],1),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1),a("el-menu",{staticClass:"el-menu-title",attrs:{mode:"horizontal","default-active":e.defaultUrl,router:!0}},[a("el-menu-item",{attrs:{index:"/index"}},[e._v("首页")]),a("el-menu-item",{attrs:{index:"/paper/index"}},[e._v("试卷中心")]),a("el-menu-item",{attrs:{index:"/record/index"}},[e._v("考试记录")]),a("el-menu-item",{attrs:{index:"/question/index"}},[e._v("错题本")])],1),a("div",[a("a",{attrs:{href:"/"}},[a("img",{attrs:{src:n("cf05"),height:"56"}})])])],1),a("el-main",{staticClass:"student-main"},[a("router-view")],1),a("el-footer",{staticClass:"student-footer",attrs:{height:"340"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"footer-main"},[a("h4",[e._v("产品介绍")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net",target:"_blank"}},[e._v("思维跳跃科技")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/sdd.html",target:"_blank"}},[e._v("思多多智能考试平台")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xdd.html",target:"_blank"}},[e._v("学多多考试系统")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/xzs.html",target:"_blank"}},[e._v("学之思考试系统")])]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("关于我们")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("bafb")}})]),a("div",{staticClass:"footer-social"},[a("p",{staticClass:"footer-social-title"},[e._v("开源社区")]),a("a",{attrs:{href:"https://github.com/alvis-u/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"social-github"}})],1),a("a",{attrs:{href:"https://gitee.com/alvis-yu/uexam",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"gitee"}})],1)])])]),a("div",{staticClass:"foot-copyright"},[a("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")]),a("span",[e._v("|")]),a("span",[e._v("鄂ICP备20013047号")])])],1)},z=[],x=(n("c975"),n("5530")),y=n("2f62"),k=n("7ded"),M=n("c24f"),H={name:"Layout",data:function(){return{defaultUrl:"/index",userInfo:{imagePath:null}}},created:function(){var e=this;this.defaultUrl=this.routeSelect(this.$route.path),this.getUserMessageInfo(),M["a"].getCurrentUser().then((function(t){e.userInfo=t.response}))},watch:{$route:function(e,t){this.defaultUrl=this.routeSelect(e.path)}},methods:Object(x["a"])(Object(x["a"])({routeSelect:function(e){var t=["/","/index","/paper/index","/record/index","/question/index"];return t.indexOf(e)?e:null},logout:function(){var e=this;k["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(y["b"])("user",["getUserMessageInfo"])),Object(y["d"])("user",["clearLogin"])),computed:Object(x["a"])({},Object(y["e"])("user",{messageCount:function(e){return e.messageCount}}))},V=H,C=Object(d["a"])(V,b,z,!1,null,"577ea6f5",null),B=C.exports;c["default"].use(g["a"]);var L=new g["a"]({routes:[{path:"/login",name:"Login",component:function(){return n.e("chunk-5ec3b549").then(n.bind(null,"9ed6"))},meta:{title:"登录",bodyBackground:"#fbfbfb"}},{path:"/register",name:"Register",component:function(){return n.e("chunk-5e8e7022").then(n.bind(null,"d5c2"))},meta:{title:"注册",bodyBackground:"#fbfbfb"}},{path:"/",component:B,redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-bd32f434").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"首页"}}]},{path:"/paper",component:B,children:[{path:"index",component:function(){return n.e("chunk-b917c4bc").then(n.bind(null,"b14a"))},name:"PaperIndex",meta:{title:"试卷中心"}}]},{path:"/record",component:B,children:[{path:"index",component:function(){return n.e("chunk-8ea99dc6").then(n.bind(null,"caae"))},name:"RecordIndex",meta:{title:"考试记录"}}]},{path:"/question",component:B,children:[{path:"index",component:function(){return n.e("chunk-038d4306").then(n.bind(null,"114e"))},name:"QuestionErrorIndex",meta:{title:"错题本"}}]},{path:"/user",component:B,children:[{path:"index",component:function(){return n.e("chunk-2d20f362").then(n.bind(null,"b350"))},name:"UserInfo",meta:{title:"个人中心"}}]},{path:"/user",component:B,children:[{path:"message",component:function(){return n.e("chunk-096af9f1").then(n.bind(null,"35dd"))},name:"UserMessage",meta:{title:"消息中心"}}]},{path:"/do",name:"ExamPaperDo",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-7aa4492c")]).then(n.bind(null,"6cce"))},meta:{title:"试卷答题"}},{path:"/edit",name:"ExamPaperEdit",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-5e362585")]).then(n.bind(null,"beb3"))},meta:{title:"试卷批改"}},{path:"/read",name:"ExamPaperRead",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-00a370fd")]).then(n.bind(null,"2927"))},meta:{title:"试卷查看"}},{path:"*",component:function(){return n.e("chunk-889ecf22").then(n.bind(null,"1db4"))},meta:{title:"404"}}]});n("13d5"),n("ac1f"),n("5319"),n("ddb0");c["default"].use(y["a"]);var j=n("c653"),O=j.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=j(t);return e[n]=a.default,e}),{}),_=new y["a"].Store({modules:O}),T=_,P=(n("f5df1"),n("5c96")),E=n.n(P),I=(n("0fae"),n("b20f"),n("d81d"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),S=[];n("25f0"),n("498a");function q(e){return/^(https?:|mailto:|tel:)/.test(e)}var U={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return q(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},N=U,A=(n("2a4f"),Object(d["a"])(N,I,S,!1,null,"d20c6df0",null)),$=A.exports;c["default"].component("svg-icon",$);var D=n("51ff"),R=function(e){return e.keys().map(e)};R(D);var F=n("323e"),Q=n.n(F);n("a5d8");c["default"].use(E.a,{size:"medium"}),c["default"].config.productionTip=!1,Q.a.configure({showSpinner:!1}),L.beforeEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:Q.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",void 0!==t.meta.bodyBackground?document.querySelector("body").setAttribute("style","background: "+t.meta.bodyBackground):document.querySelector("body").removeAttribute("style"),t.path&&_hmt.push(["_trackPageview","/#"+t.fullPath]),a();case 5:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}()),L.afterEach((function(e,t,n){Q.a.done()})),c["default"].prototype.$$router=L,new c["default"]({router:L,store:T,render:function(e){return e(p)}}).$mount("#app")},6002:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-social-github",use:"icon-social-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"7ded":function(e,t,n){"use strict";var a=n("b775");t["a"]={login:function(e){return Object(a["b"])("/api/user/login",e)},logout:function(e){return Object(a["a"])("/api/user/logout",e)}}},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(i);t["default"]=i},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8da3":function(e,t,n){},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),c=n("c418"),o={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,c=Object(a["a"])(e.subjects);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.id===t)return o.name+" ( "+o.levelName+" )"}}catch(s){c.e(s)}finally{c.f()}return null}}},i={initSubject:function(e){var t=e.commit;c["a"].list().then((function(e){t("setSubjects",e.response)}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:o,getters:s,actions:i,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(i);t["default"]=i},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(i);t["default"]=i},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(i);t["default"]=i},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),c=n.n(a),o=n("2b0e"),s=function(e,t){var n;return e&&(n=o["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),c.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):500===t.data.code||501===t.data.code?Promise.reject(t.data):502===t.data.code?(o["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),o["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},i=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!1,n)},r=function(e,t){var n={url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bafb:function(e,t,n){e.exports=n.p+"static/img/4.bd069cc5.jpg"},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},c12b:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={createUser:function(e){return Object(a["a"])("/api/student/user/edit",e)},getCurrentUser:function(){return Object(a["a"])("/api/student/user/current")},getUserEvent:function(){return Object(a["a"])("/api/student/user/log")},update:function(e){return Object(a["a"])("/api/student/user/update",e)},messagePageList:function(e){return Object(a["a"])("/api/student/user/message/page",e)},read:function(e){return Object(a["a"])("/api/student/user/message/read/"+e)},getMessageCount:function(){return Object(a["a"])("/api/student/user/message/unreadCount")}}},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/student/education/subject/list")},select:function(e){return Object(a["a"])("/api/student/education/subject/select/"+e)}}},c653:function(e,t,n){var a={"./enumItem.js":"f1e5","./exam.js":"a615","./user.js":"0f9a"};function c(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}c.keys=function(){return Object.keys(a)},c.resolve=o,e.exports=c,c.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(i);t["default"]=i},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.9e385549.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(i);t["default"]=i},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),c={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],levelEnum:[{key:1,value:"一年级"},{key:2,value:"二年级"},{key:3,value:"三年级"},{key:4,value:"四年级"},{key:5,value:"五年级"},{key:6,value:"六年级"},{key:7,value:"初一"},{key:8,value:"初二"},{key:9,value:"初三"},{key:10,value:"高一"},{key:11,value:"高二"},{key:12,value:"高三"}],roleEnum:[{key:1,value:"学生"},{key:2,value:"教师"},{key:3,value:"管理员"}],message:{readTag:[{key:!0,value:"success"},{key:!1,value:"warning"}],readText:[{key:!0,value:"已读"},{key:!1,value:"未读"}]}},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"}]},examPaperAnswer:{statusEnum:[{key:1,value:"待批改"},{key:2,value:"完成"}],statusTag:[{key:1,value:"warning"},{key:2,value:"success"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],answer:{doRightTag:[{key:!0,value:"success"},{key:!1,value:"danger"},{key:null,value:"warning"}],doRightEnum:[{key:!0,value:"正确"},{key:!1,value:"错误"},{key:null,value:"待批改"}],doCompletedTag:[{key:!1,value:"info"},{key:!0,value:"success"}]}}}},o={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},i={},r=function(e,t){var n,c=Object(a["a"])(e);try{for(c.s();!(n=c.n()).done;){var o=n.value;if(o.key===t)return o.value}}catch(s){c.e(s)}finally{c.f()}return null};t["default"]={namespaced:!0,state:c,getters:o,actions:s,mutations:i}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(i);t["default"]=i},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),c=n.n(a),o=n("21a1"),s=n.n(o),i=new c.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(i);t["default"]=i}}); \ No newline at end of file