diff --git a/source/vue/xzs-admin/.gitignore b/source/vue/xzs-admin/.gitignore index 7a85173b73bbfe47a799678d51ade4c794363190..2875dd6f56607d644c2aa5fd27bb1d569a58dbd1 100644 --- a/source/vue/xzs-admin/.gitignore +++ b/source/vue/xzs-admin/.gitignore @@ -20,3 +20,4 @@ yarn-error.log* *.njsproj *.sln *.sw? +/package-lock.json diff --git a/source/vue/xzs-admin/package-lock.json b/source/vue/xzs-admin/package-lock.json index ad2e865c04e29caf5301eba3c5fb05d7d1f84f82..d57128fa1dad14f51a0a66b56899c056239adf0d 100644 --- a/source/vue/xzs-admin/package-lock.json +++ b/source/vue/xzs-admin/package-lock.json @@ -12936,9 +12936,9 @@ } }, "vue-loader-v16": { - "version": "npm:vue-loader@16.0.0-rc.2", - "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.0.0-rc.2.tgz", - "integrity": "sha1-tqfn8w0o81ZZqD3kH0oYMaQjKgQ=", + "version": "npm:vue-loader@16.1.2", + "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.1.2.tgz?cache=0&sync_timestamp=1608188009078&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.1.2.tgz", + "integrity": "sha1-XAO2xQ0qX5g8fOuhXFDXjKKymPQ=", "dev": true, "optional": true, "requires": { @@ -13006,7 +13006,7 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1606205060845&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", + "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1608033330722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", "dev": true, "optional": true, diff --git a/source/vue/xzs-admin/public/index.html b/source/vue/xzs-admin/public/index.html index 0cb3413aa84689eff61a520b3d9929241776c2a2..0ecb70ea6a5410ef43f097aa6e86af76c2a16cec 100644 --- a/source/vue/xzs-admin/public/index.html +++ b/source/vue/xzs-admin/public/index.html @@ -8,7 +8,7 @@ - 学之思管理系统 + TEKSystem管理系统 \n \n \n background\n \n \n \n Layer 1\n \n \n'});s.a.add(o);t["default"]=o},"4a7e":function(e,t,n){},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 850 970.0000000000001",content:'\n\n \n background\n \n \n \n Layer 1\n \n \n \n \n'});s.a.add(o);t["default"]=o},"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","./doexampaper.svg":"beec","./doquestion.svg":"de4b","./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","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./log.svg":"fea0","./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","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./task.svg":"771b","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),i=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],o={name:"App"},r=o,l=n("2877"),u=Object(l["a"])(r,c,s,!1,null,null,null),d=u.exports,h=n("41cb"),v=n("4360"),f=(n("f5df1"),n("5c96")),m=n.n(f),p=(n("24ab"),n("b20f"),n("d81d"),n("d3b7"),n("ddb0"),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}})])}),w=[],b=n("61f7"),g={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(b["a"])(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%")}}}},x=g,y=(n("7251"),Object(l["a"])(x,p,w,!1,null,"936edfd4",null)),V=y.exports;i["default"].component("svg-icon",V);var k=n("51ff"),z=function(e){return e.keys().map(e)};z(k);var C=n("323e"),_=n.n(C);n("a5d8");i["default"].use(m.a,{size:"medium"}),i["default"].config.productionTip=!1,_.a.configure({showSpinner:!1}),h["b"].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:_.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",v["a"].commit("router/initRoutes"),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)}}()),h["b"].afterEach((function(){_.a.done()})),i["default"].prototype.$$router=h["b"],new i["default"]({router:h["b"],store:v["a"],render:function(e){return e(d)}}).$mount("#app")},"5efc":function(e,t,n){},"617f":function(e,t,n){},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("c975"),n("d3b7"),n("25f0"),n("498a");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"659a":function(e,t,n){},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 932",content:'\n\n \n background\n \n \n \n Layer 1\n \n \n \n'});s.a.add(o);t["default"]=o},"6e46":function(e,t,n){},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},7251:function(e,t,n){"use strict";n("2db6")},7509:function(e,t,n){"use strict";n.r(t);n("4de4"),n("caad"),n("c975"),n("fb6a"),n("45fc"),n("a434"),n("b0c0"),n("d3b7"),n("2532"),n("ddb0");var a=n("2909"),i=n("53ca"),c=n("3835"),s=n("b85c"),o={visitedViews:[],cachedViews:[]},r={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(c["a"])(n.value,2),o=i[0],r=i[1];if(r.path===t.path){e.visitedViews.splice(o,1);break}}}catch(l){a.e(l)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews.splice(c,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews=e.cachedViews.slice(c,c+1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t),e.currentView=i;break}}}catch(c){a.e(c)}finally{a.f()}}},l={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delCurrentView:function(e,t){var n,a=e.dispatch,c=e.state,o=t.$route,r=Object(s["a"])(c.visitedViews);try{var l=function(){var e=n.value;if(e.path===o.path)return{v:new Promise((function(t){a("delVisitedView",e),a("delCachedView",e),t()}))}};for(r.s();!(n=r.n()).done;){var u=l();if("object"===Object(i["a"])(u))return u.v}}catch(d){r.e(d)}finally{r.f()}},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(a["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(a["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(a["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(a["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;e.state;n("UPDATE_VISITED_VIEW",t)}};t["default"]={namespaced:!0,state:o,mutations:r,actions:l}},"771b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 900 900",content:'\n \n \n \n \n background\n \n \n \n Layer 1\n \n \n \n \n'});s.a.add(o);t["default"]=o},"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"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"87fc":function(e,t,n){"use strict";n("bfd3")},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a544:function(e,t,n){},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),i=n("c418"),c={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,i=Object(a["a"])(e.subjects);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.id===t)return c.name+" ( "+c.levelName+" )"}}catch(s){i.e(s)}finally{i.f()}return null}}},o={initSubject:function(e,t){var n=e.commit;i["a"].list().then((function(e){n("setSubjects",e.response),void 0!==t&&t()}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:c,getters:s,actions:o,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 850 850",content:'\n\n \n background\n \n \n \n Layer 1\n \n \n'});s.a.add(o);t["default"]=o},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 850 900",content:'\n \n \n \n \n background\n \n \n \n Layer 1\n \n \n'});s.a.add(o);t["default"]=o},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\n \n \n \n \n'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b53d:function(e,t,n){"use strict";n("28d0")},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),i=n.n(a),c=n("2b0e"),s=function(e,t){var n;return e&&(n=c["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),i.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(c["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?(c["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),c["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},o=function(e,t){var n={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,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={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bb61:function(e,t,n){"use strict";n("659a")},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},beec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doexampaper",use:"icon-doexampaper-usage",viewBox:"0 0 1024 1024",content:'\n \n \n \n \n \n'});s.a.add(o);t["default"]=o},bf69:function(e,t,n){"use strict";n("5efc")},bfd3:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={getUserPageList:function(e){return Object(a["a"])("/api/admin/user/page/list",e)},getUserEventPageList:function(e){return Object(a["a"])("/api/admin/user/event/page/list",e)},createUser:function(e){return Object(a["a"])("/api/admin/user/edit",e)},selectUser:function(e){return Object(a["a"])("/api/admin/user/select/"+e)},getCurrentUser:function(){return Object(a["a"])("/api/admin/user/current")},updateUser:function(e){return Object(a["a"])("/api/admin/user/update",e)},changeStatus:function(e){return Object(a["a"])("/api/admin/user/changeStatus/"+e)},deleteUser:function(e){return Object(a["a"])("/api/admin/user/delete/"+e)},selectByUserName:function(e){return Object(a["a"])("/api/admin/user/selectByUserName",e)}}},c3ea:function(e,t,n){"use strict";n("0f10")},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/admin/education/subject/list")},pageList:function(e){return Object(a["a"])("/api/admin/education/subject/page",e)},edit:function(e){return Object(a["a"])("/api/admin/education/subject/edit",e)},select:function(e){return Object(a["a"])("/api/admin/education/subject/select/"+e)},deleteSubject:function(e){return Object(a["a"])("/api/admin/education/subject/delete/"+e)}}},c653:function(e,t,n){var a={"./app.js":"d9cd","./enumItem.js":"f1e5","./exam.js":"a615","./router.js":"d3e9","./tagsView.js":"7509","./user.js":"0f9a"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(o);t["default"]=o},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.d99ccfc3.png"},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},cfaa:function(e,t,n){"use strict";n("e1eb")},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},d3e9:function(e,t,n){"use strict";n.r(t);var a=n("41cb"),i={routes:a["a"]},c={initRoutes:function(e){e.routes=a["a"]}},s={};t["default"]={namespaced:!0,state:i,mutations:c,actions:s}},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d9cd:function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},s={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){i.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,i.a.set("size",t)}},o={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}};t["default"]={namespaced:!0,state:c,mutations:s,actions:o}},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},de4b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doquestion",use:"icon-doquestion-usage",viewBox:"0 0 1024 1024",content:'\n \n \n'});s.a.add(o);t["default"]=o},de87:function(e,t,n){"use strict";n("a544")},e1eb:function(e,t,n){},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e855:function(e,t,n){"use strict";n("6e46")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),i={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],statusEnum:[{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:"管理员"}],statusTag:[{key:1,value:"success"},{key:2,value:"danger"}],statusBtn:[{key:1,value:"禁用"},{key:2,value:"启用"}]},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"},{key:6,value:"任务试卷"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],editUrlEnum:[{key:1,value:"/exam/question/edit/singleChoice",name:"单选题"},{key:2,value:"/exam/question/edit/multipleChoice",name:"多选题"},{key:3,value:"/exam/question/edit/trueFalse",name:"判断题"},{key:4,value:"/exam/question/edit/gapFilling",name:"填空题"},{key:5,value:"/exam/question/edit/shortAnswer",name:"简答题"}]}}},c={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},o={},r=function(e,t){var n,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.key===t)return c.value}}catch(s){i.e(s)}finally{i.f()}return null};t["default"]={namespaced:!0,state:i,getters:c,actions:s,mutations:o}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},fea0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 980 1024",content:'\n\n \n background\n \n \n \n Layer 1\n \n \n \n'});s.a.add(o);t["default"]=o}}); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/admin/static/js/index.d6d95467.js b/source/xzs/src/main/resources/static/admin/static/js/index.d6d95467.js new file mode 100644 index 0000000000000000000000000000000000000000..cda58e5307bf12ee58683bd14d771058b11a1dfb --- /dev/null +++ b/source/xzs/src/main/resources/static/admin/static/js/index.d6d95467.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var a,i,o=t[0],r=t[1],l=t[2],u=0,d=[];u'});s.a.add(o);t["default"]=o},"0f10":function(e,t,n){},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c=n("c24f"),s={userName:i.a.get("adminUserName"),userInfo:i.a.get("adminUserInfo")},o={initUserInfo:function(e){var t=e.commit;c["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))}},r={setUserName:function(e,t){e.userName=t,i.a.set("adminUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,i.a.set("adminUserInfo",t,{expires:30})},clearLogin:function(e){i.a.remove("adminUserName"),i.a.remove("adminUserInfo")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:o}},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"24ab":function(e,t,n){e.exports={theme:"#13C2C2"}},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2db6":function(e,t,n){},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3530:function(e,t,n){"use strict";n("617f")},3889:function(e,t,n){"use strict";n("4a7e")},"3f4d":function(e,t,n){},"41cb":function(e,t,n){"use strict";n.d(t,"a",(function(){return Qe})),n.d(t,"b",(function(){return Ze}));n("d3b7");var a,i,c=n("2b0e"),s=n("8c4f"),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"hasTagsView main-container"},[n("div",{staticClass:"fixed-header"},[n("navbar"),n("tags-view")],1),n("app-main"),e._m(0),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)],1)},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"foot-copyright"},[n("span",[e._v("Copyright © 2020 TekSystems")])])}],l=n("5530"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},d=[],h={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},v=h,m=(n("c3ea"),n("028b"),n("2877")),f=Object(m["a"])(v,u,d,!1,null,"66ac26db",null),p=f.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},[n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("span",[e._v(e._s(e.userName))]),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/profile/index"}},[n("el-dropdown-item",[e._v("个人信息")])],1),n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("主页")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1)],1)},b=[],g=n("2f62"),x=n("7ded"),y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},V=[],k=(n("99af"),n("4de4"),n("b0c0"),n("2ca0"),n("498a"),n("bd11")),z=n.n(k),C={data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:"主页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=z.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},_=C,M=(n("bb61"),Object(m["a"])(_,y,V,!1,null,"37f23bc2",null)),L=M.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},B=[],O={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},E=O,j=(n("87fc"),Object(m["a"])(E,H,B,!1,null,"4cdd7c8d",null)),T=j.exports,S={components:{Breadcrumb:L,Hamburger:T},computed:Object(l["a"])({},Object(g["c"])(["sidebar","device","userName"])),methods:Object(l["a"])({toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;x["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(g["d"])("user",["clearLogin"]))},P=S,$=(n("3530"),Object(m["a"])(P,w,b,!1,null,"5112ebd2",null)),A=$.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"has-logo"},[n("logo",{attrs:{collapse:e.isCollapse}}),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},D=[],q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[a("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?a("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):a("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},U=[],N={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"TEKSystem管理系统"}}},W=N,R=(n("c44c"),Object(m["a"])(W,q,U,!1,null,"1f5fd947",null)),F=R.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Y=[],Q=n("df7c"),Z=n.n(Q),J=n("61f7"),K={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,c=[];return a&&c.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&c.push(e("span",{slot:"title"},[i])),c}},X=K,ee=Object(m["a"])(X,a,i,!1,null,null,null),te=ee.exports,ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ae=[],ie={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(J["a"])(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},ce=ie,se=Object(m["a"])(ce,ne,ae,!1,null,null,null),oe=se.exports,re={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},le={name:"SidebarItem",components:{Item:te,AppLink:oe},mixins:[re],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(J["a"])(e)?e:Object(J["a"])(this.basePath)?this.basePath:Z.a.resolve(this.basePath,e)}}},ue=le,de=Object(m["a"])(ue,G,Y,!1,null,null,null),he=de.exports,ve=n("cf1e"),me=n.n(ve),fe={components:{SidebarItem:he,Logo:F},computed:Object(l["a"])(Object(l["a"])({},Object(g["c"])(["sidebar","routes"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},variables:function(){return me.a},isCollapse:function(){return!this.sidebar.opened}})},pe=fe,we=Object(m["a"])(pe,I,D,!1,null,null,null),be=we.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){return"button"in n&&1!==n.button?null:e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),t.meta.affix?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新")]),e.selectedTag.meta&&e.selectedTag.meta.affix?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭全部")])])],1)},xe=[],ye=(n("4160"),n("fb6a"),n("45fc"),n("ac1f"),n("5319"),n("159b"),n("b85c")),Ve=n("2909"),ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},ze=[],Ce=(n("c740"),4),_e={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,c=null,s=null;if(i.length>0&&(c=i[0],s=i[i.length-1]),c===e)a.scrollLeft=0;else if(s===e)a.scrollLeft=a.scrollWidth-n;else{var o=i.findIndex((function(t){return t===e})),r=i[o-1],l=i[o+1],u=l.$el.offsetLeft+l.$el.offsetWidth+Ce,d=r.$el.offsetLeft-Ce;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=Z.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(l["a"])({},e.meta)})}if(e.children){var c=t.filterAffixTags(e.children,e.path);c.length>=1&&(a=[].concat(Object(Ve["a"])(a),Object(Ve["a"])(c)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ye["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ye["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(c){a.e(c)}finally{a.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$route.fullPath!==this.selectedTag.fullPath&&this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var a=n.visitedViews;t.affixTags.some((function(t){return t.path===e.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,c=i-n,s=t.clientX-a+15;this.left=s>c?c:s,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1}}},Oe=Be,Ee=(n("bf69"),n("cfaa"),Object(m["a"])(Oe,ge,xe,!1,null,"0ad0fb7a",null)),je=Ee.exports,Te=n("4360"),Se=document,Pe=Se.body,$e=992,Ae={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Te["a"].dispatch("app/toggleDevice","mobile"),Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Pe.getBoundingClientRect();return e.width-1<$e},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();Te["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},Ie=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"}})])])])},De=[],qe=(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}}}),Ue=qe,Ne=(n("3889"),Object(m["a"])(Ue,Ie,De,!1,null,"191e1caa",null)),We=Ne.exports,Re={name:"Layout",components:{AppMain:p,Navbar:A,Sidebar:be,TagsView:je,BackToTop:We},mixins:[Ae],computed:Object(l["a"])(Object(l["a"])({},Object(g["e"])({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},Fe=Re,Ge=(n("ac8a"),Object(m["a"])(Fe,o,r,!1,null,"560c280e",null)),Ye=Ge.exports;c["default"].use(s["a"]);var Qe=[{path:"/redirect",component:Ye,hidden:!0,children:[{path:"/redirect/:path*",component:function(){return n.e("chunk-2d230fe7").then(n.bind(null,"ef3c"))}}]},{path:"/login",name:"Login",hidden:!0,component:function(){return n.e("chunk-1c4df292").then(n.bind(null,"9ed6"))},meta:{title:"登录"}},{path:"/",component:Ye,redirect:"/dashboard",children:[{path:"dashboard",component:function(){return n.e("chunk-111f3671").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"主页",icon:"home",affix:!0}}]},{path:"/user",component:Ye,name:"UserPage",meta:{title:"用户管理",icon:"users"},children:[{path:"student/list",component:function(){return n.e("chunk-bab2e2c4").then(n.bind(null,"822e"))},name:"UserStudentPageList",meta:{title:"学生列表",noCache:!0}},{path:"student/edit",component:function(){return n.e("chunk-2d221bd2").then(n.bind(null,"cc40"))},name:"UserStudentEdit",meta:{title:"学生编辑",noCache:!0,activeMenu:"/user/student/list"},hidden:!0},{path:"admin/list",component:function(){return n.e("chunk-157f9069").then(n.bind(null,"0c5d"))},name:"UserAdminPageList",meta:{title:"管理员列表",noCache:!0}},{path:"admin/edit",component:function(){return n.e("chunk-2d2300ef").then(n.bind(null,"eb51"))},name:"UserAdminEdit",meta:{title:"管理员编辑",noCache:!0,activeMenu:"/user/admin/list"},hidden:!0}]},{path:"/exam",component:Ye,name:"ExamPage",meta:{title:"卷题管理",icon:"exam"},children:[{path:"paper/list",component:function(){return n.e("chunk-42236473").then(n.bind(null,"ef080"))},name:"ExamPaperPageList",meta:{title:"试卷列表",noCache:!0}},{path:"paper/edit",component:function(){return n.e("chunk-a85d3c1e").then(n.bind(null,"beb3"))},name:"ExamPaperEdit",meta:{title:"试卷编辑",noCache:!0,activeMenu:"/exam/paper/list"},hidden:!0},{path:"question/list",component:function(){return n.e("chunk-4010637e").then(n.bind(null,"3af7"))},name:"ExamQuestionPageList",meta:{title:"题目列表",noCache:!0}},{path:"question/edit/singleChoice",component:function(){return n.e("chunk-d0753fda").then(n.bind(null,"0798"))},name:"singleChoicePage",meta:{title:"单选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/multipleChoice",component:function(){return n.e("chunk-75f11c77").then(n.bind(null,"1b2c"))},name:"multipleChoicePage",meta:{title:"多选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/trueFalse",component:function(){return n.e("chunk-78234ca2").then(n.bind(null,"a305"))},name:"trueFalsePage",meta:{title:"判断题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/gapFilling",component:function(){return n.e("chunk-793f0082").then(n.bind(null,"6d4c"))},name:"gapFillingPage",meta:{title:"填空题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/shortAnswer",component:function(){return n.e("chunk-b1da6300").then(n.bind(null,"2fca"))},name:"shortAnswerPage",meta:{title:"简答题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0}]},{path:"/task",component:Ye,name:"TaskPage",meta:{title:"任务管理",icon:"task"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-066bbd34").then(n.bind(null,"93dc"))},name:"TaskListPage",meta:{title:"任务列表",noCache:!0}},{path:"edit",component:function(){return n.e("chunk-2baa78ac").then(n.bind(null,"2752"))},name:"TaskEditPage",meta:{title:"任务创建",noCache:!0}}]},{path:"/education",component:Ye,name:"EducationPage",meta:{title:"教育管理",icon:"education"},alwaysShow:!0,children:[{path:"industry/list",component:function(){return n.e("chunk-3e96bd8c").then(n.bind(null,"6466"))},name:"EducationIndustryPage",meta:{title:"industry列表",noCache:!0}},{path:"industry/edit",component:function(){return n.e("chunk-5bc4738d").then(n.bind(null,"18b7"))},name:"EducationIndustryEditPage",meta:{title:"industry编辑",noCache:!0,activeMenu:"/education/industry/list"},hidden:!0},{path:"subject/list",component:function(){return n.e("chunk-a9d03770").then(n.bind(null,"ee36"))},name:"EducationSubjectPage",meta:{title:"skill列表",noCache:!0}},{path:"subject/edit",component:function(){return n.e("chunk-2d0c138b").then(n.bind(null,"44b7"))},name:"EducationSubjectEditPage",meta:{title:"skill编辑",noCache:!0,activeMenu:"/education/subject/list"},hidden:!0}]},{path:"/message",component:Ye,name:"MessagePage",meta:{title:"消息中心",icon:"message"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-5bc3d75d").then(n.bind(null,"6e24"))},name:"MessageListPage",meta:{title:"消息列表",noCache:!0}},{path:"send",component:function(){return n.e("chunk-16f9edc1").then(n.bind(null,"93fd"))},name:"MessageSendPage",meta:{title:"消息发送",noCache:!0}}]},{path:"/log",component:Ye,name:"LogPage",meta:{title:"日志中心",icon:"log"},alwaysShow:!0,children:[{path:"user/list",component:function(){return n.e("chunk-360c43ba").then(n.bind(null,"bbb3"))},name:"LogUserPage",meta:{title:"用户日志",noCache:!0}}]},{path:"/profile",component:Ye,hidden:!0,children:[{path:"index",component:function(){return n.e("chunk-6092f506").then(n.bind(null,"ecac"))},name:"Profile",meta:{title:"个人简介",icon:"user",noCache:!0}}]},{path:"*",hidden:!0,component:function(){return n.e("chunk-873a42e2").then(n.bind(null,"1db4"))},meta:{title:"404",noCache:!0}}],Ze=new s["a"]({routes:Qe})},4360:function(e,t,n){"use strict";n("13d5"),n("d3b7"),n("ac1f"),n("5319"),n("ddb0");var a=n("2b0e"),i=n("2f62"),c={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},userName:function(e){return e.user.userName},routes:function(e){return e.router.routes}},s=c;a["default"].use(i["a"]);var o=n("c653"),r=o.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=o(t);return e[n]=a.default,e}),{}),l=new i["a"].Store({modules:r,getters:s});t["a"]=l},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 950 690",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"4a7e":function(e,t,n){},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 850 970.0000000000001",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"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","./doexampaper.svg":"beec","./doquestion.svg":"de4b","./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","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./log.svg":"fea0","./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","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./task.svg":"771b","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),i=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],o={name:"App"},r=o,l=n("2877"),u=Object(l["a"])(r,c,s,!1,null,null,null),d=u.exports,h=n("41cb"),v=n("4360"),m=(n("f5df1"),n("5c96")),f=n.n(m),p=(n("24ab"),n("b20f"),n("d81d"),n("d3b7"),n("ddb0"),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}})])}),w=[],b=n("61f7"),g={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(b["a"])(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%")}}}},x=g,y=(n("7251"),Object(l["a"])(x,p,w,!1,null,"936edfd4",null)),V=y.exports;i["default"].component("svg-icon",V);var k=n("51ff"),z=function(e){return e.keys().map(e)};z(k);var C=n("323e"),_=n.n(C);n("a5d8");i["default"].use(f.a,{size:"medium"}),i["default"].config.productionTip=!1,_.a.configure({showSpinner:!1}),h["b"].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:_.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",v["a"].commit("router/initRoutes"),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)}}()),h["b"].afterEach((function(){_.a.done()})),i["default"].prototype.$$router=h["b"],new i["default"]({router:h["b"],store:v["a"],render:function(e){return e(d)}}).$mount("#app")},"5efc":function(e,t,n){},"617f":function(e,t,n){},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("c975"),n("d3b7"),n("25f0"),n("498a");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"659a":function(e,t,n){},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 932",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"6e46":function(e,t,n){},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},7251:function(e,t,n){"use strict";n("2db6")},7509:function(e,t,n){"use strict";n.r(t);n("4de4"),n("caad"),n("c975"),n("fb6a"),n("45fc"),n("a434"),n("b0c0"),n("d3b7"),n("2532"),n("ddb0");var a=n("2909"),i=n("53ca"),c=n("3835"),s=n("b85c"),o={visitedViews:[],cachedViews:[]},r={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(c["a"])(n.value,2),o=i[0],r=i[1];if(r.path===t.path){e.visitedViews.splice(o,1);break}}}catch(l){a.e(l)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews.splice(c,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews=e.cachedViews.slice(c,c+1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t),e.currentView=i;break}}}catch(c){a.e(c)}finally{a.f()}}},l={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delCurrentView:function(e,t){var n,a=e.dispatch,c=e.state,o=t.$route,r=Object(s["a"])(c.visitedViews);try{var l=function(){var e=n.value;if(e.path===o.path)return{v:new Promise((function(t){a("delVisitedView",e),a("delCachedView",e),t()}))}};for(r.s();!(n=r.n()).done;){var u=l();if("object"===Object(i["a"])(u))return u.v}}catch(d){r.e(d)}finally{r.f()}},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(a["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(a["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(a["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(a["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;e.state;n("UPDATE_VISITED_VIEW",t)}};t["default"]={namespaced:!0,state:o,mutations:r,actions:l}},"771b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 900 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"77a3":function(e,t,n){},"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"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"87fc":function(e,t,n){"use strict";n("bfd3")},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),i=n("c418"),c={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,i=Object(a["a"])(e.subjects);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.id===t)return c.name+" ( "+c.levelName+" )"}}catch(s){i.e(s)}finally{i.f()}return null}}},o={initSubject:function(e,t){var n=e.commit;i["a"].list().then((function(e){n("setSubjects",e.response),void 0!==t&&t()}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:c,getters:s,actions:o,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 850 850",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ac8a:function(e,t,n){"use strict";n("f059")},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 850 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),i=n.n(a),c=n("2b0e"),s=function(e,t){var n;return e&&(n=c["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),i.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(c["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?(c["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),c["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},o=function(e,t){var n={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,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={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bb61:function(e,t,n){"use strict";n("659a")},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},beec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doexampaper",use:"icon-doexampaper-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},bf69:function(e,t,n){"use strict";n("5efc")},bfd3:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={getUserPageList:function(e){return Object(a["a"])("/api/admin/user/page/list",e)},getUserEventPageList:function(e){return Object(a["a"])("/api/admin/user/event/page/list",e)},createUser:function(e){return Object(a["a"])("/api/admin/user/edit",e)},selectUser:function(e){return Object(a["a"])("/api/admin/user/select/"+e)},getCurrentUser:function(){return Object(a["a"])("/api/admin/user/current")},updateUser:function(e){return Object(a["a"])("/api/admin/user/update",e)},changeStatus:function(e){return Object(a["a"])("/api/admin/user/changeStatus/"+e)},deleteUser:function(e){return Object(a["a"])("/api/admin/user/delete/"+e)},selectByUserName:function(e){return Object(a["a"])("/api/admin/user/selectByUserName",e)}}},c3ea:function(e,t,n){"use strict";n("0f10")},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/admin/skill/list")},pageList:function(e){return Object(a["a"])("/api/admin/skill/page",e)},edit:function(e){return Object(a["a"])("/api/admin/skill/edit",e)},select:function(e){return Object(a["a"])("/api/admin/skill/select/"+e)},deleteSubject:function(e){return Object(a["a"])("/api/admin/skill/delete/"+e)}}},c44c:function(e,t,n){"use strict";n("77a3")},c653:function(e,t,n){var a={"./app.js":"d9cd","./enumItem.js":"f1e5","./exam.js":"a615","./router.js":"d3e9","./tagsView.js":"7509","./user.js":"0f9a"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(o);t["default"]=o},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.d99ccfc3.png"},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},cfaa:function(e,t,n){"use strict";n("e1eb")},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},d3e9:function(e,t,n){"use strict";n.r(t);var a=n("41cb"),i={routes:a["a"]},c={initRoutes:function(e){e.routes=a["a"]}},s={};t["default"]={namespaced:!0,state:i,mutations:c,actions:s}},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d9cd:function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},s={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){i.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,i.a.set("size",t)}},o={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}};t["default"]={namespaced:!0,state:c,mutations:s,actions:o}},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},de4b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doquestion",use:"icon-doquestion-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},e1eb:function(e,t,n){},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e855:function(e,t,n){"use strict";n("6e46")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f059:function(e,t,n){},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),i={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],statusEnum:[{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:"管理员"}],statusTag:[{key:1,value:"success"},{key:2,value:"danger"}],statusBtn:[{key:1,value:"禁用"},{key:2,value:"启用"}]},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"},{key:6,value:"任务试卷"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],editUrlEnum:[{key:1,value:"/exam/question/edit/singleChoice",name:"单选题"},{key:2,value:"/exam/question/edit/multipleChoice",name:"多选题"},{key:3,value:"/exam/question/edit/trueFaltagsViewse",name:"判断题"},{key:4,value:"/exam/question/edit/gapFilling",name:"填空题"},{key:5,value:"/exam/question/edit/shortAnswer",name:"简答题"}]}}},c={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},o={},r=function(e,t){var n,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.key===t)return c.value}}catch(s){i.e(s)}finally{i.f()}return null};t["default"]={namespaced:!0,state:i,getters:c,actions:s,mutations:o}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},fea0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 980 1024",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o}}); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/admin/static/js/index.e8b5834b.js b/source/xzs/src/main/resources/static/admin/static/js/index.e8b5834b.js new file mode 100644 index 0000000000000000000000000000000000000000..c7c44fa9615f0c89050f1f1ad9017825737e6b0d --- /dev/null +++ b/source/xzs/src/main/resources/static/admin/static/js/index.e8b5834b.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var a,i,o=t[0],r=t[1],l=t[2],u=0,d=[];u'});s.a.add(o);t["default"]=o},"0f10":function(e,t,n){},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c=n("c24f"),s={userName:i.a.get("adminUserName"),userInfo:i.a.get("adminUserInfo")},o={initUserInfo:function(e){var t=e.commit;c["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))}},r={setUserName:function(e,t){e.userName=t,i.a.set("adminUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,i.a.set("adminUserInfo",t,{expires:30})},clearLogin:function(e){i.a.remove("adminUserName"),i.a.remove("adminUserInfo")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:o}},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"24ab":function(e,t,n){e.exports={theme:"#13C2C2"}},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2db6":function(e,t,n){},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3530:function(e,t,n){"use strict";n("617f")},3889:function(e,t,n){"use strict";n("4a7e")},"3f4d":function(e,t,n){},"41cb":function(e,t,n){"use strict";n.d(t,"a",(function(){return Qe})),n.d(t,"b",(function(){return Ze}));n("d3b7");var a,i,c=n("2b0e"),s=n("8c4f"),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"hasTagsView main-container"},[n("div",{staticClass:"fixed-header"},[n("navbar"),n("tags-view")],1),n("app-main"),e._m(0),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)],1)},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"foot-copyright"},[n("span",[e._v("Copyright © 2020 TekSystem 版权所有")])])}],l=n("5530"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},d=[],h={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},v=h,m=(n("c3ea"),n("028b"),n("2877")),f=Object(m["a"])(v,u,d,!1,null,"66ac26db",null),p=f.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},[n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("span",[e._v(e._s(e.userName))]),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/profile/index"}},[n("el-dropdown-item",[e._v("个人信息")])],1),n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("主页")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1)],1)},b=[],g=n("2f62"),x=n("7ded"),y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},V=[],k=(n("99af"),n("4de4"),n("b0c0"),n("2ca0"),n("498a"),n("bd11")),z=n.n(k),C={data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:"主页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=z.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},_=C,M=(n("bb61"),Object(m["a"])(_,y,V,!1,null,"37f23bc2",null)),L=M.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},B=[],O={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},E=O,j=(n("87fc"),Object(m["a"])(E,H,B,!1,null,"4cdd7c8d",null)),T=j.exports,S={components:{Breadcrumb:L,Hamburger:T},computed:Object(l["a"])({},Object(g["c"])(["sidebar","device","userName"])),methods:Object(l["a"])({toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;x["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(g["d"])("user",["clearLogin"]))},P=S,$=(n("3530"),Object(m["a"])(P,w,b,!1,null,"5112ebd2",null)),A=$.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"has-logo"},[n("logo",{attrs:{collapse:e.isCollapse}}),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},D=[],q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[a("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?a("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):a("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},U=[],N={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"TEKSystem管理系统"}}},W=N,R=(n("c44c"),Object(m["a"])(W,q,U,!1,null,"1f5fd947",null)),F=R.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Y=[],Q=n("df7c"),Z=n.n(Q),J=n("61f7"),K={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,c=[];return a&&c.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&c.push(e("span",{slot:"title"},[i])),c}},X=K,ee=Object(m["a"])(X,a,i,!1,null,null,null),te=ee.exports,ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ae=[],ie={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(J["a"])(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},ce=ie,se=Object(m["a"])(ce,ne,ae,!1,null,null,null),oe=se.exports,re={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},le={name:"SidebarItem",components:{Item:te,AppLink:oe},mixins:[re],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(J["a"])(e)?e:Object(J["a"])(this.basePath)?this.basePath:Z.a.resolve(this.basePath,e)}}},ue=le,de=Object(m["a"])(ue,G,Y,!1,null,null,null),he=de.exports,ve=n("cf1e"),me=n.n(ve),fe={components:{SidebarItem:he,Logo:F},computed:Object(l["a"])(Object(l["a"])({},Object(g["c"])(["sidebar","routes"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},variables:function(){return me.a},isCollapse:function(){return!this.sidebar.opened}})},pe=fe,we=Object(m["a"])(pe,I,D,!1,null,null,null),be=we.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){return"button"in n&&1!==n.button?null:e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),t.meta.affix?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新")]),e.selectedTag.meta&&e.selectedTag.meta.affix?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭全部")])])],1)},xe=[],ye=(n("4160"),n("fb6a"),n("45fc"),n("ac1f"),n("5319"),n("159b"),n("b85c")),Ve=n("2909"),ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},ze=[],Ce=(n("c740"),4),_e={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,c=null,s=null;if(i.length>0&&(c=i[0],s=i[i.length-1]),c===e)a.scrollLeft=0;else if(s===e)a.scrollLeft=a.scrollWidth-n;else{var o=i.findIndex((function(t){return t===e})),r=i[o-1],l=i[o+1],u=l.$el.offsetLeft+l.$el.offsetWidth+Ce,d=r.$el.offsetLeft-Ce;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=Z.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(l["a"])({},e.meta)})}if(e.children){var c=t.filterAffixTags(e.children,e.path);c.length>=1&&(a=[].concat(Object(Ve["a"])(a),Object(Ve["a"])(c)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ye["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ye["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(c){a.e(c)}finally{a.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$route.fullPath!==this.selectedTag.fullPath&&this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var a=n.visitedViews;t.affixTags.some((function(t){return t.path===e.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,c=i-n,s=t.clientX-a+15;this.left=s>c?c:s,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1}}},Oe=Be,Ee=(n("bf69"),n("cfaa"),Object(m["a"])(Oe,ge,xe,!1,null,"0ad0fb7a",null)),je=Ee.exports,Te=n("4360"),Se=document,Pe=Se.body,$e=992,Ae={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Te["a"].dispatch("app/toggleDevice","mobile"),Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Pe.getBoundingClientRect();return e.width-1<$e},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();Te["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},Ie=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"}})])])])},De=[],qe=(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}}}),Ue=qe,Ne=(n("3889"),Object(m["a"])(Ue,Ie,De,!1,null,"191e1caa",null)),We=Ne.exports,Re={name:"Layout",components:{AppMain:p,Navbar:A,Sidebar:be,TagsView:je,BackToTop:We},mixins:[Ae],computed:Object(l["a"])(Object(l["a"])({},Object(g["e"])({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},Fe=Re,Ge=(n("de87"),Object(m["a"])(Fe,o,r,!1,null,"7a2f84ff",null)),Ye=Ge.exports;c["default"].use(s["a"]);var Qe=[{path:"/redirect",component:Ye,hidden:!0,children:[{path:"/redirect/:path*",component:function(){return n.e("chunk-2d230fe7").then(n.bind(null,"ef3c"))}}]},{path:"/login",name:"Login",hidden:!0,component:function(){return n.e("chunk-1c4df292").then(n.bind(null,"9ed6"))},meta:{title:"登录"}},{path:"/",component:Ye,redirect:"/dashboard",children:[{path:"dashboard",component:function(){return n.e("chunk-111f3671").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"主页",icon:"home",affix:!0}}]},{path:"/user",component:Ye,name:"UserPage",meta:{title:"用户管理",icon:"users"},children:[{path:"student/list",component:function(){return n.e("chunk-bab2e2c4").then(n.bind(null,"822e"))},name:"UserStudentPageList",meta:{title:"学生列表",noCache:!0}},{path:"student/edit",component:function(){return n.e("chunk-2d221bd2").then(n.bind(null,"cc40"))},name:"UserStudentEdit",meta:{title:"学生编辑",noCache:!0,activeMenu:"/user/student/list"},hidden:!0},{path:"admin/list",component:function(){return n.e("chunk-157f9069").then(n.bind(null,"0c5d"))},name:"UserAdminPageList",meta:{title:"管理员列表",noCache:!0}},{path:"admin/edit",component:function(){return n.e("chunk-2d2300ef").then(n.bind(null,"eb51"))},name:"UserAdminEdit",meta:{title:"管理员编辑",noCache:!0,activeMenu:"/user/admin/list"},hidden:!0}]},{path:"/exam",component:Ye,name:"ExamPage",meta:{title:"卷题管理",icon:"exam"},children:[{path:"paper/list",component:function(){return n.e("chunk-42236473").then(n.bind(null,"ef080"))},name:"ExamPaperPageList",meta:{title:"试卷列表",noCache:!0}},{path:"paper/edit",component:function(){return n.e("chunk-a85d3c1e").then(n.bind(null,"beb3"))},name:"ExamPaperEdit",meta:{title:"试卷编辑",noCache:!0,activeMenu:"/exam/paper/list"},hidden:!0},{path:"question/list",component:function(){return n.e("chunk-4010637e").then(n.bind(null,"3af7"))},name:"ExamQuestionPageList",meta:{title:"题目列表",noCache:!0}},{path:"question/edit/singleChoice",component:function(){return n.e("chunk-d0753fda").then(n.bind(null,"0798"))},name:"singleChoicePage",meta:{title:"单选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/multipleChoice",component:function(){return n.e("chunk-75f11c77").then(n.bind(null,"1b2c"))},name:"multipleChoicePage",meta:{title:"多选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/trueFalse",component:function(){return n.e("chunk-78234ca2").then(n.bind(null,"a305"))},name:"trueFalsePage",meta:{title:"判断题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/gapFilling",component:function(){return n.e("chunk-793f0082").then(n.bind(null,"6d4c"))},name:"gapFillingPage",meta:{title:"填空题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/shortAnswer",component:function(){return n.e("chunk-b1da6300").then(n.bind(null,"2fca"))},name:"shortAnswerPage",meta:{title:"简答题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0}]},{path:"/task",component:Ye,name:"TaskPage",meta:{title:"任务管理",icon:"task"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-066bbd34").then(n.bind(null,"93dc"))},name:"TaskListPage",meta:{title:"任务列表",noCache:!0}},{path:"edit",component:function(){return n.e("chunk-2baa78ac").then(n.bind(null,"2752"))},name:"TaskEditPage",meta:{title:"任务创建",noCache:!0}}]},{path:"/education",component:Ye,name:"EducationPage",meta:{title:"教育管理",icon:"education"},alwaysShow:!0,children:[{path:"industry/list",component:function(){return n.e("chunk-3e96bd8c").then(n.bind(null,"6466"))},name:"EducationIndustryPage",meta:{title:"industry列表",noCache:!0}},{path:"industry/edit",component:function(){return n.e("chunk-5bc4738d").then(n.bind(null,"18b7"))},name:"EducationIndustryEditPage",meta:{title:"industry编辑",noCache:!0,activeMenu:"/education/industry/list"},hidden:!0},{path:"subject/list",component:function(){return n.e("chunk-a9d03770").then(n.bind(null,"ee36"))},name:"EducationSubjectPage",meta:{title:"skill列表",noCache:!0}},{path:"subject/edit",component:function(){return n.e("chunk-2d0c138b").then(n.bind(null,"44b7"))},name:"EducationSubjectEditPage",meta:{title:"skill编辑",noCache:!0,activeMenu:"/education/subject/list"},hidden:!0}]},{path:"/message",component:Ye,name:"MessagePage",meta:{title:"消息中心",icon:"message"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-5bc3d75d").then(n.bind(null,"6e24"))},name:"MessageListPage",meta:{title:"消息列表",noCache:!0}},{path:"send",component:function(){return n.e("chunk-16f9edc1").then(n.bind(null,"93fd"))},name:"MessageSendPage",meta:{title:"消息发送",noCache:!0}}]},{path:"/log",component:Ye,name:"LogPage",meta:{title:"日志中心",icon:"log"},alwaysShow:!0,children:[{path:"user/list",component:function(){return n.e("chunk-360c43ba").then(n.bind(null,"bbb3"))},name:"LogUserPage",meta:{title:"用户日志",noCache:!0}}]},{path:"/profile",component:Ye,hidden:!0,children:[{path:"index",component:function(){return n.e("chunk-6092f506").then(n.bind(null,"ecac"))},name:"Profile",meta:{title:"个人简介",icon:"user",noCache:!0}}]},{path:"*",hidden:!0,component:function(){return n.e("chunk-873a42e2").then(n.bind(null,"1db4"))},meta:{title:"404",noCache:!0}}],Ze=new s["a"]({routes:Qe})},4360:function(e,t,n){"use strict";n("13d5"),n("d3b7"),n("ac1f"),n("5319"),n("ddb0");var a=n("2b0e"),i=n("2f62"),c={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},userName:function(e){return e.user.userName},routes:function(e){return e.router.routes}},s=c;a["default"].use(i["a"]);var o=n("c653"),r=o.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=o(t);return e[n]=a.default,e}),{}),l=new i["a"].Store({modules:r,getters:s});t["a"]=l},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 950 690",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"4a7e":function(e,t,n){},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 850 970.0000000000001",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"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","./doexampaper.svg":"beec","./doquestion.svg":"de4b","./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","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./log.svg":"fea0","./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","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./task.svg":"771b","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),i=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],o={name:"App"},r=o,l=n("2877"),u=Object(l["a"])(r,c,s,!1,null,null,null),d=u.exports,h=n("41cb"),v=n("4360"),m=(n("f5df1"),n("5c96")),f=n.n(m),p=(n("24ab"),n("b20f"),n("d81d"),n("d3b7"),n("ddb0"),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}})])}),w=[],b=n("61f7"),g={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(b["a"])(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%")}}}},x=g,y=(n("7251"),Object(l["a"])(x,p,w,!1,null,"936edfd4",null)),V=y.exports;i["default"].component("svg-icon",V);var k=n("51ff"),z=function(e){return e.keys().map(e)};z(k);var C=n("323e"),_=n.n(C);n("a5d8");i["default"].use(f.a,{size:"medium"}),i["default"].config.productionTip=!1,_.a.configure({showSpinner:!1}),h["b"].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:_.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",v["a"].commit("router/initRoutes"),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)}}()),h["b"].afterEach((function(){_.a.done()})),i["default"].prototype.$$router=h["b"],new i["default"]({router:h["b"],store:v["a"],render:function(e){return e(d)}}).$mount("#app")},"5efc":function(e,t,n){},"617f":function(e,t,n){},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("c975"),n("d3b7"),n("25f0"),n("498a");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"659a":function(e,t,n){},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 932",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"6e46":function(e,t,n){},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},7251:function(e,t,n){"use strict";n("2db6")},7509:function(e,t,n){"use strict";n.r(t);n("4de4"),n("caad"),n("c975"),n("fb6a"),n("45fc"),n("a434"),n("b0c0"),n("d3b7"),n("2532"),n("ddb0");var a=n("2909"),i=n("53ca"),c=n("3835"),s=n("b85c"),o={visitedViews:[],cachedViews:[]},r={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(c["a"])(n.value,2),o=i[0],r=i[1];if(r.path===t.path){e.visitedViews.splice(o,1);break}}}catch(l){a.e(l)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews.splice(c,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews=e.cachedViews.slice(c,c+1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t),e.currentView=i;break}}}catch(c){a.e(c)}finally{a.f()}}},l={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delCurrentView:function(e,t){var n,a=e.dispatch,c=e.state,o=t.$route,r=Object(s["a"])(c.visitedViews);try{var l=function(){var e=n.value;if(e.path===o.path)return{v:new Promise((function(t){a("delVisitedView",e),a("delCachedView",e),t()}))}};for(r.s();!(n=r.n()).done;){var u=l();if("object"===Object(i["a"])(u))return u.v}}catch(d){r.e(d)}finally{r.f()}},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(a["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(a["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(a["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(a["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;e.state;n("UPDATE_VISITED_VIEW",t)}};t["default"]={namespaced:!0,state:o,mutations:r,actions:l}},"771b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 900 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"77a3":function(e,t,n){},"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"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"87fc":function(e,t,n){"use strict";n("bfd3")},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a544:function(e,t,n){},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),i=n("c418"),c={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,i=Object(a["a"])(e.subjects);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.id===t)return c.name+" ( "+c.levelName+" )"}}catch(s){i.e(s)}finally{i.f()}return null}}},o={initSubject:function(e,t){var n=e.commit;i["a"].list().then((function(e){n("setSubjects",e.response),void 0!==t&&t()}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:c,getters:s,actions:o,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 850 850",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 850 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),i=n.n(a),c=n("2b0e"),s=function(e,t){var n;return e&&(n=c["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),i.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(c["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?(c["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),c["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},o=function(e,t){var n={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,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={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},bb61:function(e,t,n){"use strict";n("659a")},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},beec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doexampaper",use:"icon-doexampaper-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},bf69:function(e,t,n){"use strict";n("5efc")},bfd3:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={getUserPageList:function(e){return Object(a["a"])("/api/admin/user/page/list",e)},getUserEventPageList:function(e){return Object(a["a"])("/api/admin/user/event/page/list",e)},createUser:function(e){return Object(a["a"])("/api/admin/user/edit",e)},selectUser:function(e){return Object(a["a"])("/api/admin/user/select/"+e)},getCurrentUser:function(){return Object(a["a"])("/api/admin/user/current")},updateUser:function(e){return Object(a["a"])("/api/admin/user/update",e)},changeStatus:function(e){return Object(a["a"])("/api/admin/user/changeStatus/"+e)},deleteUser:function(e){return Object(a["a"])("/api/admin/user/delete/"+e)},selectByUserName:function(e){return Object(a["a"])("/api/admin/user/selectByUserName",e)}}},c3ea:function(e,t,n){"use strict";n("0f10")},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/admin/skill/list")},pageList:function(e){return Object(a["a"])("/api/admin/skill/page",e)},edit:function(e){return Object(a["a"])("/api/admin/skill/edit",e)},select:function(e){return Object(a["a"])("/api/admin/skill/select/"+e)},deleteSubject:function(e){return Object(a["a"])("/api/admin/skill/delete/"+e)}}},c44c:function(e,t,n){"use strict";n("77a3")},c653:function(e,t,n){var a={"./app.js":"d9cd","./enumItem.js":"f1e5","./exam.js":"a615","./router.js":"d3e9","./tagsView.js":"7509","./user.js":"0f9a"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(o);t["default"]=o},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.d99ccfc3.png"},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},cfaa:function(e,t,n){"use strict";n("e1eb")},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},d3e9:function(e,t,n){"use strict";n.r(t);var a=n("41cb"),i={routes:a["a"]},c={initRoutes:function(e){e.routes=a["a"]}},s={};t["default"]={namespaced:!0,state:i,mutations:c,actions:s}},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d9cd:function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},s={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){i.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,i.a.set("size",t)}},o={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}};t["default"]={namespaced:!0,state:c,mutations:s,actions:o}},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},de4b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doquestion",use:"icon-doquestion-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},de87:function(e,t,n){"use strict";n("a544")},e1eb:function(e,t,n){},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e855:function(e,t,n){"use strict";n("6e46")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),i={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],statusEnum:[{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:"管理员"}],statusTag:[{key:1,value:"success"},{key:2,value:"danger"}],statusBtn:[{key:1,value:"禁用"},{key:2,value:"启用"}]},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"},{key:6,value:"任务试卷"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],editUrlEnum:[{key:1,value:"/exam/question/edit/singleChoice",name:"单选题"},{key:2,value:"/exam/question/edit/multipleChoice",name:"多选题"},{key:3,value:"/exam/question/edit/trueFaltagsViewse",name:"判断题"},{key:4,value:"/exam/question/edit/gapFilling",name:"填空题"},{key:5,value:"/exam/question/edit/shortAnswer",name:"简答题"}]}}},c={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},o={},r=function(e,t){var n,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.key===t)return c.value}}catch(s){i.e(s)}finally{i.f()}return null};t["default"]={namespaced:!0,state:i,getters:c,actions:s,mutations:o}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},fea0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 980 1024",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o}}); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/admin/static/js/index.e8e5cc4f.js b/source/xzs/src/main/resources/static/admin/static/js/index.e8e5cc4f.js deleted file mode 100644 index 90f2ea5fb78c31d26e17c7af3e2b1c6ef1851ae5..0000000000000000000000000000000000000000 --- a/source/xzs/src/main/resources/static/admin/static/js/index.e8e5cc4f.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var a,i,o=t[0],r=t[1],l=t[2],u=0,d=[];u'});s.a.add(o);t["default"]=o},"0f10":function(e,t,n){},"0f9a":function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c=n("c24f"),s={userName:i.a.get("adminUserName"),userInfo:i.a.get("adminUserInfo")},o={initUserInfo:function(e){var t=e.commit;c["a"].getCurrentUser().then((function(e){t("setUserInfo",e.response)}))}},r={setUserName:function(e,t){e.userName=t,i.a.set("adminUserName",t,{expires:30})},setUserInfo:function(e,t){e.userInfo=t,i.a.set("adminUserInfo",t,{expires:30})},clearLogin:function(e){i.a.remove("adminUserName"),i.a.remove("adminUserInfo")}};t["default"]={namespaced:!0,state:s,mutations:r,actions:o}},"12a5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"24ab":function(e,t,n){e.exports={theme:"#13C2C2"}},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"28d0":function(e,t,n){},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2db6":function(e,t,n){},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3530:function(e,t,n){"use strict";n("617f")},3889:function(e,t,n){"use strict";n("4a7e")},"3f4d":function(e,t,n){},"41cb":function(e,t,n){"use strict";n.d(t,"a",(function(){return Qe})),n.d(t,"b",(function(){return Ze}));n("d3b7");var a,i,c=n("2b0e"),s=n("8c4f"),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"hasTagsView main-container"},[n("div",{staticClass:"fixed-header"},[n("navbar"),n("tags-view")],1),n("app-main"),e._m(0),n("back-to-top",{ref:"backTop",attrs:{"visibility-height":100,"back-position":0,"transition-name":"fade"}})],1)],1)},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"foot-copyright"},[n("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")])])}],l=n("5530"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},d=[],h={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},v=h,m=(n("c3ea"),n("028b"),n("2877")),f=Object(m["a"])(v,u,d,!1,null,"66ac26db",null),p=f.exports,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},[n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("span",[e._v(e._s(e.userName))]),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/profile/index"}},[n("el-dropdown-item",[e._v("个人信息")])],1),n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("主页")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[e._v("退出")])],1)],1)],1)],1)},b=[],g=n("2f62"),x=n("7ded"),y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},V=[],k=(n("99af"),n("4de4"),n("b0c0"),n("2ca0"),n("498a"),n("bd11")),z=n.n(k),C={data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/dashboard",meta:{title:"主页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params,n=z.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},_=C,M=(n("bb61"),Object(m["a"])(_,y,V,!1,null,"37f23bc2",null)),L=M.exports,H=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},B=[],O={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},E=O,j=(n("87fc"),Object(m["a"])(E,H,B,!1,null,"4cdd7c8d",null)),T=j.exports,S={components:{Breadcrumb:L,Hamburger:T},computed:Object(l["a"])({},Object(g["c"])(["sidebar","device","userName"])),methods:Object(l["a"])({toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;x["a"].logout().then((function(t){t&&1===t.code&&(e.clearLogin(),e.$router.push({path:"/login"}))}))}},Object(g["d"])("user",["clearLogin"]))},P=S,$=(n("3530"),Object(m["a"])(P,w,b,!1,null,"5112ebd2",null)),A=$.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"has-logo"},[n("logo",{attrs:{collapse:e.isCollapse}}),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},D=[],q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[a("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?a("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])]):a("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[a("img",{staticClass:"sidebar-logo",attrs:{src:n("cf05")}}),a("h1",{staticClass:"sidebar-title"},[e._v(e._s(e.title)+" ")])])],1)],1)},U=[],N={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"学之思管理系统"}}},W=N,R=(n("b53d"),Object(m["a"])(W,q,U,!1,null,"50151396",null)),F=R.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Y=[],Q=n("df7c"),Z=n.n(Q),J=n("61f7"),K={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,c=[];return a&&c.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&c.push(e("span",{slot:"title"},[i])),c}},X=K,ee=Object(m["a"])(X,a,i,!1,null,null,null),te=ee.exports,ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ae=[],ie={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(J["a"])(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},ce=ie,se=Object(m["a"])(ce,ne,ae,!1,null,null,null),oe=se.exports,re={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},le={name:"SidebarItem",components:{Item:te,AppLink:oe},mixins:[re],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(l["a"])(Object(l["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(J["a"])(e)?e:Object(J["a"])(this.basePath)?this.basePath:Z.a.resolve(this.basePath,e)}}},ue=le,de=Object(m["a"])(ue,G,Y,!1,null,null,null),he=de.exports,ve=n("cf1e"),me=n.n(ve),fe={components:{SidebarItem:he,Logo:F},computed:Object(l["a"])(Object(l["a"])({},Object(g["c"])(["sidebar","routes"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},variables:function(){return me.a},isCollapse:function(){return!this.sidebar.opened}})},pe=fe,we=Object(m["a"])(pe,I,D,!1,null,null,null),be=we.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){return"button"in n&&1!==n.button?null:e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),t.meta.affix?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新")]),e.selectedTag.meta&&e.selectedTag.meta.affix?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭全部")])])],1)},xe=[],ye=(n("4160"),n("fb6a"),n("45fc"),n("ac1f"),n("5319"),n("159b"),n("b85c")),Ve=n("2909"),ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},ze=[],Ce=(n("c740"),4),_e={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,c=null,s=null;if(i.length>0&&(c=i[0],s=i[i.length-1]),c===e)a.scrollLeft=0;else if(s===e)a.scrollLeft=a.scrollWidth-n;else{var o=i.findIndex((function(t){return t===e})),r=i[o-1],l=i[o+1],u=l.$el.offsetLeft+l.$el.offsetWidth+Ce,d=r.$el.offsetLeft-Ce;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=Z.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(l["a"])({},e.meta)})}if(e.children){var c=t.filterAffixTags(e.children,e.path);c.length>=1&&(a=[].concat(Object(Ve["a"])(a),Object(Ve["a"])(c)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ye["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ye["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(c){a.e(c)}finally{a.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$route.fullPath!==this.selectedTag.fullPath&&this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var a=n.visitedViews;t.affixTags.some((function(t){return t.path===e.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,c=i-n,s=t.clientX-a+15;this.left=s>c?c:s,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1}}},Oe=Be,Ee=(n("bf69"),n("cfaa"),Object(m["a"])(Oe,ge,xe,!1,null,"0ad0fb7a",null)),je=Ee.exports,Te=n("4360"),Se=document,Pe=Se.body,$e=992,Ae={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Te["a"].dispatch("app/toggleDevice","mobile"),Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Pe.getBoundingClientRect();return e.width-1<$e},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();Te["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&Te["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},Ie=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"}})])])])},De=[],qe=(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}}}),Ue=qe,Ne=(n("3889"),Object(m["a"])(Ue,Ie,De,!1,null,"191e1caa",null)),We=Ne.exports,Re={name:"Layout",components:{AppMain:p,Navbar:A,Sidebar:be,TagsView:je,BackToTop:We},mixins:[Ae],computed:Object(l["a"])(Object(l["a"])({},Object(g["e"])({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},Fe=Re,Ge=(n("b86d"),Object(m["a"])(Fe,o,r,!1,null,"63eaa834",null)),Ye=Ge.exports;c["default"].use(s["a"]);var Qe=[{path:"/redirect",component:Ye,hidden:!0,children:[{path:"/redirect/:path*",component:function(){return n.e("chunk-2d230fe7").then(n.bind(null,"ef3c"))}}]},{path:"/login",name:"Login",hidden:!0,component:function(){return n.e("chunk-0226adbc").then(n.bind(null,"9ed6"))},meta:{title:"登录"}},{path:"/",component:Ye,redirect:"/dashboard",children:[{path:"dashboard",component:function(){return n.e("chunk-111f3671").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"主页",icon:"home",affix:!0}}]},{path:"/user",component:Ye,name:"UserPage",meta:{title:"用户管理",icon:"users"},children:[{path:"student/list",component:function(){return n.e("chunk-bab2e2c4").then(n.bind(null,"822e"))},name:"UserStudentPageList",meta:{title:"学生列表",noCache:!0}},{path:"student/edit",component:function(){return n.e("chunk-2d221bd2").then(n.bind(null,"cc40"))},name:"UserStudentEdit",meta:{title:"学生编辑",noCache:!0,activeMenu:"/user/student/list"},hidden:!0},{path:"admin/list",component:function(){return n.e("chunk-157f9069").then(n.bind(null,"0c5d"))},name:"UserAdminPageList",meta:{title:"管理员列表",noCache:!0}},{path:"admin/edit",component:function(){return n.e("chunk-2d2300ef").then(n.bind(null,"eb51"))},name:"UserAdminEdit",meta:{title:"管理员编辑",noCache:!0,activeMenu:"/user/admin/list"},hidden:!0}]},{path:"/exam",component:Ye,name:"ExamPage",meta:{title:"卷题管理",icon:"exam"},children:[{path:"paper/list",component:function(){return n.e("chunk-42236473").then(n.bind(null,"ef080"))},name:"ExamPaperPageList",meta:{title:"试卷列表",noCache:!0}},{path:"paper/edit",component:function(){return n.e("chunk-a85d3c1e").then(n.bind(null,"beb3"))},name:"ExamPaperEdit",meta:{title:"试卷编辑",noCache:!0,activeMenu:"/exam/paper/list"},hidden:!0},{path:"question/list",component:function(){return n.e("chunk-65f8ca6f").then(n.bind(null,"3af7"))},name:"ExamQuestionPageList",meta:{title:"题目列表",noCache:!0}},{path:"question/edit/singleChoice",component:function(){return n.e("chunk-d0753fda").then(n.bind(null,"0798"))},name:"singleChoicePage",meta:{title:"单选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/multipleChoice",component:function(){return n.e("chunk-75f11c77").then(n.bind(null,"1b2c"))},name:"multipleChoicePage",meta:{title:"多选题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/trueFalse",component:function(){return n.e("chunk-78234ca2").then(n.bind(null,"a305"))},name:"trueFalsePage",meta:{title:"判断题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/gapFilling",component:function(){return n.e("chunk-793f0082").then(n.bind(null,"6d4c"))},name:"gapFillingPage",meta:{title:"填空题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0},{path:"question/edit/shortAnswer",component:function(){return n.e("chunk-733c35b2").then(n.bind(null,"2fca"))},name:"shortAnswerPage",meta:{title:"简答题编辑",noCache:!0,activeMenu:"/exam/question/list"},hidden:!0}]},{path:"/task",component:Ye,name:"TaskPage",meta:{title:"任务管理",icon:"task"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-066bbd34").then(n.bind(null,"93dc"))},name:"TaskListPage",meta:{title:"任务列表",noCache:!0}},{path:"edit",component:function(){return n.e("chunk-7c62808c").then(n.bind(null,"2752"))},name:"TaskEditPage",meta:{title:"任务创建",noCache:!0}}]},{path:"/education",component:Ye,name:"EducationPage",meta:{title:"教育管理",icon:"education"},alwaysShow:!0,children:[{path:"subject/list",component:function(){return n.e("chunk-a9d03770").then(n.bind(null,"ee36"))},name:"EducationSubjectPage",meta:{title:"学科列表",noCache:!0}},{path:"subject/edit",component:function(){return n.e("chunk-2d0c138b").then(n.bind(null,"44b7"))},name:"EducationSubjectEditPage",meta:{title:"学科编辑",noCache:!0,activeMenu:"/education/subject/list"},hidden:!0}]},{path:"/message",component:Ye,name:"MessagePage",meta:{title:"消息中心",icon:"message"},alwaysShow:!0,children:[{path:"list",component:function(){return n.e("chunk-5bc3d75d").then(n.bind(null,"6e24"))},name:"MessageListPage",meta:{title:"消息列表",noCache:!0}},{path:"send",component:function(){return n.e("chunk-16f9edc1").then(n.bind(null,"93fd"))},name:"MessageSendPage",meta:{title:"消息发送",noCache:!0}}]},{path:"/log",component:Ye,name:"LogPage",meta:{title:"日志中心",icon:"log"},alwaysShow:!0,children:[{path:"user/list",component:function(){return n.e("chunk-360c43ba").then(n.bind(null,"bbb3"))},name:"LogUserPage",meta:{title:"用户日志",noCache:!0}}]},{path:"/profile",component:Ye,hidden:!0,children:[{path:"index",component:function(){return n.e("chunk-2e16d177").then(n.bind(null,"ecac"))},name:"Profile",meta:{title:"个人简介",icon:"user",noCache:!0}}]},{path:"*",hidden:!0,component:function(){return n.e("chunk-873a42e2").then(n.bind(null,"1db4"))},meta:{title:"404",noCache:!0}}],Ze=new s["a"]({routes:Qe})},4360:function(e,t,n){"use strict";n("13d5"),n("d3b7"),n("ac1f"),n("5319"),n("ddb0");var a=n("2b0e"),i=n("2f62"),c={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},userName:function(e){return e.user.userName},routes:function(e){return e.router.routes}},s=c;a["default"].use(i["a"]);var o=n("c653"),r=o.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=o(t);return e[n]=a.default,e}),{}),l=new i["a"].Store({modules:r,getters:s});t["a"]=l},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 950 690",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"4a7e":function(e,t,n){},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},5055:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-users",use:"icon-users-usage",viewBox:"0 0 850 970.0000000000001",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"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","./doexampaper.svg":"beec","./doquestion.svg":"de4b","./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","./guide.svg":"6683","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./log.svg":"fea0","./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","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./task.svg":"771b","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./users.svg":"5055","./wechat.svg":"80da","./zip.svg":"8aa6"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"56d7":function(e,t,n){"use strict";n.r(t);n("96cf");var a=n("1da1"),i=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],o={name:"App"},r=o,l=n("2877"),u=Object(l["a"])(r,c,s,!1,null,null,null),d=u.exports,h=n("41cb"),v=n("4360"),m=(n("f5df1"),n("5c96")),f=n.n(m),p=(n("24ab"),n("b20f"),n("d81d"),n("d3b7"),n("ddb0"),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}})])}),w=[],b=n("61f7"),g={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(b["a"])(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%")}}}},x=g,y=(n("7251"),Object(l["a"])(x,p,w,!1,null,"936edfd4",null)),V=y.exports;i["default"].component("svg-icon",V);var k=n("51ff"),z=function(e){return e.keys().map(e)};z(k);var C=n("323e"),_=n.n(C);n("a5d8");i["default"].use(f.a,{size:"medium"}),i["default"].config.productionTip=!1,_.a.configure({showSpinner:!1}),h["b"].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:_.a.start(),void 0!==t.meta.title?document.title=t.meta.title:document.title="‎",v["a"].commit("router/initRoutes"),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)}}()),h["b"].afterEach((function(){_.a.done()})),i["default"].prototype.$$router=h["b"],new i["default"]({router:h["b"],store:v["a"],render:function(e){return e(d)}}).$mount("#app")},"5efc":function(e,t,n){},"617f":function(e,t,n){},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("c975"),n("d3b7"),n("25f0"),n("498a");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"659a":function(e,t,n){},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"6bbe":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 932",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"6de0":function(e,t,n){},"6e46":function(e,t,n){},"708a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},7251:function(e,t,n){"use strict";n("2db6")},7509:function(e,t,n){"use strict";n.r(t);n("4de4"),n("caad"),n("c975"),n("fb6a"),n("45fc"),n("a434"),n("b0c0"),n("d3b7"),n("2532"),n("ddb0");var a=n("2909"),i=n("53ca"),c=n("3835"),s=n("b85c"),o={visitedViews:[],cachedViews:[]},r={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(c["a"])(n.value,2),o=i[0],r=i[1];if(r.path===t.path){e.visitedViews.splice(o,1);break}}}catch(l){a.e(l)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews.splice(c,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n,a=Object(s["a"])(e.cachedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===t.name){var c=e.cachedViews.indexOf(i);e.cachedViews=e.cachedViews.slice(c,c+1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(s["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t),e.currentView=i;break}}}catch(c){a.e(c)}finally{a.f()}}},l={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delCurrentView:function(e,t){var n,a=e.dispatch,c=e.state,o=t.$route,r=Object(s["a"])(c.visitedViews);try{var l=function(){var e=n.value;if(e.path===o.path)return{v:new Promise((function(t){a("delVisitedView",e),a("delCachedView",e),t()}))}};for(r.s();!(n=r.n()).done;){var u=l();if("object"===Object(i["a"])(u))return u.v}}catch(d){r.e(d)}finally{r.f()}},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(a["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(a["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(a["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(a["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(a["a"])(i.visitedViews),cachedViews:Object(a["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;e.state;n("UPDATE_VISITED_VIEW",t)}};t["default"]={namespaced:!0,state:o,mutations:r,actions:l}},"771b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 900 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},"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"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"87fc":function(e,t,n){"use strict";n("bfd3")},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8e8d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"93cd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},9921:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9bbf":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a615:function(e,t,n){"use strict";n.r(t);n("b0c0");var a=n("b85c"),i=n("c418"),c={subjects:[]},s={subjectEnumFormat:function(e){return function(t){var n,i=Object(a["a"])(e.subjects);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.id===t)return c.name+" ( "+c.levelName+" )"}}catch(s){i.e(s)}finally{i.f()}return null}}},o={initSubject:function(e,t){var n=e.commit;i["a"].list().then((function(e){n("setSubjects",e.response),void 0!==t&&t()}))}},r={setSubjects:function(e,t){e.subjects=t}};t["default"]={namespaced:!0,state:c,getters:s,actions:o,mutations:r}},a978:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exam",use:"icon-exam-usage",viewBox:"0 0 850 850",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ad1c:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 850 900",content:'\r\n \r\n \r\n \r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},ae00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},b20f:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},b53d:function(e,t,n){"use strict";n("28d0")},b775:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));n("d3b7");var a=n("bc3a"),i=n.n(a),c=n("2b0e"),s=function(e,t){var n;return e&&(n=c["default"].prototype.$loading({lock:!1,text:"正在加载中…",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"})),i.a.request(t).then((function(t){return e&&n.close(),401===t.data.code?(c["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?(c["default"].prototype.$$router.push({path:"/login"}),Promise.reject(t.data)):Promise.resolve(t.data)})).catch((function(t){return e&&n.close(),c["default"].prototype.$message.error(t.message),Promise.reject(t.message)}))},o=function(e,t){var n={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,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={baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_URL,url:e,method:"post",withCredentials:!0,timeout:3e4,data:t,headers:{"Content-Type":"application/json","request-ajax":!0}};return s(!0,n)}},b86d:function(e,t,n){"use strict";n("6de0")},bb61:function(e,t,n){"use strict";n("659a")},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},beec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doexampaper",use:"icon-doexampaper-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o},bf69:function(e,t,n){"use strict";n("5efc")},bfd3:function(e,t,n){},c24f:function(e,t,n){"use strict";var a=n("b775");t["a"]={getUserPageList:function(e){return Object(a["a"])("/api/admin/user/page/list",e)},getUserEventPageList:function(e){return Object(a["a"])("/api/admin/user/event/page/list",e)},createUser:function(e){return Object(a["a"])("/api/admin/user/edit",e)},selectUser:function(e){return Object(a["a"])("/api/admin/user/select/"+e)},getCurrentUser:function(){return Object(a["a"])("/api/admin/user/current")},updateUser:function(e){return Object(a["a"])("/api/admin/user/update",e)},changeStatus:function(e){return Object(a["a"])("/api/admin/user/changeStatus/"+e)},deleteUser:function(e){return Object(a["a"])("/api/admin/user/delete/"+e)},selectByUserName:function(e){return Object(a["a"])("/api/admin/user/selectByUserName",e)}}},c3ea:function(e,t,n){"use strict";n("0f10")},c418:function(e,t,n){"use strict";var a=n("b775");t["a"]={list:function(e){return Object(a["a"])("/api/admin/education/subject/list")},pageList:function(e){return Object(a["a"])("/api/admin/education/subject/page",e)},edit:function(e){return Object(a["a"])("/api/admin/education/subject/edit",e)},select:function(e){return Object(a["a"])("/api/admin/education/subject/select/"+e)},deleteSubject:function(e){return Object(a["a"])("/api/admin/education/subject/delete/"+e)}}},c653:function(e,t,n){var a={"./app.js":"d9cd","./enumItem.js":"f1e5","./exam.js":"a615","./router.js":"d3e9","./tagsView.js":"7509","./user.js":"0f9a"};function i(e){var t=c(e);return n(t)}function c(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=c,e.exports=i,i.id="c653"},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(o);t["default"]=o},cf05:function(e,t,n){e.exports=n.p+"static/img/logo.d99ccfc3.png"},cf1e:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}},cfaa:function(e,t,n){"use strict";n("e1eb")},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},d3e9:function(e,t,n){"use strict";n.r(t);var a=n("41cb"),i={routes:a["a"]},c={initRoutes:function(e){e.routes=a["a"]}},s={};t["default"]={namespaced:!0,state:i,mutations:c,actions:s}},d7ec:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d9cd:function(e,t,n){"use strict";n.r(t);var a=n("a78e"),i=n.n(a),c={sidebar:{opened:!i.a.get("sidebarStatus")||!!+i.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:i.a.get("size")||"medium"},s={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?i.a.set("sidebarStatus",1):i.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){i.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,i.a.set("size",t)}},o={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}};t["default"]={namespaced:!0,state:c,mutations:s,actions:o}},dbc7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},de4b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-doquestion",use:"icon-doquestion-usage",viewBox:"0 0 1024 1024",content:'\r\n \r\n \r\n'});s.a.add(o);t["default"]=o},e1eb:function(e,t,n){},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e7c8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e855:function(e,t,n){"use strict";n("6e46")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},f1e5:function(e,t,n){"use strict";n.r(t);var a=n("b85c"),i={user:{sexEnum:[{key:1,value:"男"},{key:2,value:"女"}],statusEnum:[{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:"管理员"}],statusTag:[{key:1,value:"success"},{key:2,value:"danger"}],statusBtn:[{key:1,value:"禁用"},{key:2,value:"启用"}]},exam:{examPaper:{paperTypeEnum:[{key:1,value:"固定试卷"},{key:4,value:"时段试卷"},{key:6,value:"任务试卷"}]},question:{typeEnum:[{key:1,value:"单选题"},{key:2,value:"多选题"},{key:3,value:"判断题"},{key:4,value:"填空题"},{key:5,value:"简答题"}],editUrlEnum:[{key:1,value:"/exam/question/edit/singleChoice",name:"单选题"},{key:2,value:"/exam/question/edit/multipleChoice",name:"多选题"},{key:3,value:"/exam/question/edit/trueFalse",name:"判断题"},{key:4,value:"/exam/question/edit/gapFilling",name:"填空题"},{key:5,value:"/exam/question/edit/shortAnswer",name:"简答题"}]}}},c={enumFormat:function(e){return function(e,t){return r(e,t)}}},s={},o={},r=function(e,t){var n,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.key===t)return c.value}}catch(s){i.e(s)}finally{i.f()}return null};t["default"]={namespaced:!0,state:i,getters:c,actions:s,mutations:o}},f782:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},f9a1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},fea0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),c=n("21a1"),s=n.n(c),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 980 1024",content:'\r\n\r\n \r\n background\r\n \r\n \r\n \r\n Layer 1\r\n \r\n \r\n \r\n'});s.a.add(o);t["default"]=o}}); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/index.html b/source/xzs/src/main/resources/static/student/index.html index ce729ad5b334149ad3b48f8e2c11322f2665358c..500baee81b76b6b53269646405a6a288176712a7 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/js/chunk-099b9c43.9b1ac129.js b/source/xzs/src/main/resources/static/student/static/js/chunk-099b9c43.9b1ac129.js new file mode 100644 index 0000000000000000000000000000000000000000..b07a9f7d6dffd38c9d72bfc769a340e661393578 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-099b9c43.9b1ac129.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-099b9c43"],{"1db4":function(t,s,i){"use strict";i.r(s);var a=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),i("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),i("div",{staticClass:"bullshit__info"},[t._v("请检查你的访问地址是否正确, 或点击下面按钮返回主页.")]),i("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("返回主页")])])])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"pic-404"},[a("img",{staticClass:"pic-404__parent",attrs:{src:i("a36b"),alt:"404"}}),a("img",{staticClass:"pic-404__child left",attrs:{src:i("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child mid",attrs:{src:i("26fc"),alt:"404"}}),a("img",{staticClass:"pic-404__child right",attrs:{src:i("26fc"),alt:"404"}})])}],l={name:"Page404",computed:{message:function(){return"页面未找到..."}}},n=l,e=(i("8485"),i("2877")),r=Object(e["a"])(n,a,c,!1,null,"52fe14af",null);s["default"]=r.exports},"26fc":function(t,s,i){t.exports=i.p+"static/img/404_cloud.0f4bc32b.png"},8485:function(t,s,i){"use strict";i("9648")},9648:function(t,s,i){},a36b:function(t,s,i){t.exports=i.p+"static/img/404.a57b6f31.png"}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-122e80b5.888b8b78.js b/source/xzs/src/main/resources/static/student/static/js/chunk-122e80b5.888b8b78.js new file mode 100644 index 0000000000000000000000000000000000000000..d1d5d008ee0111d3bf5e38ce3825ec5d90e1d47b --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-122e80b5.888b8b78.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-122e80b5"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,n){var o=s(),r=t-o,u=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=u;var s=Math.easeInOutQuad(l,o,r,e);i(s),l0,expression:"total>0"}],staticStyle:{"margin-top":"20px"},attrs:{total:t.total,background:!1,page:t.queryParam.pageIndex,limit:t.queryParam.pageSize},on:{"update:page":function(e){return t.$set(t.queryParam,"pageIndex",e)},"update:limit":function(e){return t.$set(t.queryParam,"pageSize",e)},pagination:t.search}})],1),n("el-col",{attrs:{span:10}},[n("el-card",{staticClass:"record-answer-info"},[n("el-form",[n("el-form-item",[n("QuestionAnswerShow",{attrs:{qType:t.selectItem.questionType,qLoading:t.qAnswerLoading,question:t.selectItem.questionItem,answer:t.selectItem.answerItem}})],1)],1)],1)],1)],1)],1)},i=[],s=(n("ac1f"),n("841c"),n("5530")),o=n("2f62"),r=n("333d"),u=n("b775"),l={pageList:function(t){return Object(u["a"])("/api/student/question/answer/page",t)},select:function(t){return Object(u["a"])("/api/student/question/answer/select/"+t)}},c=n("ff3e"),p={components:{Pagination:r["a"],QuestionAnswerShow:c["a"]},data:function(){return{queryParam:{pageIndex:1,pageSize:10},listLoading:!1,tableData:[],total:0,qAnswerLoading:!1,selectItem:{questionType:0,questionItem:null,answerItem:null}}},created:function(){this.search()},methods:{search:function(){this.listLoading=!0;var t=this;l.pageList(this.queryParam).then((function(e){var n=e.response;t.tableData=n.list,t.total=n.total,t.queryParam.pageIndex=n.pageNum,t.listLoading=!1,0!==n.list.length&&t.qAnswerShow(n.list[0].id)}))},itemSelect:function(t,e,n){this.qAnswerShow(t.id)},qAnswerShow:function(t){var e=this;this.qAnswerLoading=!0,l.select(t).then((function(t){var n=t.response;e.selectItem.questionType=n.questionVM.questionType,e.selectItem.questionItem=n.questionVM,e.selectItem.answerItem=n.questionAnswerVM,e.qAnswerLoading=!1}))},questionTypeFormatter:function(t,e,n,a){return this.enumFormat(this.questionTypeEnum,n)}},computed:Object(s["a"])(Object(s["a"])({},Object(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{questionTypeEnum:function(t){return t.exam.question.typeEnum}}))},d=p,m=n("2877"),f=Object(m["a"])(d,a,i,!1,null,"0557eebc",null);e["default"]=f.exports},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"333d":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[n("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},i=[],s=(n("a9e3"),n("09f4")),o={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[5,10,20,30,50]}},layout:{type:String,default:"prev, pager, next"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(s["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(s["a"])(0,800)}}},r=o,u=(n("4a01"),n("2877")),l=Object(u["a"])(r,a,i,!1,null,"52c39d8a",null);e["a"]=l.exports},"4a01":function(t,e,n){"use strict";n("af2a")},"841c":function(t,e,n){"use strict";var a=n("d784"),i=n("825a"),s=n("1d80"),o=n("129f"),r=n("14c3");a("search",1,(function(t,e,n){return[function(e){var n=s(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](String(n))},function(t){var a=n(e,t,this);if(a.done)return a.value;var s=i(t),u=String(this),l=s.lastIndex;o(l,0)||(s.lastIndex=0);var c=r(s,u);return o(s.lastIndex,l)||(s.lastIndex=l),null===c?-1:c.index}]}))},af2a:function(t,e,n){},ff3e:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.qLoading,expression:"qLoading"}],staticStyle:{"line-height":"1.8"}},[1==t.qType||2==t.qType||3==t.qType||4==t.qType||5==t.qType?n("div",[1==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",{staticClass:"q-content"},[n("el-radio-group",{model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}},t._l(t.question.items,(function(e){return n("el-radio",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"question-prefix"},[t._v(t._s(e.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1)],1)]):2==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",{staticClass:"q-content"},[n("el-checkbox-group",{model:{value:t.answer.contentArray,callback:function(e){t.$set(t.answer,"contentArray",e)},expression:"answer.contentArray"}},t._l(t.question.items,(function(e){return n("el-checkbox",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"question-prefix"},[t._v(t._s(e.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1)],1)]):3==t.qType?n("div",[n("div",{staticClass:"q-title",staticStyle:{display:"inline","margin-right":"10px"},domProps:{innerHTML:t._s(t.question.title)}}),n("span",{staticStyle:{"padding-right":"10px"}},[t._v("(")]),n("el-radio-group",{model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}},t._l(t.question.items,(function(e){return n("el-radio",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1),n("span",{staticStyle:{"padding-left":"10px"}},[t._v(")")])],1):4==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),null!==t.answer.contentArray?n("div",t._l(t.question.items,(function(e){return n("el-form-item",{key:e.prefix,staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{label:e.prefix,"label-width":"50px"}},[n("el-input",{model:{value:t.answer.contentArray[e.prefix-1],callback:function(n){t.$set(t.answer.contentArray,e.prefix-1,n)},expression:"answer.contentArray[item.prefix-1]"}})],1)})),1):t._e()]):5==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",[n("el-input",{attrs:{type:"textarea",rows:"5"},model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}})],1)]):t._e(),n("div",{staticClass:"question-answer-show-item",staticStyle:{"margin-top":"15px"}},[n("span",{staticClass:"question-show-item"},[t._v("结果:")]),n("el-tag",{attrs:{type:t.doRightTagFormatter(t.answer.doRight)}},[t._v(" "+t._s(t.doRightTextFormatter(t.answer.doRight))+" ")])],1),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("分数:")]),n("span",[t._v(t._s(t.question.score))])]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("难度:")]),n("el-rate",{staticClass:"question-show-item",attrs:{disabled:""},model:{value:t.question.difficult,callback:function(e){t.$set(t.question,"difficult",e)},expression:"question.difficult"}})],1),n("br"),n("div",{staticClass:"question-answer-show-item",staticStyle:{"line-height":"1.8"}},[n("span",{staticClass:"question-show-item"},[t._v("解析:")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.question.analyze)}})]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("正确答案:")]),1==t.qType||2==t.qType||5==t.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.question.correct)}}):t._e(),3==t.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.trueFalseFormatter(t.question))}}):t._e(),4==t.qType?n("span",[t._v(t._s(t.question.correctArray))]):t._e()])]):n("div")])},i=[],s=(n("4de4"),n("a9e3"),n("5530")),o=n("2f62"),r={name:"QuestionShow",props:{question:{type:Object,default:function(){return{}}},answer:{type:Object,default:function(){return{id:null,content:"",contentArray:[],doRight:!1}}},qLoading:{type:Boolean,default:!1},qType:{type:Number,default:0}},methods:{trueFalseFormatter:function(t){return t.items.filter((function(e){return e.prefix===t.correct}))[0].content},doRightTagFormatter:function(t){return this.enumFormat(this.doRightTag,t)},doRightTextFormatter:function(t){return this.enumFormat(this.doRightEnum,t)}},computed:Object(s["a"])(Object(s["a"])({},Object(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{doRightEnum:function(t){return t.exam.question.answer.doRightEnum},doRightTag:function(t){return t.exam.question.answer.doRightTag}}))},u=r,l=n("2877"),c=Object(l["a"])(u,a,i,!1,null,null,null);e["a"]=c.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-1b8c8b54.ece72487.js b/source/xzs/src/main/resources/static/student/static/js/chunk-1b8c8b54.ece72487.js new file mode 100644 index 0000000000000000000000000000000000000000..a037404fbd4874f231262b2d2d9fd2153001f239 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-1b8c8b54.ece72487.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b8c8b54"],{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"},"51d4":function(t,A,e){"use strict";e("7b6b")},"7b6b":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("51d4"),e("2877")),m=Object(l["a"])(d,a,s,!1,null,"ebc716e4",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+u5gMPjKc889968UIzAFSDlzvDe6pBKRW8y87py7nMIA1LTjwL0AiSpfeumljw0Ggx8R0QVm7lTKReTtDz/88Eubm5t72qMxA0gJRzxTsToy8BvMfN45d1174Khnz4GjAKkUv/jii99k5l+OQfKy9/472qMyA0gI4eXRM1UicmN5eXltY2NjV3vQqGfTgUkBier7/f63ReTnYyP5mnPud5qjMwFIv99fE5E4e9z+i8uq/f391V6vt605WNSy7cA0gMSRFEXxU2Z+eiQ3f3POPcTMojVSE4CEECIco2esTmNZpdXi9tSZFpDyO8lfmfkz1SiZ+clut/uq1qizAxJCiBcA4/Kqmj1e8d7joqBWh1tUZ1pA4tDi95FOp/PayDD/5Jx7RGvYFgC5QkRnqgENh8NTWFpptbdddeoAEkcYQvg7EX22+oy97777Vi5cuPC+xuizAlKeubqJ2UOjle2vMQMgPyCiH44ss57odru/0HAkKyBFUZxl5njFvFpePe69jzMK/o6hA3UB6ff7D4vIH0csC845r2FhVkBCCJeI6NlqIEtLSw/gtK5GW9tZoy4gRVF8Il55T7ESyQ1IvI/q0TiweN3De39wkbCdLYbqWRyoC0j5PSTej/XxMku/9d5/fRYtB8s1jSJ1a4QQDgAhomvOucNuTqxbHvu1zIFZACmKYoeZP10C8rb3/mGN4eeeQeIX9OruzTecc/ghlEZXW1pjFkBCCPGicnUj45+dc1/UsCE3IAdXPEXkee/9psagUKOdDgCQsb6FEABIO7OcRDUAASBJgjUvRQEIAJmXLCcZBwABIEmCNS9FAQgAmZcsJxkHAAEgSYI1L0VHARGRDzqdzjcmGZuILIvIr5n5RLn9H5xzX55k36O2wWneoxzC/zfmwNhTTWY57qvOuSdnKVDt23pA4hMXO53OFp62qBEHlRrxJ9JXnHNPTVsthPBvIvrktPsdsv0559zPFOpQ6wEpimKdmeOTF/Fny4GpfxUaQniXiD434zBec859a8YaB7vPAyCbzHxRyxDU0XGAmR+b9hlmo/fmMfMNIopP1Zz4b29v75b2w67nEZBrEzuKDbUduH1ndvybFRArN6/OHSDOuaxj0k5cm+qN3joEQBQ6p3EvVlEUdyyxAIhCY2qWACA1jbvbbgBE2dDM5QCIcgMAiLKhmcsBEOUGABBlQzOXAyDKDQAgyoZmLgdAlBsAQJQNzVwOgCg3AIAoG5q5HABRbgAAUTY0czkAotwAAKJsaOZyAES5AQBE2dDM5QCIcgMAiLKhmcsBEOUGABBlQzOXAyDKDQAgyoZmLgdAlBsAQJQNzVwOgCg3AIAoG5q5HABRbgAAUTY0czkAotwAAKJsaOZyAES5AQBE2dDM5QCIcgMAiLKhmcsBEOUGABBlQzOXAyDKDQAgyoZmLgdAlBsAQJQNzVwOgCg3AIAoG5q5HABRbgAAUTY0czkAotwAAKJsaOZyAES5AQBE2dDM5QCIcgMAiLKhmcsBEOUGABBlQzOXAyDKDQAgyoZmLgdAlBsAQJQNzVwOgCg3AIAoG5q5HABRbgAAUTY0czkAotyAFIAQ0ZqyTJSb3IGr1aZ4gc7kpt11y0SAKChDiVkdACCzOkhESoDgLbcKvdAuAUAUHNUAJL4nfWFhIU7tDypIQgkFB0Tkhvd+ddpSo2+5xUs8lWaQqgkhhFVmXpm2Kdhe14G9vb3tXq+3XacqABlzTWMGqdMI7GPTAQACQGwm04gqAAJAjETRpgwAAkBsJtOIKgACQIxE0aYMAAJAbCbTiCoAAkCMRNGmDAACQGwm04gqAAJAjETRpgwAAkBsJtOIKgACQIxE0aYMAAJAbCbTiCoAAkCMRNGmDAACQGwm04gqAAJAjETRpgwAAkBsJtOIKgACQIxE0aYMAAJAbCbTiCoAAkCMRNGmDAACQGwm04gqAAJAjETRpgwAAkBsJtOIKgACQIxE0aYMAAJAbCbTiCoAAkCMRNGmDAACQGwm04gqAAJAjETRpgwAAkBsJtOIKgACQIxE0aYMAAJAbCbTiCoAAkCMRNGmDAACQGwm04gqAJIIkPItUxeZudaLW4zkY15kXOt2uwcv85xmUAAkESAhhCtEdGaaZmDbZA7sOuceqFMdgCQCpCiK68z8UJ2mYB99B5aWlh7Y2NjYnbYyAEkHyFlmvoQXeU4bSd3tReQWEW1672Mvpv4DIIkAmboT2MGkAwAEgJgMphVRAASAWMmiSR0ABICYDKYVUQAEgFjJokkdAASAmAymFVEABIBYyaJJHQAEgJgMphVRAASAWMmiSR0ABICYDKYVUQAEgFjJokkdAASAmAymFVEABIBYyaJJHQAEgJgMphVRAASAWMmiSR0ABICYDKYVUQAEgFjJokkdAASAmAymFVEABIBYyaJJHQAEgJgMphVRAASAWMmiSR0AJCEgRVGc63Q6J012/piIEpHdpaWlV+o88idaBEASAVIUxWVmPndMcmh6mCKy7b0/VUckAEkHCB4cVyeRifbBg+OUjA0hSFVKRJ733m/WKV0UxSYzX6yzL/ZRd+AN59zZOlUxgySaQWLZ+ADrxcVFfAepk0ylfeJ3EOfc9brlAEhCQOo2BfvZcQCAABA7aTSoBIAAEIOxtCMJgAAQO2k0qASAABCDsbQjCYAAEDtpNKgEgAAQg7G0IwmAABA7aTSoBIAAEIOxtCMJgAAQO2k0qASAABCDsbQjCYAAEDtpNKgEgAAQg7G0IwmAABA7aTSoBIAAEIOxtCMJgAAQO2k0qASAABCDsbQjCYAAEDtpNKgEgAAQg7G0I2nuAYm/C19YWDjDzCuT2C4iow9puMrMVyfZD9s044CIxAcw1P6N+bQq5x6QEMJNIpoIjmnNw/Z5HBgOh6d6vd52E0efa0D6/f6aiLzVhJE4RnMOiMiG9/5SE0cEIE24jGOoOjDL88qmFXKsAGHmx7rdLr5TTJuSzNuPrwQAiFJDxo0FIErGNlwGgNxpOGv5D0C0nMxbB4AAkLwJNH50AAJAjEc0rzwAAkDyJtD40QEIADEe0bzyAAgAyZtA40cHIA0BIiKPe++vGM8D5I05AEASARJCWCWid6ryTV5gQsr1HMgMyOi9fLXfVKXnBpHadZAoavSVakRkYoCaZh2HWpkBUXkln2afUgJy3Tl3WlMsajXjwNgH3TXn3FrqIx8CZmM3Sd5rbNqAxHuvHq0O6JxTrZ+6Saj/PwdCCPH29gdLP+K7z0/Vfff5pJ6GEOIdw89W2zd5m31jgBRFsc7MWyMHfMo5d3lSk7CdDQcOee980j5ubW2tfPTRR+8wc/US1h3nnIkXsqp+wpe/KHxv5Iv69vLy8unUnz42YjU/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="}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-1d601c29.c34a7e1c.js b/source/xzs/src/main/resources/static/student/static/js/chunk-1d601c29.c34a7e1c.js new file mode 100644 index 0000000000000000000000000000000000000000..d0bab44a1512c2e28b43b3466d945bc61d9ef3d1 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-1d601c29.c34a7e1c.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d601c29"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,a){var o=r(),u=t-o,s=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=s;var r=Math.easeInOutQuad(c,o,u,e);i(r),c0,expression:"total>0"}],staticStyle:{"margin-top":"20px"},attrs:{total:t.total,background:!1,page:t.queryParam.pageIndex,limit:t.queryParam.pageSize},on:{"update:page":function(e){return t.$set(t.queryParam,"pageIndex",e)},"update:limit":function(e){return t.$set(t.queryParam,"pageSize",e)},pagination:t.search}})],1)],1)},i=[],r=(a("4de4"),a("ac1f"),a("841c"),a("5530")),o=a("2f62"),u=a("333d"),s=a("c24f"),c={components:{Pagination:u["a"]},data:function(){return{queryParam:{pageIndex:1,pageSize:10},listLoading:!0,tableData:[],total:0}},created:function(){this.search()},methods:Object(r["a"])({handleChange:function(t){if(""!==t){var e=this,a=this.tableData.filter((function(e){return e.id===t}))[0];a.readed||s["a"].read(t).then((function(t){a.readed=!0,e.messageCountSubtract(1)}))}},search:function(){var t=this;this.listLoading=!0,s["a"].messagePageList(this.queryParam).then((function(e){var a=e.response;t.tableData=a.list,t.total=a.total,t.queryParam.pageIndex=a.pageNum,t.listLoading=!1}))},readTagFormat:function(t){return this.enumFormat(this.readTag,t)},readTextFormat:function(t){return this.enumFormat(this.readText,t)}},Object(o["d"])("user",["messageCountSubtract"])),computed:Object(r["a"])(Object(r["a"])({},Object(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{readTag:function(t){return t.user.message.readTag},readText:function(t){return t.user.message.readText}}))},l=c,d=a("2877"),p=Object(d["a"])(l,n,i,!1,null,null,null);e["default"]=p.exports},"4a01":function(t,e,a){"use strict";a("af2a")},"841c":function(t,e,a){"use strict";var n=a("d784"),i=a("825a"),r=a("1d80"),o=a("129f"),u=a("14c3");n("search",1,(function(t,e,a){return[function(e){var a=r(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,a):new RegExp(e)[t](String(a))},function(t){var n=a(e,t,this);if(n.done)return n.value;var r=i(t),s=String(this),c=r.lastIndex;o(c,0)||(r.lastIndex=0);var l=u(r,s);return o(r.lastIndex,c)||(r.lastIndex=c),null===l?-1:l.index}]}))},af2a:function(t,e,a){}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-26bf5f94.b39cad38.js b/source/xzs/src/main/resources/static/student/static/js/chunk-26bf5f94.b39cad38.js new file mode 100644 index 0000000000000000000000000000000000000000..53f52db885193b13161e1ddb67cbd2a86eab88b0 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-26bf5f94.b39cad38.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26bf5f94"],{2017:function(t,e,o){"use strict";o("cafe")},"5c47":function(t,e,o){"use strict";o("cb22")},"5fbe":function(t,e,o){t.exports=o.p+"static/img/logo2.745fd978.png"},"9ed6":function(t,e,o){"use strict";o.r(e);var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"lowin lowin-blue"},[t._m(0),o("div",{staticClass:"lowin-wrapper"},[o("div",{staticClass:"lowin-box lowin-login"},[o("div",{staticClass:"lowin-box-inner"},[o("el-form",{ref:"loginForm",attrs:{model:t.loginForm,rules:t.loginRules}},[o("p",[t._v("学之思考试系统")]),o("div",{staticClass:"lowin-group"},[o("label",[t._v("用户名 ")]),o("el-input",{ref:"userName",staticClass:"lowin-input",attrs:{placeholder:"用户名",name:"userName",type:"text",tabindex:"1","auto-complete":"on"},model:{value:t.loginForm.userName,callback:function(e){t.$set(t.loginForm,"userName",e)},expression:"loginForm.userName"}})],1),o("div",{staticClass:"lowin-group password-group"},[o("label",[t._v("密码 "),o("a",{staticClass:"forgot-link",attrs:{href:"#"}},[t._v("忘记密码?")])]),o("el-input",{key:t.passwordType,ref:"password",staticClass:"lowin-input",attrs:{type:t.passwordType,placeholder:"密码",name:"password",tabindex:"2","auto-complete":"on"},on:{blur:function(e){t.capsTooltip=!1}},nativeOn:{keyup:[function(e){return t.checkCapslock(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin(e)}]},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}})],1),o("el-button",{staticClass:"lowin-btn login-btn",attrs:{loading:t.loading,type:"text"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin(e)}}},[t._v("登录")]),o("div",{staticClass:"text-foot"},[t._v(" 还没有账号? "),o("router-link",{staticClass:"register-link",attrs:{to:"/register"}},[t._v(" 注册 ")])],1)],1)],1)])]),t._m(1)])},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"lowin-brand"},[s("img",{staticStyle:{"margin-top":"12px"},attrs:{src:o("5fbe"),alt:"logo"}})])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"account-foot-copyright"},[o("span",[t._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")])])}],i=o("5530"),r=o("2f62"),a=o("7ded"),l={name:"Login",data:function(){var t=function(t,e,o){e.length<5?o(new Error("用户名不能少于5个字符")):o()},e=function(t,e,o){e.length<5?o(new Error("密码不能少于5个字符")):o()};return{loginForm:{userName:"",password:"",remember:!1},loginRules:{userName:[{required:!0,trigger:"blur",validator:t}],password:[{required:!0,trigger:"blur",validator:e}]},passwordType:"password",capsTooltip:!1,loading:!1,showDialog:!1}},created:function(){},mounted:function(){""===this.loginForm.userName?this.$refs.userName.focus():""===this.loginForm.password&&this.$refs.password.focus()},destroyed:function(){},methods:Object(i["a"])({checkCapslock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.shiftKey,o=t.key;o&&1===o.length&&(this.capsTooltip=!!(e&&o>="a"&&o<="z"||!e&&o>="A"&&o<="Z")),"CapsLock"===o&&!0===this.capsTooltip&&(this.capsTooltip=!1)},showPwd:function(){var t=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){t.$refs.password.focus()}))},handleLogin:function(){var t=this,e=this;this.$refs.loginForm.validate((function(o){if(!o)return!1;t.loading=!0,a["a"].login(t.loginForm).then((function(t){t&&1===t.code?(e.setUserName(e.loginForm.userName),e.$router.push({path:"/"})):(e.loading=!1,e.$message.error(t.message))})).catch((function(t){e.loading=!1}))}))}},Object(r["d"])("user",["setUserName"]))},c=l,u=(o("2017"),o("5c47"),o("2877")),p=Object(u["a"])(c,s,n,!1,null,"73b7c050",null);e["default"]=p.exports},cafe:function(t,e,o){},cb22:function(t,e,o){}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.fcf26ad0.js b/source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.fcf26ad0.js new file mode 100644 index 0000000000000000000000000000000000000000..cf4f442f96ce5dd81d87cd755a451531ad3c474e --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-2d20f362.fcf26ad0.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d20f362"],{b350:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-contain",staticStyle:{"margin-top":"10px"}},[r("el-row",{attrs:{gutter:50}},[r("el-col",{attrs:{span:7}},[r("el-card",[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",[e._v("个人信息")])]),r("el-row",{staticStyle:{"text-align":"center"}},[r("el-upload",{attrs:{action:"/api/student/upload/image",accept:".jpg,.png","show-file-list":!1,"on-success":e.uploadSuccess}},[r("el-avatar",{staticClass:"el-dropdown-avatar",attrs:{size:100,src:null===e.form.imagePath?a("1195"):e.form.imagePath}})],1)],1),r("el-row",{staticClass:"user-info-userName"},[r("label",[e._v(e._s(e.form.userName))])]),r("el-divider"),r("el-row",{staticClass:"user-info-fullInfo"},[r("label",[e._v("姓名:"+e._s(e.form.realName))]),r("br"),r("label",[e._v("年级:"+e._s(e.levelFormatter(e.form.userLevel)))]),r("br"),r("label",[e._v("注册时间:"+e._s(e.form.createTime))]),r("br")])],1)],1),r("el-col",{attrs:{span:17}},[r("el-card",{attrs:{shadow:"hover"}},[r("el-tabs",{attrs:{"active-name":"event",type:"card"}},[r("el-tab-pane",{attrs:{label:"用户动态",name:"event"}},[r("div",{staticClass:"block"},[r("el-timeline",e._l(e.event,(function(t){return r("el-timeline-item",{key:t.id,attrs:{timestamp:t.createTime,placement:"top"}},[r("el-card",[r("p",[e._v(e._s(t.content))])])],1)})),1)],1)]),r("el-tab-pane",{attrs:{label:"个人资料修改",name:"update"}},[r("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.formLoading,expression:"formLoading"}],ref:"form",attrs:{model:e.form,"label-width":"100px",rules:e.rules}},[r("el-form-item",{attrs:{label:"真实姓名:",prop:"realName",required:""}},[r("el-input",{model:{value:e.form.realName,callback:function(t){e.$set(e.form,"realName",t)},expression:"form.realName"}})],1),r("el-form-item",{attrs:{label:"年龄:"}},[r("el-input",{model:{value:e.form.age,callback:function(t){e.$set(e.form,"age",t)},expression:"form.age"}})],1),r("el-form-item",{attrs:{label:"性别:"}},[r("el-select",{attrs:{placeholder:"性别",clearable:""},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},e._l(e.sexEnum,(function(e){return r("el-option",{key:e.key,attrs:{value:e.key,label:e.value}})})),1)],1),r("el-form-item",{attrs:{label:"出生日期:"}},[r("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:e.form.birthDay,callback:function(t){e.$set(e.form,"birthDay",t)},expression:"form.birthDay"}})],1),r("el-form-item",{attrs:{label:"手机:"}},[r("el-input",{model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),r("el-form-item",{attrs:{label:"年级:",prop:"userLevel",required:""}},[r("el-select",{attrs:{placeholder:"年级"},model:{value:e.form.userLevel,callback:function(t){e.$set(e.form,"userLevel",t)},expression:"form.userLevel"}},e._l(e.levelEnum,(function(e){return r("el-option",{key:e.key,attrs:{value:e.key,label:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("更新")])],1)],1)],1)],1)],1)],1)],1)],1)},l=[],s=a("5530"),o=a("c24f"),n=a("2f62"),i={data:function(){return{event:[],form:{userName:"",realName:"",age:"",sex:"",birthDay:null,phone:null,userLevel:null,createTime:null,imagePath:null},formLoading:!1,rules:{realName:[{required:!0,message:"请输入真实姓名",trigger:"blur"}],userLevel:[{required:!0,message:"请选择年级",trigger:"change"}]}}},created:function(){var e=this;o["a"].getUserEvent().then((function(t){e.event=t.response})),o["a"].getCurrentUser().then((function(t){e.form=t.response}))},methods:{uploadSuccess:function(e,t){1===e.code?window.location.reload():this.$message.error(e.message)},submitForm:function(){var e=this,t=this;this.$refs.form.validate((function(a){if(!a)return!1;e.formLoading=!0,o["a"].update(e.form).then((function(e){1===e.code?t.$message.success(e.message):t.$message.error(e.message),t.formLoading=!1})).catch((function(e){t.formLoading=!1}))}))},levelFormatter:function(e){return this.enumFormat(this.levelEnum,e)}},computed:Object(s["a"])(Object(s["a"])({},Object(n["c"])("enumItem",["enumFormat"])),Object(n["e"])("enumItem",{sexEnum:function(e){return e.user.sexEnum},levelEnum:function(e){return e.user.levelEnum}}))},m=i,u=a("2877"),c=Object(u["a"])(m,r,l,!1,null,"eb22e912",null);t["default"]=c.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-31aa2150.f3fac53b.js b/source/xzs/src/main/resources/static/student/static/js/chunk-31aa2150.f3fac53b.js new file mode 100644 index 0000000000000000000000000000000000000000..fefa0980296d7d5fc2aaaadf23755093ad95f822 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-31aa2150.f3fac53b.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-31aa2150"],{"2ddb":function(e,t,n){"use strict";n("4395")},4395:function(e,t,n){},"4a0c":function(e,t,n){"use strict";var i=n("b775");t["a"]={select:function(e){return Object(i["a"])("/api/student/exam/paper/select/"+e)},pageList:function(e){return Object(i["a"])("/api/student/exam/paper/pageList",e)}}},"6cce":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-row",{staticClass:"do-exam-title"},[n("el-col",{attrs:{span:24}},[e._l(e.answer.answerItems,(function(t){return n("span",{key:t.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag",attrs:{type:e.questionCompleted(t.completed)},on:{click:function(n){return e.goAnchor("#question-"+t.itemOrder)}}},[e._v(e._s(t.itemOrder))])],1)})),n("span",{staticClass:"do-exam-time"},[n("label",[e._v("剩余时间:")]),n("label",[e._v(e._s(e.formatSeconds(e.remainTime)))])])],2)],1),n("el-row",{staticClass:"do-exam-title-hidden"},[n("el-col",{attrs:{span:24}},[e._l(e.answer.answerItems,(function(t){return n("span",{key:t.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag"},[e._v(e._s(t.itemOrder))])],1)})),n("span",{staticClass:"do-exam-time"},[n("label",[e._v("剩余时间:")])])],2)],1),n("el-container",{staticClass:"app-item-contain"},[n("el-header",{staticClass:"align-center"},[n("h1",[e._v(e._s(e.form.name))]),n("div",[n("span",{staticClass:"question-title-padding"},[e._v("试卷总分:"+e._s(e.form.score))]),n("span",{staticClass:"question-title-padding"},[e._v("考试时间:"+e._s(e.form.suggestTime)+"分钟")])])]),n("el-main",[n("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.formLoading,expression:"formLoading"}],ref:"form",attrs:{model:e.form,"label-width":"100px"}},[e._l(e.form.titleItems,(function(t,i){return n("el-row",{key:i},[n("h3",[e._v(e._s(t.name))]),0!==t.questionItems.length?n("el-card",{staticClass:"exampaper-item-box"},e._l(t.questionItems,(function(t){return n("el-form-item",{key:t.itemOrder,staticClass:"exam-question-item",attrs:{label:t.itemOrder+".","label-width":"50px",id:"question-"+t.itemOrder}},[n("QuestionEdit",{attrs:{qType:t.questionType,question:t,answer:e.answer.answerItems[t.itemOrder-1]}})],1)})),1):e._e()],1)})),n("el-row",{staticClass:"do-align-center"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("提交")]),n("el-button",[e._v("取消")])],1)],2)],1)],1)],1)},a=[],s=n("5530"),r=n("2f62"),o=n("ed08"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{"line-height":"1.8"}},[1==e.qType?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}]},[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",{staticClass:"q-content"},[n("el-radio-group",{on:{change:function(t){e.answer.completed=!0}},model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}},e._l(e.question.items,(function(t){return n("el-radio",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"question-prefix"},[e._v(e._s(t.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1)],1)]):2==e.qType?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}]},[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",{staticClass:"q-content"},[n("el-checkbox-group",{on:{change:function(t){e.answer.completed=!0}},model:{value:e.answer.contentArray,callback:function(t){e.$set(e.answer,"contentArray",t)},expression:"answer.contentArray"}},e._l(e.question.items,(function(t){return n("el-checkbox",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"question-prefix"},[e._v(e._s(t.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1)],1)]):3==e.qType?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}]},[n("div",{staticClass:"q-title",staticStyle:{display:"inline","margin-right":"10px"},domProps:{innerHTML:e._s(e.question.title)}}),n("span",{staticStyle:{"padding-right":"10px"}},[e._v("(")]),n("el-radio-group",{on:{change:function(t){e.answer.completed=!0}},model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}},e._l(e.question.items,(function(t){return n("el-radio",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1),n("span",{staticStyle:{"padding-left":"10px"}},[e._v(")")])],1):4==e.qType?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}]},[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",e._l(e.question.items,(function(t){return n("el-form-item",{key:t.prefix,staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{label:t.prefix,"label-width":"50px"}},[n("el-input",{on:{change:function(t){e.answer.completed=!0}},model:{value:e.answer.contentArray[t.prefix-1],callback:function(n){e.$set(e.answer.contentArray,t.prefix-1,n)},expression:"answer.contentArray[item.prefix-1]"}})],1)})),1)]):5==e.qType?n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}]},[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",[n("el-input",{attrs:{type:"textarea",rows:"5"},on:{change:function(t){e.answer.completed=!0}},model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}})],1)]):n("div")])},c=[],d=(n("a9e3"),{name:"QuestionShow",props:{question:{type:Object,default:function(){return{}}},answer:{type:Object,default:function(){return{id:null,content:"",contentArray:[]}}},qLoading:{type:Boolean,default:!1},qType:{type:Number,default:0}},methods:{}}),m=d,u=n("2877"),p=Object(u["a"])(m,l,c,!1,null,null,null),f=p.exports,v=n("4a0c"),g=n("ed24"),w={components:{QuestionEdit:f},data:function(){return{form:{},formLoading:!1,answer:{questionId:null,doTime:0,answerItems:[]},timer:null,remainTime:0}},created:function(){var e=this.$route.query.id,t=this;e&&0!==parseInt(e)&&(t.formLoading=!0,v["a"].select(e).then((function(e){t.form=e.response,t.remainTime=60*e.response.suggestTime,t.initAnswer(),t.timeReduce(),t.formLoading=!1})))},mounted:function(){},beforeDestroy:function(){window.clearInterval(this.timer)},methods:{formatSeconds:function(e){return Object(o["a"])(e)},timeReduce:function(){var e=this;this.timer=setInterval((function(){e.remainTime<=0?e.submitForm():(++e.answer.doTime,--e.remainTime)}),1e3)},questionCompleted:function(e){return this.enumFormat(this.doCompletedTag,e)},goAnchor:function(e){this.$el.querySelector(e).scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})},initAnswer:function(){this.answer.id=this.form.id;var e=this.form.titleItems;for(var t in e){var n=e[t].questionItems;for(var i in n){var a=n[i];this.answer.answerItems.push({questionId:a.id,content:null,contentArray:[],completed:!1,itemOrder:a.itemOrder})}}},submitForm:function(){var e=this;window.clearInterval(e.timer),e.formLoading=!0,g["a"].answerSubmit(this.answer).then((function(t){1===t.code?e.$alert("试卷得分:"+t.response+"分","考试结果",{confirmButtonText:"返回考试记录",callback:function(t){e.$router.push("/record/index")}}):e.$message.error(t.message),e.formLoading=!1})).catch((function(t){e.formLoading=!1}))}},computed:Object(s["a"])(Object(s["a"])({},Object(r["c"])("enumItem",["enumFormat"])),Object(r["e"])("enumItem",{doCompletedTag:function(e){return e.exam.question.answer.doCompletedTag}}))},q=w,x=(n("2ddb"),Object(u["a"])(q,i,a,!1,null,"a51a27fe",null));t["default"]=x.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-604488bc.ebefaf71.js b/source/xzs/src/main/resources/static/student/static/js/chunk-604488bc.ebefaf71.js new file mode 100644 index 0000000000000000000000000000000000000000..cc84e611a65d4bf855513aac60f1c5a01171c8da --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-604488bc.ebefaf71.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-604488bc"],{"0a0c":function(e,t,n){"use strict";n("1805")},1805:function(e,t,n){},beb3:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-row",{staticClass:"do-exam-title",staticStyle:{"background-color":"#F5F5DC"}},[n("el-col",{attrs:{span:24}},e._l(e.answer.answerItems,(function(t){return n("span",{key:t.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag",attrs:{type:e.questionDoRightTag(t.doRight)},on:{click:function(n){return e.goAnchor("#question-"+t.itemOrder)}}},[e._v(e._s(t.itemOrder))])],1)})),0)],1),n("el-row",{staticClass:"do-exam-title-hidden"},[n("el-col",{attrs:{span:24}},e._l(e.answer.answerItems,(function(t){return n("span",{key:t.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag"},[e._v(e._s(t.itemOrder))])],1)})),0)],1),n("el-container",{staticClass:"app-item-contain"},[n("el-header",{staticClass:"align-center"},[n("h1",[e._v(e._s(e.form.name))]),n("div",[n("span",{staticClass:"question-title-padding"},[e._v("试卷得分:"+e._s(e.answer.score))]),n("span",{staticClass:"question-title-padding"},[e._v("试卷耗时:"+e._s(e.formatSeconds(e.answer.doTime)))])])]),n("el-main",[n("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.formLoading,expression:"formLoading"}],ref:"form",attrs:{model:e.form,"label-width":"100px"}},[e._l(e.form.titleItems,(function(t,s){return n("el-row",{key:s},[n("h3",[e._v(e._s(t.name))]),0!==t.questionItems.length?n("el-card",{staticClass:"exampaper-item-box"},e._l(t.questionItems,(function(t){return n("el-form-item",{key:t.itemOrder,staticClass:"exam-question-item",attrs:{label:t.itemOrder+".","label-width":"50px",id:"question-"+t.itemOrder}},[n("el-row",[n("QuestionAnswerShow",{attrs:{qType:t.questionType,question:t,answer:e.answer.answerItems[t.itemOrder-1]}})],1),null===e.answer.answerItems[t.itemOrder-1].doRight?n("el-row",[n("label",{staticStyle:{color:"#e6a23c"}},[e._v("批改:")]),n("el-radio-group",{model:{value:e.answer.answerItems[t.itemOrder-1].score,callback:function(n){e.$set(e.answer.answerItems[t.itemOrder-1],"score",n)},expression:"answer.answerItems[questionItem.itemOrder-1].score"}},e._l(e.scoreSelect(t.score),(function(t){return n("el-radio",{key:t,attrs:{label:t}},[e._v(" "+e._s(t)+" ")])})),1)],1):e._e()],1)})),1):e._e()],1)})),n("el-row",{staticClass:"do-align-center"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("提交")]),n("el-button",[e._v("取消")])],1)],2)],1)],1)],1)},i=[],a=(n("c975"),n("d3b7"),n("25f0"),n("5530")),r=n("2f62"),o=n("ed08"),c=n("ff3e"),l=n("ed24"),u={components:{QuestionAnswerShow:c["a"]},data:function(){return{form:{},formLoading:!1,answer:{id:null,score:0,doTime:0,answerItems:[],doRight:!1}}},created:function(){var e=this.$route.query.id,t=this;e&&0!==parseInt(e)&&(t.formLoading=!0,l["a"].read(e).then((function(e){t.form=e.response.paper,t.answer=e.response.answer,t.formLoading=!1})))},methods:{submitForm:function(){var e=this;e.formLoading=!0,l["a"].edit(this.answer).then((function(t){1===t.code?e.$alert("试卷得分:"+t.response+"分","考试结果",{confirmButtonText:"返回考试记录",callback:function(t){e.$router.push("/record/index")}}):e.$message.error(t.message),e.formLoading=!1})).catch((function(t){e.formLoading=!1}))},scoreSelect:function(e){for(var t=[],n=0;n<=parseInt(e);n++)t.push(n.toString());return-1!==e.indexOf(".")&&t.push(e),t},formatSeconds:function(e){return Object(o["a"])(e)},questionDoRightTag:function(e){return this.enumFormat(this.doRightTag,e)},goAnchor:function(e){this.$el.querySelector(e).scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})}},computed:Object(a["a"])(Object(a["a"])({},Object(r["c"])("enumItem",["enumFormat"])),Object(r["e"])("enumItem",{doRightTag:function(e){return e.exam.question.answer.doRightTag}}))},m=u,d=(n("0a0c"),n("2877")),p=Object(d["a"])(m,s,i,!1,null,"1e9320d3",null);t["default"]=p.exports},ff3e:function(e,t,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.qLoading,expression:"qLoading"}],staticStyle:{"line-height":"1.8"}},[1==e.qType||2==e.qType||3==e.qType||4==e.qType||5==e.qType?n("div",[1==e.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",{staticClass:"q-content"},[n("el-radio-group",{model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}},e._l(e.question.items,(function(t){return n("el-radio",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"question-prefix"},[e._v(e._s(t.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1)],1)]):2==e.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",{staticClass:"q-content"},[n("el-checkbox-group",{model:{value:e.answer.contentArray,callback:function(t){e.$set(e.answer,"contentArray",t)},expression:"answer.contentArray"}},e._l(e.question.items,(function(t){return n("el-checkbox",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"question-prefix"},[e._v(e._s(t.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1)],1)]):3==e.qType?n("div",[n("div",{staticClass:"q-title",staticStyle:{display:"inline","margin-right":"10px"},domProps:{innerHTML:e._s(e.question.title)}}),n("span",{staticStyle:{"padding-right":"10px"}},[e._v("(")]),n("el-radio-group",{model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}},e._l(e.question.items,(function(t){return n("el-radio",{key:t.prefix,attrs:{label:t.prefix}},[n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(t.content)}})])})),1),n("span",{staticStyle:{"padding-left":"10px"}},[e._v(")")])],1):4==e.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),null!==e.answer.contentArray?n("div",e._l(e.question.items,(function(t){return n("el-form-item",{key:t.prefix,staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{label:t.prefix,"label-width":"50px"}},[n("el-input",{model:{value:e.answer.contentArray[t.prefix-1],callback:function(n){e.$set(e.answer.contentArray,t.prefix-1,n)},expression:"answer.contentArray[item.prefix-1]"}})],1)})),1):e._e()]):5==e.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:e._s(e.question.title)}}),n("div",[n("el-input",{attrs:{type:"textarea",rows:"5"},model:{value:e.answer.content,callback:function(t){e.$set(e.answer,"content",t)},expression:"answer.content"}})],1)]):e._e(),n("div",{staticClass:"question-answer-show-item",staticStyle:{"margin-top":"15px"}},[n("span",{staticClass:"question-show-item"},[e._v("结果:")]),n("el-tag",{attrs:{type:e.doRightTagFormatter(e.answer.doRight)}},[e._v(" "+e._s(e.doRightTextFormatter(e.answer.doRight))+" ")])],1),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[e._v("分数:")]),n("span",[e._v(e._s(e.question.score))])]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[e._v("难度:")]),n("el-rate",{staticClass:"question-show-item",attrs:{disabled:""},model:{value:e.question.difficult,callback:function(t){e.$set(e.question,"difficult",t)},expression:"question.difficult"}})],1),n("br"),n("div",{staticClass:"question-answer-show-item",staticStyle:{"line-height":"1.8"}},[n("span",{staticClass:"question-show-item"},[e._v("解析:")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(e.question.analyze)}})]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[e._v("正确答案:")]),1==e.qType||2==e.qType||5==e.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(e.question.correct)}}):e._e(),3==e.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:e._s(e.trueFalseFormatter(e.question))}}):e._e(),4==e.qType?n("span",[e._v(e._s(e.question.correctArray))]):e._e()])]):n("div")])},i=[],a=(n("4de4"),n("a9e3"),n("5530")),r=n("2f62"),o={name:"QuestionShow",props:{question:{type:Object,default:function(){return{}}},answer:{type:Object,default:function(){return{id:null,content:"",contentArray:[],doRight:!1}}},qLoading:{type:Boolean,default:!1},qType:{type:Number,default:0}},methods:{trueFalseFormatter:function(e){return e.items.filter((function(t){return t.prefix===e.correct}))[0].content},doRightTagFormatter:function(e){return this.enumFormat(this.doRightTag,e)},doRightTextFormatter:function(e){return this.enumFormat(this.doRightEnum,e)}},computed:Object(a["a"])(Object(a["a"])({},Object(r["c"])("enumItem",["enumFormat"])),Object(r["e"])("enumItem",{doRightEnum:function(e){return e.exam.question.answer.doRightEnum},doRightTag:function(e){return e.exam.question.answer.doRightTag}}))},c=o,l=n("2877"),u=Object(l["a"])(c,s,i,!1,null,null,null);t["a"]=u.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-66bf5956.411607b4.js b/source/xzs/src/main/resources/static/student/static/js/chunk-66bf5956.411607b4.js new file mode 100644 index 0000000000000000000000000000000000000000..896e812856aec8a19eb4b7397fc13a3e104b7a02 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-66bf5956.411607b4.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66bf5956"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,a){var o=i(),s=t-o,u=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=u;var i=Math.easeInOutQuad(l,o,s,e);r(i),l0,expression:"total>0"}],staticStyle:{"margin-top":"20px"},attrs:{total:t.total,background:!1,page:t.queryParam.pageIndex,limit:t.queryParam.pageSize},on:{"update:page":function(e){return t.$set(t.queryParam,"pageIndex",e)},"update:limit":function(e){return t.$set(t.queryParam,"pageSize",e)},pagination:t.search}})],1),a("el-col",{attrs:{span:6}},[a("el-card",{staticClass:"record-answer-info"},[a("el-form",{attrs:{"label-width":"50%"}},[a("el-form-item",{attrs:{label:"系统判分:"}},[a("span",[t._v(t._s(t.selectItem.systemScore))])]),a("el-form-item",{attrs:{label:"最终得分:"}},[a("span",[t._v(t._s(t.selectItem.userScore))])]),a("el-form-item",{attrs:{label:"试卷总分:"}},[a("span",[t._v(t._s(t.selectItem.paperScore))])]),a("el-form-item",{attrs:{label:"正确题数:"}},[a("span",[t._v(t._s(t.selectItem.questionCorrect))])]),a("el-form-item",{attrs:{label:"总题数:"}},[a("span",[t._v(t._s(t.selectItem.questionCount))])]),a("el-form-item",{attrs:{label:"用时:"}},[a("span",[t._v(t._s(t.selectItem.doTime))])])],1)],1)],1)],1)],1)},r=[],i=(a("ac1f"),a("841c"),a("5530")),o=a("2f62"),s=a("333d"),u=a("ed24"),l=a("09f4"),c={components:{Pagination:s["a"]},data:function(){return{queryParam:{pageIndex:1,pageSize:10},listLoading:!1,tableData:[],total:0,selectItem:{systemScore:"0",userScore:"0",doTime:"0",paperScore:"0",questionCorrect:0,questionCount:0}}},created:function(){this.search(),Object(l["a"])(0,800)},methods:{search:function(){this.listLoading=!0;var t=this;u["a"].pageList(this.queryParam).then((function(e){var a=e.response;t.tableData=a.list,t.total=a.total,t.queryParam.pageIndex=a.pageNum,t.listLoading=!1}))},itemSelect:function(t,e,a){this.selectItem=t},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(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{statusEnum:function(t){return t.exam.examPaperAnswer.statusEnum},statusTag:function(t){return t.exam.examPaperAnswer.statusTag}}))},p=c,d=a("2877"),m=Object(d["a"])(p,n,r,!1,null,"51913c06",null);e["default"]=m.exports},ed24:function(t,e,a){"use strict";var n=a("b775");e["a"]={pageList:function(t){return Object(n["a"])("/api/student/exampaper/answer/pageList",t)},answerSubmit:function(t){return Object(n["a"])("/api/student/exampaper/answer/answerSubmit",t)},read:function(t){return Object(n["a"])("/api/student/exampaper/answer/read/"+t)},edit:function(t){return Object(n["a"])("/api/student/exampaper/answer/edit",t)}}}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-69a4052e.5040a342.js b/source/xzs/src/main/resources/static/student/static/js/chunk-69a4052e.5040a342.js new file mode 100644 index 0000000000000000000000000000000000000000..61e455e9158d39b56b37292ceaddc070b9f95d36 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-69a4052e.5040a342.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69a4052e"],{2927:function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-row",{staticClass:"do-exam-title",staticStyle:{"background-color":"#F5F5DC"}},[n("el-col",{attrs:{span:24}},t._l(t.answer.answerItems,(function(e){return n("span",{key:e.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag",attrs:{type:t.questionDoRightTag(e.doRight)},on:{click:function(n){return t.goAnchor("#question-"+e.itemOrder)}}},[t._v(t._s(e.itemOrder))])],1)})),0)],1),n("el-row",{staticClass:"do-exam-title-hidden"},[n("el-col",{attrs:{span:24}},t._l(t.answer.answerItems,(function(e){return n("span",{key:e.itemOrder},[n("el-tag",{staticClass:"do-exam-title-tag"},[t._v(t._s(e.itemOrder))])],1)})),0)],1),n("el-container",{staticClass:"app-item-contain"},[n("el-header",{staticClass:"align-center"},[n("h1",[t._v(t._s(t.form.name))]),n("div",[n("span",{staticClass:"question-title-padding"},[t._v("试卷得分:"+t._s(t.answer.score))]),n("span",{staticClass:"question-title-padding"},[t._v("试卷耗时:"+t._s(t.formatSeconds(t.answer.doTime)))])])]),n("el-main",[n("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.formLoading,expression:"formLoading"}],ref:"form",attrs:{model:t.form,"label-width":"100px"}},t._l(t.form.titleItems,(function(e,s){return n("el-row",{key:s},[n("h3",[t._v(t._s(e.name))]),0!==e.questionItems.length?n("el-card",{staticClass:"exampaper-item-box"},t._l(e.questionItems,(function(e){return n("el-form-item",{key:e.itemOrder,staticClass:"exam-question-item",attrs:{label:e.itemOrder+".","label-width":"50px",id:"question-"+e.itemOrder}},[n("QuestionAnswerShow",{attrs:{qType:e.questionType,question:e,answer:t.answer.answerItems[e.itemOrder-1]}})],1)})),1):t._e()],1)})),1)],1)],1)],1)},i=[],a=n("5530"),o=n("2f62"),r=n("ed08"),l=n("ff3e"),c=n("ed24"),u={components:{QuestionAnswerShow:l["a"]},data:function(){return{form:{},formLoading:!1,answer:{id:null,score:0,doTime:0,answerItems:[],doRight:!1}}},created:function(){var t=this.$route.query.id,e=this;t&&0!==parseInt(t)&&(e.formLoading=!0,c["a"].read(t).then((function(t){e.form=t.response.paper,e.answer=t.response.answer,e.formLoading=!1})))},methods:{formatSeconds:function(t){return Object(r["a"])(t)},questionDoRightTag:function(t){return this.enumFormat(this.doRightTag,t)},goAnchor:function(t){this.$el.querySelector(t).scrollIntoView({behavior:"instant",block:"center",inline:"nearest"})}},computed:Object(a["a"])(Object(a["a"])({},Object(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{doRightTag:function(t){return t.exam.question.answer.doRightTag}}))},d=u,m=(n("79dd"),n("2877")),p=Object(m["a"])(d,s,i,!1,null,"15c1a324",null);e["default"]=p.exports},"58c4":function(t,e,n){},"79dd":function(t,e,n){"use strict";n("58c4")},ff3e:function(t,e,n){"use strict";var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.qLoading,expression:"qLoading"}],staticStyle:{"line-height":"1.8"}},[1==t.qType||2==t.qType||3==t.qType||4==t.qType||5==t.qType?n("div",[1==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",{staticClass:"q-content"},[n("el-radio-group",{model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}},t._l(t.question.items,(function(e){return n("el-radio",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"question-prefix"},[t._v(t._s(e.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1)],1)]):2==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",{staticClass:"q-content"},[n("el-checkbox-group",{model:{value:t.answer.contentArray,callback:function(e){t.$set(t.answer,"contentArray",e)},expression:"answer.contentArray"}},t._l(t.question.items,(function(e){return n("el-checkbox",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"question-prefix"},[t._v(t._s(e.prefix)+".")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1)],1)]):3==t.qType?n("div",[n("div",{staticClass:"q-title",staticStyle:{display:"inline","margin-right":"10px"},domProps:{innerHTML:t._s(t.question.title)}}),n("span",{staticStyle:{"padding-right":"10px"}},[t._v("(")]),n("el-radio-group",{model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}},t._l(t.question.items,(function(e){return n("el-radio",{key:e.prefix,attrs:{label:e.prefix}},[n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(e.content)}})])})),1),n("span",{staticStyle:{"padding-left":"10px"}},[t._v(")")])],1):4==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),null!==t.answer.contentArray?n("div",t._l(t.question.items,(function(e){return n("el-form-item",{key:e.prefix,staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{label:e.prefix,"label-width":"50px"}},[n("el-input",{model:{value:t.answer.contentArray[e.prefix-1],callback:function(n){t.$set(t.answer.contentArray,e.prefix-1,n)},expression:"answer.contentArray[item.prefix-1]"}})],1)})),1):t._e()]):5==t.qType?n("div",[n("div",{staticClass:"q-title",domProps:{innerHTML:t._s(t.question.title)}}),n("div",[n("el-input",{attrs:{type:"textarea",rows:"5"},model:{value:t.answer.content,callback:function(e){t.$set(t.answer,"content",e)},expression:"answer.content"}})],1)]):t._e(),n("div",{staticClass:"question-answer-show-item",staticStyle:{"margin-top":"15px"}},[n("span",{staticClass:"question-show-item"},[t._v("结果:")]),n("el-tag",{attrs:{type:t.doRightTagFormatter(t.answer.doRight)}},[t._v(" "+t._s(t.doRightTextFormatter(t.answer.doRight))+" ")])],1),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("分数:")]),n("span",[t._v(t._s(t.question.score))])]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("难度:")]),n("el-rate",{staticClass:"question-show-item",attrs:{disabled:""},model:{value:t.question.difficult,callback:function(e){t.$set(t.question,"difficult",e)},expression:"question.difficult"}})],1),n("br"),n("div",{staticClass:"question-answer-show-item",staticStyle:{"line-height":"1.8"}},[n("span",{staticClass:"question-show-item"},[t._v("解析:")]),n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.question.analyze)}})]),n("div",{staticClass:"question-answer-show-item"},[n("span",{staticClass:"question-show-item"},[t._v("正确答案:")]),1==t.qType||2==t.qType||5==t.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.question.correct)}}):t._e(),3==t.qType?n("span",{staticClass:"q-item-span-content",domProps:{innerHTML:t._s(t.trueFalseFormatter(t.question))}}):t._e(),4==t.qType?n("span",[t._v(t._s(t.question.correctArray))]):t._e()])]):n("div")])},i=[],a=(n("4de4"),n("a9e3"),n("5530")),o=n("2f62"),r={name:"QuestionShow",props:{question:{type:Object,default:function(){return{}}},answer:{type:Object,default:function(){return{id:null,content:"",contentArray:[],doRight:!1}}},qLoading:{type:Boolean,default:!1},qType:{type:Number,default:0}},methods:{trueFalseFormatter:function(t){return t.items.filter((function(e){return e.prefix===t.correct}))[0].content},doRightTagFormatter:function(t){return this.enumFormat(this.doRightTag,t)},doRightTextFormatter:function(t){return this.enumFormat(this.doRightEnum,t)}},computed:Object(a["a"])(Object(a["a"])({},Object(o["c"])("enumItem",["enumFormat"])),Object(o["e"])("enumItem",{doRightEnum:function(t){return t.exam.question.answer.doRightEnum},doRightTag:function(t){return t.exam.question.answer.doRightTag}}))},l=r,c=n("2877"),u=Object(c["a"])(l,s,i,!1,null,null,null);e["a"]=u.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-7e275898.6e69aad3.js b/source/xzs/src/main/resources/static/student/static/js/chunk-7e275898.6e69aad3.js new file mode 100644 index 0000000000000000000000000000000000000000..c7bf40c5322d748141254b0da90c699fd356d70e --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-7e275898.6e69aad3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e275898"],{4565:function(e,t,n){"use strict";n("6bec")},"5fbe":function(e,t,n){e.exports=n.p+"static/img/logo2.745fd978.png"},"6bec":function(e,t,n){},b000:function(e,t,n){},d5c2:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"lowin lowin-blue"},[e._m(0),n("div",{staticClass:"lowin-wrapper"},[n("div",{staticClass:"lowin-box lowin-register"},[n("div",{staticClass:"lowin-box-inner"},[n("el-form",{ref:"loginForm",attrs:{model:e.loginForm}},[n("p",[e._v("学之思考试系统")]),n("div",{staticClass:"lowin-group"},[n("label",[e._v("用户名 ")]),n("el-input",{ref:"userName",staticClass:"lowin-input",attrs:{placeholder:"用户名",name:"userName",type:"text",tabindex:"1","auto-complete":"on"},model:{value:e.loginForm.userName,callback:function(t){e.$set(e.loginForm,"userName",t)},expression:"loginForm.userName"}})],1),n("div",{staticClass:"lowin-group password-group"},[n("label",[e._v("密码")]),n("el-input",{ref:"password",staticClass:"lowin-input",attrs:{placeholder:"密码",name:"password",tabindex:"2","auto-complete":"on"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}})],1),n("div",{staticClass:"lowin-group"},[n("label",[e._v("年级 ")]),n("el-select",{staticClass:"lowin-input",attrs:{placeholder:"年级"},model:{value:e.loginForm.userLevel,callback:function(t){e.$set(e.loginForm,"userLevel",t)},expression:"loginForm.userLevel"}},e._l(e.levelEnum,(function(e){return n("el-option",{key:e.key,attrs:{value:e.key,label:e.value}})})),1)],1),n("el-button",{staticClass:"lowin-btn login-btn",attrs:{type:"text"},nativeOn:{click:function(t){return t.preventDefault(),e.handleRegister(t)}}},[e._v("注册")]),n("div",{staticClass:"text-foot"},[e._v(" 已有账号? "),n("router-link",{staticClass:"login-link",attrs:{to:"/login"}},[e._v(" 登录 ")])],1)],1)],1)])]),e._m(1)])},o=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"lowin-brand"},[s("img",{staticStyle:{"margin-top":"12px"},attrs:{src:n("5fbe"),alt:"logo"}})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"account-foot-copyright"},[n("span",[e._v("Copyright © 2020 武汉思维跳跃科技有限公司 版权所有")])])}],i=n("5530"),l=n("2f62"),r=n("b775"),a={register:function(e){return Object(r["b"])("/api/student/user/register",e)}},u={name:"Login",data:function(){return{loginForm:{userName:"",password:"",userLevel:1}}},methods:Object(i["a"])({handleRegister:function(){var e=this;a.register(this.loginForm).then((function(t){t&&1===t.code?e.$router.push({path:"/login"}):e.$message.error(t.message)}))}},Object(l["d"])("user",["setUserName"])),computed:Object(i["a"])({},Object(l["e"])("enumItem",{levelEnum:function(e){return e.user.levelEnum}}))},c=u,p=(n("4565"),n("fef4"),n("2877")),m=Object(p["a"])(c,s,o,!1,null,"e18104dc",null);t["default"]=m.exports},fef4:function(e,t,n){"use strict";n("b000")}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-912d804c.bf898fc2.js b/source/xzs/src/main/resources/static/student/static/js/chunk-912d804c.bf898fc2.js new file mode 100644 index 0000000000000000000000000000000000000000..291c9f5539334185b9decaa81edc752ef98510ce --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-912d804c.bf898fc2.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-912d804c"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return u})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,a){var u=r(),o=t-u,c=20,s=0;e="undefined"===typeof e?500:e;var l=function t(){s+=c;var r=Math.easeInOutQuad(s,u,o,e);i(r),s0,expression:"total>0"}],staticStyle:{"margin-top":"20px"},attrs:{total:t.total,background:!1,page:t.queryParam.pageIndex,limit:t.queryParam.pageSize},on:{"update:page":function(e){return t.$set(t.queryParam,"pageIndex",e)},"update:limit":function(e){return t.$set(t.queryParam,"pageSize",e)},pagination:t.search}})],1)})),1)],1)},i=[],r=(a("a9e3"),a("d3b7"),a("ac1f"),a("25f0"),a("841c"),a("5530")),u=a("2f62"),o=a("333d"),c=a("4a0c"),s=a("c418"),l={components:{Pagination:o["a"]},data:function(){return{queryParam:{paperType:1,subjectId:0,pageIndex:1,pageSize:10},tabId:"",listLoading:!0,subjectList:[],tableData:[],total:0}},created:function(){this.initSubject()},methods:{initSubject:function(){var t=this;s["a"].list().then((function(e){t.subjectList=e.response;var a=t.subjectList[0].id;t.queryParam.subjectId=a,t.tabId=a.toString(),t.search()}))},search:function(){var t=this;this.listLoading=!0,c["a"].pageList(this.queryParam).then((function(e){var a=e.response;t.tableData=a.list,t.total=a.total,t.queryParam.pageIndex=a.pageNum,t.listLoading=!1}))},paperTypeChange:function(t){this.search()},subjectChange:function(t,e){this.queryParam.subjectId=Number(this.tabId),this.search()}},computed:Object(r["a"])({},Object(u["e"])("enumItem",{paperTypeEnum:function(t){return t.exam.examPaper.paperTypeEnum}}))},p=l,d=a("2877"),g=Object(d["a"])(p,n,i,!1,null,null,null);e["default"]=g.exports}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/chunk-ce360eb2.d317a798.js b/source/xzs/src/main/resources/static/student/static/js/chunk-ce360eb2.d317a798.js new file mode 100644 index 0000000000000000000000000000000000000000..071c652e65fd3616fd8e8a8c301f7909f2559094 --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/chunk-ce360eb2.d317a798.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ce360eb2"],{1276:function(t,e,n){"use strict";var r=n("d784"),i=n("44e7"),a=n("825a"),u=n("1d80"),s=n("4840"),o=n("8aa5"),c=n("50c4"),f=n("14c3"),l=n("9263"),d=n("d039"),v=[].push,p=Math.min,h=4294967295,g=!d((function(){return!RegExp(h,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(u(this)),a=void 0===n?h:n>>>0;if(0===a)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,a);var s,o,c,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,g=new RegExp(t.source,d+"g");while(s=l.call(g,r)){if(o=g.lastIndex,o>p&&(f.push(r.slice(p,s.index)),s.length>1&&s.index=a))break;g.lastIndex===s.index&&g.lastIndex++}return p===r.length?!c&&g.test("")||f.push(""):f.push(r.slice(p)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=u(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,i,n):r.call(String(i),e,n)},function(t,i){var u=n(r,t,this,i,r!==e);if(u.done)return u.value;var l=a(t),d=String(this),v=s(l,RegExp),x=l.unicode,b=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),w=new v(g?l:"^(?:"+l.source+")",b),y=void 0===i?h:i>>>0;if(0===y)return[];if(0===d.length)return null===f(w,d)?[d]:[];var I=0,E=0,m=[];while(E-1,n&&(e=e.replace(/y/g,"")));var s=u(E?new b(t,e):b(t,e),r?this:w,S);return m&&n&&p(s,{sticky:n}),s},R=function(t){t in S||s(S,t,{configurable:!0,get:function(){return b[t]},set:function(e){b[t]=e}})},k=o(b),j=0;while(k.length>j)R(k[j++]);w.constructor=S,S.prototype=w,d(i,"RegExp",S)}h("RegExp")},6062:function(t,e,n){"use strict";var r=n("6d61"),i=n("6566");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},6566:function(t,e,n){"use strict";var r=n("9bf2").f,i=n("7c73"),a=n("e2cc"),u=n("0366"),s=n("19aa"),o=n("2266"),c=n("7dd0"),f=n("2626"),l=n("83ab"),d=n("f183").fastKey,v=n("69f3"),p=v.set,h=v.getterFor;t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,f,e),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),l||(t.size=0),void 0!=r&&o(r,t[c],{that:t,AS_ENTRIES:n})})),v=h(e),g=function(t,e,n){var r,i,a=v(t),u=x(t,e);return u?u.value=n:(a.last=u={index:i=d(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=u),r&&(r.next=u),l?a.size++:t.size++,"F"!==i&&(a.index[i]=u)),t},x=function(t,e){var n,r=v(t),i=d(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return a(f.prototype,{clear:function(){var t=this,e=v(t),n=e.index,r=e.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;e.first=e.last=void 0,l?e.size=0:t.size=0},delete:function(t){var e=this,n=v(e),r=x(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),l?n.size--:e.size--}return!!r},forEach:function(t){var e,n=v(this),r=u(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){r(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!x(this,t)}}),a(f.prototype,n?{get:function(t){var e=x(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return v(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",i=h(e),a=h(r);c(t,e,(function(t,e){p(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){var t=a(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(e)}}},"6d61":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),a=n("94ca"),u=n("6eeb"),s=n("f183"),o=n("2266"),c=n("19aa"),f=n("861d"),l=n("d039"),d=n("1c7e"),v=n("d44e"),p=n("7156");t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),x=h?"set":"add",b=i[t],w=b&&b.prototype,y=b,I={},E=function(t){var e=w[t];u(w,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(a(t,"function"!=typeof b||!(g||w.forEach&&!l((function(){(new b).entries().next()})))))y=n.getConstructor(e,t,h,x),s.REQUIRED=!0;else if(a(t,!0)){var m=new y,O=m[x](g?{}:-0,1)!=m,S=l((function(){m.has(1)})),R=d((function(t){new b(t)})),k=!g&&l((function(){var t=new b,e=5;while(e--)t[x](e,e);return!t.has(-0)}));R||(y=e((function(e,n){c(e,y,t);var r=p(new b,e,y);return void 0!=n&&o(n,r[x],{that:r,AS_ENTRIES:h}),r})),y.prototype=w,w.constructor=y),(S||k)&&(E("delete"),E("has"),h&&E("get")),(k||O)&&E(x),g&&w.clear&&delete w.clear}return I[t]=y,r({global:!0,forced:y!=b},I),v(y,t),g||n.setStrong(y,t,h),y}},a15b:function(t,e,n){"use strict";var r=n("23e7"),i=n("44ad"),a=n("fc6a"),u=n("a640"),s=[].join,o=i!=Object,c=u("join",",");r({target:"Array",proto:!0,forced:o||!c},{join:function(t){return s.call(a(this),void 0===t?",":t)}})},baa5:function(t,e,n){var r=n("23e7"),i=n("e58c");r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},e58c:function(t,e,n){"use strict";var r=n("fc6a"),i=n("a691"),a=n("50c4"),u=n("a640"),s=n("ae40"),o=Math.min,c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0,l=u("lastIndexOf"),d=s("indexOf",{ACCESSORS:!0,1:0}),v=f||!l||!d;t.exports=v?function(t){if(f)return c.apply(this,arguments)||0;var e=r(this),n=a(e.length),u=n-1;for(arguments.length>1&&(u=o(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in e&&e[u]===t)return u||0;return-1}:c},ed08:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("4160"),n("a630"),n("c975"),n("a15b"),n("baa5"),n("d81d"),n("fb6a"),n("b64b"),n("d3b7"),n("4d63"),n("ac1f"),n("25f0"),n("6062"),n("3ca3"),n("466d"),n("5319"),n("1276"),n("159b"),n("ddb0"),n("a4d3"),n("e01a"),n("d28b");function r(t){var e=0,n=0;t>60&&(e=parseInt(t/60),t=parseInt(t%60),e>60&&(n=parseInt(e/60),e=parseInt(e%60)));var r=parseInt(t)+"秒";return e>0&&(r=parseInt(e)+"分"+r),n>0&&(r=parseInt(n)+"小时"+r),r}},ed24:function(t,e,n){"use strict";var r=n("b775");e["a"]={pageList:function(t){return Object(r["a"])("/api/student/exampaper/answer/pageList",t)},answerSubmit:function(t){return Object(r["a"])("/api/student/exampaper/answer/answerSubmit",t)},read:function(t){return Object(r["a"])("/api/student/exampaper/answer/read/"+t)},edit:function(t){return Object(r["a"])("/api/student/exampaper/answer/edit",t)}}},f183:function(t,e,n){var r=n("d012"),i=n("861d"),a=n("5135"),u=n("9bf2").f,s=n("90e3"),o=n("bb2f"),c=s("meta"),f=0,l=Object.isExtensible||function(){return!0},d=function(t){u(t,c,{value:{objectID:"O"+ ++f,weakData:{}}})},v=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,c)){if(!l(t))return"F";if(!e)return"E";d(t)}return t[c].objectID},p=function(t,e){if(!a(t,c)){if(!l(t))return!0;if(!e)return!1;d(t)}return t[c].weakData},h=function(t){return o&&g.REQUIRED&&l(t)&&!a(t,c)&&d(t),t},g=t.exports={REQUIRED:!1,fastKey:v,getWeakData:p,onFreeze:h};r[c]=!0}}]); \ No newline at end of file diff --git a/source/xzs/src/main/resources/static/student/static/js/index.64416a6c.js b/source/xzs/src/main/resources/static/student/static/js/index.64416a6c.js new file mode 100644 index 0000000000000000000000000000000000000000..ed162aa12ff5c3ac5e3f45e1adf29bb20ad8a4fb --- /dev/null +++ b/source/xzs/src/main/resources/static/student/static/js/index.64416a6c.js @@ -0,0 +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},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},"2db6":function(e,t,n){},"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},3889:function(e,t,n){"use strict";n("4a7e")},4123:function(e,t,n){e.exports=n.p+"static/img/6.283f9963.png"},"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},"4a7e":function(e,t,n){},"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("3889"),n("2877")),h=Object(d["a"])(l,i,r,!1,null,"191e1caa",null),v=h.exports,m={name:"App",components:{BackToTop:v}},f=m,p=Object(d["a"])(f,o,s,!1,null,null,null),w=p.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/sdd.html",target:"_blank"}},[e._v("思多多智能考试平台")]),a("a",{staticClass:"footer-main-link",attrs:{href:"http://www.mindskip.net/wdd.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("cf09")}})]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("跃考 H5、小程序")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("73d9")}}),a("img",{staticStyle:{width:"100px",height:"100px","margin-left":"10px"},attrs:{src:n("fd51")}})]),a("div",{staticClass:"footer-main"},[a("h4",[e._v("维考 H5、小程序")]),a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:n("4123")}}),a("img",{staticStyle:{width:"100px",height:"100px","margin-left":"10px"},attrs:{src:n("05c9")}})]),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/mindskip/xzs",target:"_blank"}},[a("svg-icon",{staticStyle:{width:"32px",height:"32px"},attrs:{"icon-class":"social-github"}})],1),a("a",{attrs:{href:"https://gitee.com/mindskip/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 TekSystem 版权所有")])])],1)},x=[],z=(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(z["a"])(Object(z["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(z["a"])({},Object(y["e"])("user",{messageCount:function(e){return e.messageCount}}))},V=H,C=Object(d["a"])(V,b,x,!1,null,"095e2da5",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-26bf5f94").then(n.bind(null,"9ed6"))},meta:{title:"登录",bodyBackground:"#fbfbfb"}},{path:"/register",name:"Register",component:function(){return n.e("chunk-7e275898").then(n.bind(null,"d5c2"))},meta:{title:"注册",bodyBackground:"#fbfbfb"}},{path:"/",component:B,redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-1b8c8b54").then(n.bind(null,"9406"))},name:"Dashboard",meta:{title:"首页"}}]},{path:"/paper",component:B,children:[{path:"index",component:function(){return n.e("chunk-912d804c").then(n.bind(null,"b14a"))},name:"PaperIndex",meta:{title:"试卷中心"}}]},{path:"/record",component:B,children:[{path:"index",component:function(){return n.e("chunk-66bf5956").then(n.bind(null,"caae"))},name:"RecordIndex",meta:{title:"考试记录"}}]},{path:"/question",component:B,children:[{path:"index",component:function(){return n.e("chunk-122e80b5").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-1d601c29").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-31aa2150")]).then(n.bind(null,"6cce"))},meta:{title:"试卷答题"}},{path:"/edit",name:"ExamPaperEdit",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-604488bc")]).then(n.bind(null,"beb3"))},meta:{title:"试卷批改"}},{path:"/read",name:"ExamPaperRead",component:function(){return Promise.all([n.e("chunk-ce360eb2"),n.e("chunk-69a4052e")]).then(n.bind(null,"2927"))},meta:{title:"试卷查看"}},{path:"*",component:function(){return n.e("chunk-099b9c43").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=_,S=(n("f5df1"),n("5c96")),E=n.n(S),P=(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}})])}),I=[];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("7251"),Object(d["a"])(N,P,I,!1,null,"936edfd4",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(w)}}).$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},7251:function(e,t,n){"use strict";n("2db6")},"73d9":function(e,t,n){e.exports=n.p+"static/img/2.e1abacb4.png"},"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},"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.e1e09e4f.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},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"},cf09:function(e,t,n){e.exports=n.p+"static/img/1.963519c7.jpg"},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},fd51:function(e,t,n){e.exports=n.p+"static/img/3.f0fc9b44.jpg"}}); \ No newline at end of file diff --git a/xzs-mysql.sql b/xzs-mysql.sql new file mode 100644 index 0000000000000000000000000000000000000000..37d81a0e5f2d8142c5bc231da476b4c5e6950256 --- /dev/null +++ b/xzs-mysql.sql @@ -0,0 +1,308 @@ +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for t_exam_paper +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper`; +CREATE TABLE `t_exam_paper` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '试卷名称', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `paper_type` int(11) NULL DEFAULT NULL COMMENT '试卷类型( 1固定试卷 2临时试卷 3班级试卷 4.时段试卷 5.推送试卷)', + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `score` int(11) NULL DEFAULT NULL COMMENT '试卷总分(千分制)', + `question_count` int(11) NULL DEFAULT NULL COMMENT '题目数量', + `suggest_time` int(11) NULL DEFAULT NULL COMMENT '建议时长(分钟)', + `limit_start_time` datetime(0) NULL DEFAULT NULL COMMENT '时段试卷 开始时间', + `limit_end_time` datetime(0) NULL DEFAULT NULL COMMENT '时段试卷 结束时间', + `frame_text_content_id` int(11) NULL DEFAULT NULL COMMENT '试卷框架 内容为JSON', + `create_user` int(11) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL, + `task_exam_id` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_exam_paper_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper_answer`; +CREATE TABLE `t_exam_paper_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `exam_paper_id` int(11) NULL DEFAULT NULL, + `paper_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '试卷名称', + `paper_type` int(11) NULL DEFAULT NULL COMMENT '试卷类型( 1固定试卷 2临时试卷 3班级试卷 4.时段试卷 )', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `system_score` int(11) NULL DEFAULT NULL COMMENT '系统判定得分', + `user_score` int(11) NULL DEFAULT NULL COMMENT '最终得分(千分制)', + `paper_score` int(11) NULL DEFAULT NULL COMMENT '试卷总分', + `question_correct` int(11) NULL DEFAULT NULL COMMENT '做对题目数量', + `question_count` int(11) NULL DEFAULT NULL COMMENT '题目总数量', + `do_time` int(11) NULL DEFAULT NULL COMMENT '做题时间(秒)', + `status` int(11) NULL DEFAULT NULL COMMENT '试卷状态(1待判分 2完成)', + `create_user` int(11) NULL DEFAULT NULL COMMENT '学生', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '提交时间', + `task_exam_id` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper_answer +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_exam_paper_question_customer_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper_question_customer_answer`; +CREATE TABLE `t_exam_paper_question_customer_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `question_id` int(11) NULL DEFAULT NULL COMMENT '题目Id', + `exam_paper_id` int(11) NULL DEFAULT NULL COMMENT '答案Id', + `exam_paper_answer_id` int(11) NULL DEFAULT NULL, + `question_type` int(11) NULL DEFAULT NULL COMMENT '题型', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `customer_score` int(11) NULL DEFAULT NULL COMMENT '得分', + `question_score` int(11) NULL DEFAULT NULL COMMENT '题目原始分数', + `question_text_content_id` int(11) NULL DEFAULT NULL COMMENT '问题内容', + `answer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '做题答案', + `text_content_id` int(11) NULL DEFAULT NULL COMMENT '做题内容', + `do_right` bit(1) NULL DEFAULT NULL COMMENT '是否正确', + `create_user` int(11) NULL DEFAULT NULL COMMENT '做题人', + `create_time` datetime(0) NULL DEFAULT NULL, + `item_order` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper_question_customer_answer +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_message +-- ---------------------------- +DROP TABLE IF EXISTS `t_message`; +CREATE TABLE `t_message` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题', + `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容', + `create_time` datetime(0) NULL DEFAULT NULL, + `send_user_id` int(11) NULL DEFAULT NULL COMMENT '发送者用户ID', + `send_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者用户名', + `send_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者真实姓名', + `receive_user_count` int(11) NULL DEFAULT NULL COMMENT '接收人数', + `read_count` int(11) NULL DEFAULT NULL COMMENT '已读人数', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_message +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_message_user +-- ---------------------------- +DROP TABLE IF EXISTS `t_message_user`; +CREATE TABLE `t_message_user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `message_id` int(11) NULL DEFAULT NULL COMMENT '消息内容ID', + `receive_user_id` int(11) NULL DEFAULT NULL COMMENT '接收人ID', + `receive_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接收人用户名', + `receive_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接收人真实姓名', + `readed` bit(1) NULL DEFAULT NULL COMMENT '是否已读', + `create_time` datetime(0) NULL DEFAULT NULL, + `read_time` datetime(0) NULL DEFAULT NULL COMMENT '阅读时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_message_user +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_question +-- ---------------------------- +DROP TABLE IF EXISTS `t_question`; +CREATE TABLE `t_question` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `question_type` int(11) NULL DEFAULT NULL COMMENT '1.单选题 2.多选题 3.判断题 4.填空题 5.简答题', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `score` int(11) NULL DEFAULT NULL COMMENT '题目总分(千分制)', + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `difficult` int(11) NULL DEFAULT NULL COMMENT '题目难度', + `correct` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '正确答案', + `info_text_content_id` int(11) NULL DEFAULT NULL COMMENT '题目 填空、 题干、解析、答案等信息', + `create_user` int(11) NULL DEFAULT NULL COMMENT '创建人', + `status` int(11) NULL DEFAULT NULL COMMENT '1.正常', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `deleted` bit(1) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_question +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_subject +-- ---------------------------- +DROP TABLE IF EXISTS `t_subject`; +CREATE TABLE `t_subject` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '语文 数学 英语 等', + `level` int(11) NULL DEFAULT NULL COMMENT '年级 (1-12) 小学 初中 高中 大学', + `level_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一年级、二年级等', + `item_order` int(11) NULL DEFAULT NULL COMMENT '排序', + `deleted` bit(1) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_subject +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_task_exam +-- ---------------------------- +DROP TABLE IF EXISTS `t_task_exam`; +CREATE TABLE `t_task_exam` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `frame_text_content_id` int(11) NULL DEFAULT NULL COMMENT '任务框架 内容为JSON', + `create_user` int(11) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL, + `create_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_task_exam +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_task_exam_customer_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_task_exam_customer_answer`; +CREATE TABLE `t_task_exam_customer_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `task_exam_id` int(11) NULL DEFAULT NULL, + `create_user` int(255) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `text_content_id` int(11) NULL DEFAULT NULL COMMENT '任务完成情况(Json)', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_task_exam_customer_answer +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_text_content +-- ---------------------------- +DROP TABLE IF EXISTS `t_text_content`; +CREATE TABLE `t_text_content` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_text_content +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_user +-- ---------------------------- +DROP TABLE IF EXISTS `t_user`; +CREATE TABLE `t_user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_uuid` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `age` int(11) NULL DEFAULT NULL, + `sex` int(11) NULL DEFAULT NULL COMMENT '1.男 2女', + `birth_day` datetime(0) NULL DEFAULT NULL, + `user_level` int(11) NULL DEFAULT NULL COMMENT '学生年级(1-12)', + `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `role` int(11) NULL DEFAULT NULL COMMENT '1.学生 2.老师 3.管理员', + `status` int(11) NULL DEFAULT NULL COMMENT '1.启用 2禁用', + `image_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像地址', + `create_time` datetime(0) NULL DEFAULT NULL, + `modify_time` datetime(0) NULL DEFAULT NULL, + `last_active_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL COMMENT '是否删除', + `wx_open_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信openId', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_user +-- ---------------------------- +INSERT INTO `t_user` VALUES (1, 'd2d29da2-dcb3-4013-b874-727626236f47', 'student', 'D1AGFL+Gx37t0NPG4d6biYP5Z31cNbwhK5w1lUeiHB2zagqbk8efYfSjYoh1Z/j1dkiRjHU+b0EpwzCh8IGsksJjzD65ci5LsnodQVf4Uj6D3pwoscXGqmkjjpzvSJbx42swwNTA+QoDU8YLo7JhtbUK2X0qCjFGpd+8eJ5BGvk=', '学生', 18, 1, '2019-09-01 16:00:00', 12, '158800882', 1, 1, 'http://image.alvisu.com/Fn4CyLHWvT-kxIrK1ZaqTDidvXzj', '2019-09-07 18:55:02', '2020-02-04 08:26:54', NULL, b'0', NULL); +INSERT INTO `t_user` VALUES (2, '52045f5f-a13f-4ccc-93dd-f7ee8270ad4c', 'admin', 'D1AGFL+Gx37t0NPG4d6biYP5Z31cNbwhK5w1lUeiHB2zagqbk8efYfSjYoh1Z/j1dkiRjHU+b0EpwzCh8IGsksJjzD65ci5LsnodQVf4Uj6D3pwoscXGqmkjjpzvSJbx42swwNTA+QoDU8YLo7JhtbUK2X0qCjFGpd+8eJ5BGvk=', '管理员', 30, 1, '2019-09-07 18:56:07', NULL, NULL, 3, 1, NULL, '2019-09-07 18:56:21', NULL, NULL, b'0', NULL); + +-- ---------------------------- +-- Table structure for t_user_event_log +-- ---------------------------- +DROP TABLE IF EXISTS `t_user_event_log`; +CREATE TABLE `t_user_event_log` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id', + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + `real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_user_event_log +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_user_token +-- ---------------------------- +DROP TABLE IF EXISTS `t_user_token`; +CREATE TABLE `t_user_token` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `token` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `user_id` int(11) NULL DEFAULT NULL COMMENT '用户Id', + `wx_open_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信openId', + `create_time` datetime(0) NULL DEFAULT NULL, + `end_time` datetime(0) NULL DEFAULT NULL, + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_user_token +-- ---------------------------- + +-- ---------------------------- +-- Table structure for t_text_content +-- ---------------------------- +DROP TABLE IF EXISTS `t_skill`; +CREATE TABLE `t_skill` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_skill +-- ---------------------------- + +INSERT INTO `t_skill` VALUES (3, 'python'); +INSERT INTO `t_skill` VALUES (4, 'vue'); +INSERT INTO `t_skill` VALUES (5, 'angular'); + + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/xzs-new.sql b/xzs-new.sql new file mode 100644 index 0000000000000000000000000000000000000000..ca20ab1f176330eedf1bfb8f1364fdf2a3a93624 --- /dev/null +++ b/xzs-new.sql @@ -0,0 +1,374 @@ +/* + Navicat Premium Data Transfer + + Source Server : localhost + Source Server Type : MySQL + Source Server Version : 50640 + Source Host : localhost:3306 + Source Schema : xzs + + Target Server Type : MySQL + Target Server Version : 50640 + File Encoding : 65001 + + Date: 24/12/2020 17:08:48 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for t_exam_paper +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper`; +CREATE TABLE `t_exam_paper` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '试卷名称', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `paper_type` int(11) NULL DEFAULT NULL COMMENT '试卷类型( 1固定试卷 2临时试卷 3班级试卷 4.时段试卷 5.推送试卷)', + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `score` int(11) NULL DEFAULT NULL COMMENT '试卷总分(千分制)', + `question_count` int(11) NULL DEFAULT NULL COMMENT '题目数量', + `suggest_time` int(11) NULL DEFAULT NULL COMMENT '建议时长(分钟)', + `limit_start_time` datetime(0) NULL DEFAULT NULL COMMENT '时段试卷 开始时间', + `limit_end_time` datetime(0) NULL DEFAULT NULL COMMENT '时段试卷 结束时间', + `frame_text_content_id` int(11) NULL DEFAULT NULL COMMENT '试卷框架 内容为JSON', + `create_user` int(11) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL, + `task_exam_id` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper +-- ---------------------------- +INSERT INTO `t_exam_paper` VALUES (1, '试卷名称', 1, 1, 1, 10, 2, 30, NULL, NULL, 2, 2, '2020-12-24 11:23:29', b'0', 1); + +-- ---------------------------- +-- Table structure for t_exam_paper_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper_answer`; +CREATE TABLE `t_exam_paper_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `exam_paper_id` int(11) NULL DEFAULT NULL, + `paper_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '试卷名称', + `paper_type` int(11) NULL DEFAULT NULL COMMENT '试卷类型( 1固定试卷 2临时试卷 3班级试卷 4.时段试卷 )', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `system_score` int(11) NULL DEFAULT NULL COMMENT '系统判定得分', + `user_score` int(11) NULL DEFAULT NULL COMMENT '最终得分(千分制)', + `paper_score` int(11) NULL DEFAULT NULL COMMENT '试卷总分', + `question_correct` int(11) NULL DEFAULT NULL COMMENT '做对题目数量', + `question_count` int(11) NULL DEFAULT NULL COMMENT '题目总数量', + `do_time` int(11) NULL DEFAULT NULL COMMENT '做题时间(秒)', + `status` int(11) NULL DEFAULT NULL COMMENT '试卷状态(1待判分 2完成)', + `create_user` int(11) NULL DEFAULT NULL COMMENT '学生', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '提交时间', + `task_exam_id` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper_answer +-- ---------------------------- +INSERT INTO `t_exam_paper_answer` VALUES (1, 1, '试卷名称', 6, 1, 0, 0, 10, 0, 1, 4, 2, 1, '2020-12-24 11:38:00', 1); +INSERT INTO `t_exam_paper_answer` VALUES (2, 1, '试卷名称', 1, 1, 0, 0, 10, 1, 2, 1800, 1, 1, '2020-12-24 14:30:07', 1); +INSERT INTO `t_exam_paper_answer` VALUES (3, 1, '试卷名称', 1, 1, 0, 0, 10, 1, 2, 1800, 1, 1, '2020-12-24 14:31:22', 1); + +-- ---------------------------- +-- Table structure for t_exam_paper_question_customer_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_exam_paper_question_customer_answer`; +CREATE TABLE `t_exam_paper_question_customer_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `question_id` int(11) NULL DEFAULT NULL COMMENT '题目Id', + `exam_paper_id` int(11) NULL DEFAULT NULL COMMENT '答案Id', + `exam_paper_answer_id` int(11) NULL DEFAULT NULL, + `question_type` int(11) NULL DEFAULT NULL COMMENT '题型', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `customer_score` int(11) NULL DEFAULT NULL COMMENT '得分', + `question_score` int(11) NULL DEFAULT NULL COMMENT '题目原始分数', + `question_text_content_id` int(11) NULL DEFAULT NULL COMMENT '问题内容', + `answer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '做题答案', + `text_content_id` int(11) NULL DEFAULT NULL COMMENT '做题内容', + `do_right` bit(1) NULL DEFAULT NULL COMMENT '是否正确', + `create_user` int(11) NULL DEFAULT NULL COMMENT '做题人', + `create_time` datetime(0) NULL DEFAULT NULL, + `item_order` int(11) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_exam_paper_question_customer_answer +-- ---------------------------- +INSERT INTO `t_exam_paper_question_customer_answer` VALUES (1, 1, 1, 1, 5, 1, 0, 10, 1, NULL, 4, b'0', 1, '2020-12-24 11:38:00', 1); +INSERT INTO `t_exam_paper_question_customer_answer` VALUES (2, 1, 1, 2, 5, 1, 0, 10, 1, NULL, 7, NULL, 1, '2020-12-24 14:30:07', 1); +INSERT INTO `t_exam_paper_question_customer_answer` VALUES (3, 2, 1, 2, 5, 1, 0, 0, 6, NULL, 8, NULL, 1, '2020-12-24 14:30:07', 2); +INSERT INTO `t_exam_paper_question_customer_answer` VALUES (4, 1, 1, 3, 5, 1, 0, 10, 1, NULL, 9, NULL, 1, '2020-12-24 14:31:22', 1); +INSERT INTO `t_exam_paper_question_customer_answer` VALUES (5, 2, 1, 3, 5, 1, 0, 0, 6, NULL, 10, NULL, 1, '2020-12-24 14:31:22', 2); + +-- ---------------------------- +-- Table structure for t_industry +-- ---------------------------- +DROP TABLE IF EXISTS `t_industry`; +CREATE TABLE `t_industry` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_industry +-- ---------------------------- +INSERT INTO `t_industry` VALUES (2, '费尔法'); + +-- ---------------------------- +-- Table structure for t_message +-- ---------------------------- +DROP TABLE IF EXISTS `t_message`; +CREATE TABLE `t_message` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题', + `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容', + `create_time` datetime(0) NULL DEFAULT NULL, + `send_user_id` int(11) NULL DEFAULT NULL COMMENT '发送者用户ID', + `send_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者用户名', + `send_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者真实姓名', + `receive_user_count` int(11) NULL DEFAULT NULL COMMENT '接收人数', + `read_count` int(11) NULL DEFAULT NULL COMMENT '已读人数', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for t_message_user +-- ---------------------------- +DROP TABLE IF EXISTS `t_message_user`; +CREATE TABLE `t_message_user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `message_id` int(11) NULL DEFAULT NULL COMMENT '消息内容ID', + `receive_user_id` int(11) NULL DEFAULT NULL COMMENT '接收人ID', + `receive_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接收人用户名', + `receive_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接收人真实姓名', + `readed` bit(1) NULL DEFAULT NULL COMMENT '是否已读', + `create_time` datetime(0) NULL DEFAULT NULL, + `read_time` datetime(0) NULL DEFAULT NULL COMMENT '阅读时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Table structure for t_question +-- ---------------------------- +DROP TABLE IF EXISTS `t_question`; +CREATE TABLE `t_question` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `question_type` int(11) NULL DEFAULT NULL COMMENT '1.单选题 2.多选题 3.判断题 4.填空题 5.简答题', + `subject_id` int(11) NULL DEFAULT NULL COMMENT '学科', + `industry_id` int(11) NULL DEFAULT NULL COMMENT '行业', + `skill_id` int(11) NULL DEFAULT NULL COMMENT '技能', + `score` int(11) NULL DEFAULT NULL COMMENT '题目总分(千分制)', + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `difficult` int(11) NULL DEFAULT NULL COMMENT '题目难度', + `correct` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '正确答案', + `info_text_content_id` int(11) NULL DEFAULT NULL COMMENT '题目 填空、 题干、解析、答案等信息', + `create_user` int(11) NULL DEFAULT NULL COMMENT '创建人', + `status` int(11) NULL DEFAULT NULL COMMENT '1.正常', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `deleted` bit(1) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_question +-- ---------------------------- +INSERT INTO `t_question` VALUES (1, 5, 1, 1, 1, 40, 1, 5, 'wfewf', 1, 2, 1, '2020-12-24 10:18:29', b'0'); +INSERT INTO `t_question` VALUES (2, 5, 2, NULL, 1, 0, 1, 5, '111', 6, 2, 1, '2020-12-24 11:56:33', b'0'); +INSERT INTO `t_question` VALUES (3, 5, 1, NULL, NULL, 40, 1, 5, 'wfewf', 11, 2, 1, '2020-12-24 16:52:53', b'0'); +INSERT INTO `t_question` VALUES (4, 5, 1, 1, 1, 40, 1, 5, 'wfewf', 12, 2, 1, '2020-12-24 17:01:49', b'0'); +INSERT INTO `t_question` VALUES (5, 5, NULL, 1, 1, 40, NULL, 5, 'wfewf', 13, 2, 1, '2020-12-24 17:04:10', b'0'); + +-- ---------------------------- +-- Table structure for t_skill +-- ---------------------------- +DROP TABLE IF EXISTS `t_skill`; +CREATE TABLE `t_skill` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_skill +-- ---------------------------- +INSERT INTO `t_skill` VALUES (2, '费尔法'); + +-- ---------------------------- +-- Table structure for t_subject +-- ---------------------------- +DROP TABLE IF EXISTS `t_subject`; +CREATE TABLE `t_subject` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '语文 数学 英语 等', + `level` int(11) NULL DEFAULT NULL COMMENT '年级 (1-12) 小学 初中 高中 大学', + `level_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '一年级、二年级等', + `item_order` int(11) NULL DEFAULT NULL COMMENT '排序', + `deleted` bit(1) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_subject +-- ---------------------------- +INSERT INTO `t_subject` VALUES (1, 'IT', 1, '一年级', NULL, b'0'); +INSERT INTO `t_subject` VALUES (2, 'fe', 2, '二年级', NULL, b'0'); +INSERT INTO `t_subject` VALUES (3, 'fwwe', 1, '一年级', NULL, b'0'); +INSERT INTO `t_subject` VALUES (4, '费尔法', 1, '一年级', NULL, b'1'); + +-- ---------------------------- +-- Table structure for t_task_exam +-- ---------------------------- +DROP TABLE IF EXISTS `t_task_exam`; +CREATE TABLE `t_task_exam` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `grade_level` int(11) NULL DEFAULT NULL COMMENT '级别', + `frame_text_content_id` int(11) NULL DEFAULT NULL COMMENT '任务框架 内容为JSON', + `create_user` int(11) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL, + `create_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_task_exam +-- ---------------------------- +INSERT INTO `t_task_exam` VALUES (1, '任务标题', 1, 3, 2, '2020-12-24 11:37:20', b'0', 'admin'); + +-- ---------------------------- +-- Table structure for t_task_exam_customer_answer +-- ---------------------------- +DROP TABLE IF EXISTS `t_task_exam_customer_answer`; +CREATE TABLE `t_task_exam_customer_answer` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `task_exam_id` int(11) NULL DEFAULT NULL, + `create_user` int(255) NULL DEFAULT NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + `text_content_id` int(11) NULL DEFAULT NULL COMMENT '任务完成情况(Json)', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_task_exam_customer_answer +-- ---------------------------- +INSERT INTO `t_task_exam_customer_answer` VALUES (1, 1, 1, '2020-12-24 11:38:00', 5); + +-- ---------------------------- +-- Table structure for t_text_content +-- ---------------------------- +DROP TABLE IF EXISTS `t_text_content`; +CREATE TABLE `t_text_content` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL, + `create_time` datetime(0) NULL DEFAULT NULL, + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_text_content +-- ---------------------------- +INSERT INTO `t_text_content` VALUES (1, '{\"titleContent\":\"wfwe\",\"analyze\":\"fwefew\",\"questionItemObjects\":[],\"correct\":\"wfewf\"}', '2020-12-24 10:18:29'); +INSERT INTO `t_text_content` VALUES (2, '[{\"name\":\"试卷标题\",\"questionItems\":[{\"id\":1,\"itemOrder\":1},{\"id\":2,\"itemOrder\":2}]}]', '2020-12-24 11:23:29'); +INSERT INTO `t_text_content` VALUES (3, '[{\"examPaperId\":1,\"examPaperName\":\"试卷名称\",\"itemOrder\":null}]', '2020-12-24 11:37:20'); +INSERT INTO `t_text_content` VALUES (4, '而分为氛围', '2020-12-24 11:38:00'); +INSERT INTO `t_text_content` VALUES (5, '[{\"examPaperId\":1,\"examPaperAnswerId\":1,\"status\":2}]', '2020-12-24 11:38:00'); +INSERT INTO `t_text_content` VALUES (6, '{\"titleContent\":\"111\",\"analyze\":\"111\",\"questionItemObjects\":[],\"correct\":\"111\"}', '2020-12-24 11:56:33'); +INSERT INTO `t_text_content` VALUES (7, NULL, '2020-12-24 14:30:07'); +INSERT INTO `t_text_content` VALUES (8, NULL, '2020-12-24 14:30:07'); +INSERT INTO `t_text_content` VALUES (9, NULL, '2020-12-24 14:31:22'); +INSERT INTO `t_text_content` VALUES (10, NULL, '2020-12-24 14:31:22'); +INSERT INTO `t_text_content` VALUES (11, '{\"titleContent\":\"wfwe\",\"analyze\":\"fwefew\",\"questionItemObjects\":[],\"correct\":\"wfewf\"}', '2020-12-24 16:52:53'); +INSERT INTO `t_text_content` VALUES (12, '{\"titleContent\":\"wfwe\",\"analyze\":\"fwefew\",\"questionItemObjects\":[],\"correct\":\"wfewf\"}', '2020-12-24 17:01:49'); +INSERT INTO `t_text_content` VALUES (13, '{\"titleContent\":\"wfwe\",\"analyze\":\"fwefew\",\"questionItemObjects\":[],\"correct\":\"wfewf\"}', '2020-12-24 17:04:10'); + +-- ---------------------------- +-- Table structure for t_user +-- ---------------------------- +DROP TABLE IF EXISTS `t_user`; +CREATE TABLE `t_user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_uuid` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `age` int(11) NULL DEFAULT NULL, + `sex` int(11) NULL DEFAULT NULL COMMENT '1.男 2女', + `birth_day` datetime(0) NULL DEFAULT NULL, + `user_level` int(11) NULL DEFAULT NULL COMMENT '学生年级(1-12)', + `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `role` int(11) NULL DEFAULT NULL COMMENT '1.学生 2.老师 3.管理员', + `status` int(11) NULL DEFAULT NULL COMMENT '1.启用 2禁用', + `image_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像地址', + `create_time` datetime(0) NULL DEFAULT NULL, + `modify_time` datetime(0) NULL DEFAULT NULL, + `last_active_time` datetime(0) NULL DEFAULT NULL, + `deleted` bit(1) NULL DEFAULT NULL COMMENT '是否删除', + `wx_open_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信openId', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_user +-- ---------------------------- +INSERT INTO `t_user` VALUES (1, 'd2d29da2-dcb3-4013-b874-727626236f47', 'student', 'D1AGFL+Gx37t0NPG4d6biYP5Z31cNbwhK5w1lUeiHB2zagqbk8efYfSjYoh1Z/j1dkiRjHU+b0EpwzCh8IGsksJjzD65ci5LsnodQVf4Uj6D3pwoscXGqmkjjpzvSJbx42swwNTA+QoDU8YLo7JhtbUK2X0qCjFGpd+8eJ5BGvk=', '学生', 18, 1, '2019-09-01 00:00:00', 1, '158800882', 1, 1, 'http://image.alvisu.com/Fn4CyLHWvT-kxIrK1ZaqTDidvXzj', '2019-09-07 18:55:02', '2020-12-24 11:37:45', NULL, b'0', NULL); +INSERT INTO `t_user` VALUES (2, '52045f5f-a13f-4ccc-93dd-f7ee8270ad4c', 'admin', 'D1AGFL+Gx37t0NPG4d6biYP5Z31cNbwhK5w1lUeiHB2zagqbk8efYfSjYoh1Z/j1dkiRjHU+b0EpwzCh8IGsksJjzD65ci5LsnodQVf4Uj6D3pwoscXGqmkjjpzvSJbx42swwNTA+QoDU8YLo7JhtbUK2X0qCjFGpd+8eJ5BGvk=', '管理员', 30, 1, '2019-09-07 18:56:07', NULL, NULL, 3, 1, NULL, '2019-09-07 18:56:21', NULL, NULL, b'0', NULL); + +-- ---------------------------- +-- Table structure for t_user_event_log +-- ---------------------------- +DROP TABLE IF EXISTS `t_user_event_log`; +CREATE TABLE `t_user_event_log` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id', + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + `real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', + `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +-- ---------------------------- +-- Records of t_user_event_log +-- ---------------------------- +INSERT INTO `t_user_event_log` VALUES (1, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-23 18:12:21'); +INSERT INTO `t_user_event_log` VALUES (2, 1, 'student', '学生', 'student 登录了学之思考试系统', '2020-12-24 11:29:25'); +INSERT INTO `t_user_event_log` VALUES (3, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 11:29:51'); +INSERT INTO `t_user_event_log` VALUES (4, 1, 'student', '学生', 'student 登录了学之思考试系统', '2020-12-24 11:30:38'); +INSERT INTO `t_user_event_log` VALUES (5, 1, 'student', '学生', 'student 更新了个人资料', '2020-12-24 11:37:45'); +INSERT INTO `t_user_event_log` VALUES (6, 1, 'student', '学生', 'student 提交试卷:试卷名称 得分:0 耗时:4 秒', '2020-12-24 11:38:00'); +INSERT INTO `t_user_event_log` VALUES (7, 1, 'student', '学生', 'student 批改试卷:试卷名称 得分:0', '2020-12-24 11:38:47'); +INSERT INTO `t_user_event_log` VALUES (8, 1, 'student', '学生', 'student 登录了学之思考试系统', '2020-12-24 13:49:06'); +INSERT INTO `t_user_event_log` VALUES (9, 1, 'student', '学生', 'student 提交试卷:试卷名称 得分:0 耗时:30分 0秒', '2020-12-24 14:30:07'); +INSERT INTO `t_user_event_log` VALUES (10, 1, 'student', '学生', 'student 提交试卷:试卷名称 得分:0 耗时:30分 0秒', '2020-12-24 14:31:22'); +INSERT INTO `t_user_event_log` VALUES (11, 2, 'admin', '管理员', 'admin 登出了学之思考试系统', '2020-12-24 14:50:56'); +INSERT INTO `t_user_event_log` VALUES (12, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 14:51:01'); +INSERT INTO `t_user_event_log` VALUES (13, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 14:51:37'); +INSERT INTO `t_user_event_log` VALUES (14, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 15:56:00'); +INSERT INTO `t_user_event_log` VALUES (15, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 15:56:05'); +INSERT INTO `t_user_event_log` VALUES (16, 2, 'admin', '管理员', 'admin 登录了学之思考试系统', '2020-12-24 16:51:24'); + +-- ---------------------------- +-- Table structure for t_user_token +-- ---------------------------- +DROP TABLE IF EXISTS `t_user_token`; +CREATE TABLE `t_user_token` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `token` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, + `user_id` int(11) NULL DEFAULT NULL COMMENT '用户Id', + `wx_open_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信openId', + `create_time` datetime(0) NULL DEFAULT NULL, + `end_time` datetime(0) NULL DEFAULT NULL, + `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact; + +SET FOREIGN_KEY_CHECKS = 1;