1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["group-mainPage"],{2313:function(t,e,n){t.exports=n.p+"img/icon1.bdc4fc1a.png"},"2d53":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"user-page"},[t._m(0),n("div",{staticClass:"chart-part"},[n("div",[n("p",[t._v("登录频率")]),n("div",{directives:[{name:"echarts-render",rawName:"v-echarts-render",value:{options:t.echartOp1},expression:"{options: echartOp1}"}],staticClass:"chart1"})]),n("div",[n("p",[t._v("练习题数量")]),n("div",{directives:[{name:"echarts-render",rawName:"v-echarts-render",value:{options:t.echartOp2},expression:"{options: echartOp2}"}],staticClass:"chart1"})])]),t._m(1)])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tool-card"},[n("div",[n("p",[t._v("我的账户")]),n("p",[t._v("My account")])]),n("div",[n("p",[t._v("个人资料")]),n("p",[t._v("Personal information")])]),n("div",[n("p",[t._v("测试报告")]),n("p",[t._v("Test report")])]),n("div",[n("p",[t._v("学习提高")]),n("p",[t._v("Learning improvement")])]),n("div",[n("p",[t._v("系统设置")]),n("p",[t._v("System settings")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"last-part"},[n("div",[n("p",[t._v("站内热门测试")]),n("ul",[n("li",[t._v("能力测试\n "),n("ul",[n("li",[t._v("五年级数学测试 HOT")]),n("li",[t._v("六年级数学测试 HOT")]),n("li",[t._v("初一数学测试 HOT")])])]),n("li",[t._v("学习习惯诊断\n ")]),n("li",[t._v("自主探究能力\n ")])])]),n("div",[n("p",[t._v("系统消息")]),n("table",{staticClass:"table table-common"},[n("thead",[n("tr",[n("th",[t._v("内容")]),n("th",[t._v("日期")]),n("th",[t._v("已/未读")]),n("th",[t._v("操作")])])]),n("tbody",[n("tr",[n("td",[t._v("报告已签收,请确认")]),n("td",[t._v("2019-01-01")]),n("td",[t._v("未读")]),n("td",[t._v("删除")])]),n("tr",[n("td",[t._v("恭喜你,完成《六年级数学测试》")]),n("td",[t._v("2019-01-02")]),n("td",[t._v("已读")]),n("td",[t._v("删除")])]),n("tr",[n("td",[t._v("报告已签收,请确认")]),n("td",[t._v("2019-01-02")]),n("td",[t._v("已读")]),n("td",[t._v("删除")])]),n("tr",[n("td",[t._v("恭喜你,完成《六年级数学测试》")]),n("td",[t._v("2019-01-02")]),n("td",[t._v("已读")]),n("td",[t._v("删除")])])])])]),n("div",[n("p",[t._v("站内通告")]),n("ul",[n("li",[t._v("网站建设推进")]),n("li",[t._v("官网设计稿出台")]),n("li",[t._v("测试出题标准遭泄露")]),n("li",[t._v("白爷新作《议爻象》发售")]),n("li",[t._v("爻象测评首次会议记录")])])])])}],i={name:"UserPage",components:{},data:function(){return{echartOp1:{grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{data:[3,3,4,5,2,1,1],type:"line",areaStyle:{}}]},echartOp2:{color:["#3398DB"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value"}],series:[{name:"直接访问",type:"bar",barWidth:"60%",data:[10,52,200,334,390,330,220]}]}}},methods:{}},c=i,s=(n("adaa"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"490f9fb7",null);e["default"]=o.exports},"39f0":function(t,e,n){"use strict";n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"h",(function(){return o})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return l})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return d}));var a=n("bc3a"),r=n.n(a);function i(t,e){return r.a.get("/paper/listPapers",{params:{status:t,subjectId:e}}).then((function(t){return t.data}))}function c(t){return r()({method:"post",url:"/paper/uploadPaper",data:t}).then((function(t){return t.data}))}function s(t){return r()({method:"post",url:"/paper/updateParams",data:t}).then((function(t){return t.data}))}function o(t){return r()({method:"post",url:"/question/updateQuestionForPaper",data:t}).then((function(t){return t.data}))}function u(t){return r()({method:"post",url:"/paper/delete",params:{id:t}}).then((function(t){return t}))}function l(t){return r.a.get("/paper/getOnePaper/"+t).then((function(t){return t.data}))}function p(t,e){return r.a.get("/paper/hasCommit",{params:{pid:t,uid:e}}).then((function(t){return t.data}))}function d(t){return r()({method:"post",url:"/paper/commit",data:t}).then((function(t){return t.data}))}},"3e1c":function(t,e,n){},"54dc":function(t,e,n){},6047:function(t,e,n){},"67f4":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-page"},[n("div",{staticClass:"top-part"},[n("ul",t._l(t.menuList,(function(e,a){return n("li",{key:a},[n("router-link",{attrs:{to:e.link}},[t._v(t._s(e.name))])],1)})),0),n("div",[t._v("\n "+t._s(t.currentUser.name)+",欢迎你\n "),n("ul",[n("li",[n("a",{on:{click:t.logout}},[t._v("退出")])])])])]),n("router-view")],1)},r=[],i=(n("a481"),n("7ded")),c={name:"MainPage",components:{},data:function(){return{currentUser:this.$store.state.loginUser,menuList:[{name:"首页",link:"/app/mainPage/home"},{name:"能力测评",link:"/app/mainPage/abilityTest"},{name:"最新动态",link:"/app/mainPage/news"},{name:"关于我们",link:"/app/mainPage/aboutUs"},{name:"联系我们",link:"/app/mainPage/contactUs"}]}},created:function(){},methods:{goSinglePage:function(){this.$router.push({name:"UserPage"})},logout:function(){var t=this;Object(i["d"])().then((function(e){e&&"1"==e.ok?t.$router.replace({name:"Index"}):t.$alert(e&&e.msg||"登出失败!","提示",{confirmButtonText:"确定",callback:function(){}})})).catch((function(e){t.$alert(e&&e.msg||"登出失败!","提示",{confirmButtonText:"确定",callback:function(){}})}))}}},s=c,o=(n("e879"),n("2877")),u=Object(o["a"])(s,a,r,!1,null,"3b760e62",null);e["default"]=u.exports},"6ad6":function(t,e,n){t.exports=n.p+"img/pic2.c95d88ec.png"},"737e":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v("\n 2\n")])},r=[],i={name:"AboutUs",components:{},data:function(){return{}},methods:{}},c=i,s=n("2877"),o=Object(s["a"])(c,a,r,!1,null,null,null);e["default"]=o.exports},7685:function(t,e,n){t.exports=n.p+"img/pic3.a3674c60.png"},"9a83":function(t,e,n){t.exports=n.p+"img/title.1951c4c5.png"},"9b10":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ability-test"},[a("div",{staticClass:"title-part"},[a("img",{attrs:{src:n("6ad6")}}),a("img",{attrs:{src:n("9a83")}}),a("img",{attrs:{src:n("e2a5")}}),a("div",{staticClass:"card-list"},[a("button",{on:{click:function(e){t.testState.type=1}}},[t._m(0),a("img",{attrs:{src:n("7685")}})]),a("button",{on:{click:function(e){t.testState.type=2}}},[t._m(1),a("img",{attrs:{src:n("2313")}})]),a("button",{on:{click:function(e){t.testState.type=3}}},[t._m(2),a("img",{attrs:{src:n("2313")}})]),a("button",{on:{click:function(e){t.testState.type=4}}},[t._m(3),a("img",{attrs:{src:n("2313")}})])])]),a("div",{staticClass:"test-content-part"},[1==t.testState.type?a("div",{staticClass:"project-ability"},[t._m(4),a("div",t._l(t.paperList,(function(e){return a("div",{key:e.id,staticClass:"paper-card"},[a("p",[t._v("\n "+t._s(e.name)+"\n ")]),a("br"),e.showReport?t._e():a("button",{on:{click:function(n){return t.startTest(e)}}},[t._v("马上进入")]),e.showReport?a("button",{on:{click:function(n){return t.checkReport(e)}}},[t._v("查看报告")]):t._e()])})),0)]):t._e()])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[t._v("\n 学科专项测试\n "),n("i"),n("span",[t._v("全面检测学习问题")]),n("br"),n("span",{staticStyle:{position:"relative",top:"-10px"}},[t._v("准确标注学习漏洞")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[t._v("\n 学科资料\n "),n("br"),t._v("正在开发\n ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[t._v("\n 学习习惯诊断\n "),n("br"),t._v("正在开发\n ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[t._v("\n 其他测试\n "),n("br"),t._v("正在开发\n ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title"},[n("label",[t._v("学科专项测试")])])}],i=(n("ac6a"),n("39f0")),c={name:"AbilityTest",components:{},data:function(){return{testState:{type:1},paperList:[]}},created:function(){var t=this;Object(i["f"])("1","").then((function(e){t.paperList=e,t.paperList.forEach((function(e){Object(i["b"])(e.id,t.$store.state.loginUser.id).then((function(n){n.result&&t.$set(e,"showReport",!0)}))}))}))},methods:{startTest:function(t){var e=this;Object(i["b"])(t.id,this.$store.state.loginUser.id).then((function(n){n.result?e.$alert("该试题您已完成,不需要重复测试!","提示",{confirmButtonText:"确定"}):e.$router.push({path:"/app/guidePage/"+t.id})}))},checkReport:function(t){this.$router.push({path:"/app/testResult/"+t.id+"/"+this.$store.state.loginUser.id})}}},s=c,o=(n("c5cd"),n("2877")),u=Object(o["a"])(s,a,r,!1,null,null,null);e["default"]=u.exports},a182:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v("\n 1\n")])},r=[],i={name:"ContactUs",components:{},data:function(){return{}},methods:{}},c=i,s=n("2877"),o=Object(s["a"])(c,a,r,!1,null,null,null);e["default"]=o.exports},adaa:function(t,e,n){"use strict";var a=n("6047"),r=n.n(a);r.a},c291:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v("\n 5\n")])},r=[],i={name:"News",components:{},data:function(){return{}},methods:{}},c=i,s=n("2877"),o=Object(s["a"])(c,a,r,!1,null,null,null);e["default"]=o.exports},c5cd:function(t,e,n){"use strict";var a=n("54dc"),r=n.n(a);r.a},d824:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._v("\n 3\n")])},r=[],i={name:"Home",components:{},data:function(){return{}},methods:{}},c=i,s=n("2877"),o=Object(s["a"])(c,a,r,!1,null,null,null);e["default"]=o.exports},e2a5:function(t,e,n){t.exports=n.p+"img/pic1.c98afab0.png"},e879:function(t,e,n){"use strict";var a=n("3e1c"),r=n.n(a);r.a},ece1:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.paperList,(function(e){return n("ul",{key:e.id},[n("li",[n("a",{staticStyle:{cursor:"pointer"},on:{click:function(n){return t.startTest(e)}}},[t._v(t._s(e.name))]),n("button",{staticStyle:{float:"right"},on:{click:function(n){return t.clearStorage(e)}}},[t._v("XXX")])])])})),0)},r=[],i=n("39f0"),c={name:"ExamTable",components:{},data:function(){return{paperList:[]}},created:function(){var t=this;Object(i["f"])("aleady").then((function(e){t.paperList=e}))},methods:{startTest:function(t){this.$router.push({path:"/app/doTest/"+t.id})},clearStorage:function(t){localStorage.removeItem("testPaper"+t.id)}}},s=c,o=n("2877"),u=Object(o["a"])(s,a,r,!1,null,"0133ab5e",null);e["default"]=u.exports}}]);
|