1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-358efb36"],{1156:function(t,e,a){},5730:function(t,e,a){"use strict";a.r(e);var n,i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page font28"},[a("div",{staticStyle:{flex:"1"}},[a("div",{staticClass:"bg-blue relative"},[a("div",{staticClass:"bg-white"},[a("div",{staticClass:"flex-row"},[a("div",{staticClass:"flex-1 flex-center"},[t._v("姓名")]),a("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.$store.state.personObj.name))])]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"flex-1 flex-center"},[t._v("部门")]),a("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.$store.state.personObj.org.info))])]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"flex-1 flex-center"},[t._v("成绩")]),a("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.testobj.final_score)+"分")])]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"flex-1 flex-center"},[t._v("是否及格")]),a("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.testobj.is_ok))])])])])]),a("div",{staticClass:"footer"},[a("van-button",{staticClass:"flex-sub",attrs:{plain:"",type:"info"},on:{click:t.toRanking}},[a("van-icon",{staticStyle:{"margin-right":"5px",color:"#28a1ff"},attrs:{name:"bar-chart-o",size:"20"}}),t._v("排行榜")],1),a("van-button",{staticClass:"flex-sub",staticStyle:{"border-left":"none"},attrs:{plain:"",type:"info"},on:{click:t.toQuestionRecord}},[a("van-icon",{staticStyle:{"margin-right":"5px",color:"#28a1ff"},attrs:{name:"records",size:"20"}}),t._v("答题详情")],1)],1)])},r=[],s=a("ade3"),o=(a("c3a6"),a("ad06")),c=(a("66b9"),a("b650")),u=(a("b0c0"),a("9df2")),d={components:(n={},Object(s["a"])(n,c["a"].name,c["a"]),Object(s["a"])(n,o["a"].name,o["a"]),n),data:function(){return{pid:"",testobj:{}}},created:function(){this.pid=this.$route.params.pid,this.testdetail()},methods:{testdetail:function(){var t=this,e=this,a={employee_id:e.$store.state.empid,paperid:e.pid};Object(u["m"])(a).then((function(a){0==a.data.code&&(t.testobj=a.data.paperInfo,document.title=a.data.paperInfo.name),e.loadFlag=!1}))},toQuestionRecord:function(){this.$router.push({name:"questionRecord",params:{pid:this.pid}})},toRanking:function(){if(2!=this.testobj.approve_status)return this.$toast("试卷还没有批改完成,暂时没有排名!"),!1;this.$router.push({name:"ranking",params:{pid:this.pid}})}},beforeRouteEnter:function(t,e,a){"assessMsg"==e.name?t.meta.isBack=!0:t.meta.isBack=!1,a()},activated:function(){var t=this;this.$route.meta.isBack&&(t.loadFlag=!0,this.pid=this.$route.params.pid,this.testdetail())}},l=d,f=(a("e6bc"),a("2877")),p=Object(f["a"])(l,i,r,!1,null,"414c849b",null);e["default"]=p.exports},"66b9":function(t,e,a){"use strict";a("68ef"),a("9d70"),a("3743"),a("e3b3"),a("bc1b")},"9df2":function(t,e,a){"use strict";a.d(e,"l",(function(){return i})),a.d(e,"q",(function(){return r})),a.d(e,"b",(function(){return s})),a.d(e,"r",(function(){return o})),a.d(e,"t",(function(){return c})),a.d(e,"p",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"k",(function(){return l})),a.d(e,"j",(function(){return f})),a.d(e,"h",(function(){return p})),a.d(e,"f",(function(){return m})),a.d(e,"g",(function(){return b})),a.d(e,"m",(function(){return h})),a.d(e,"n",(function(){return v})),a.d(e,"s",(function(){return x})),a.d(e,"i",(function(){return _})),a.d(e,"d",(function(){return j})),a.d(e,"a",(function(){return O})),a.d(e,"e",(function(){return g})),a.d(e,"o",(function(){return C}));var n=a("b775");function i(t){return Object(n["a"])({url:"/api/train/new",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/api/train/trainClassList",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/train/classDetail",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/api/train/trainCourseList",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/train/watch_feel",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/train/thumbing",method:"post",data:t})}function d(t){return Object(n["a"])({url:"/api/train/commentAdd",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/exam/submitPaper",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/api/exam/get_questions",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/api/exam/ranking",method:"post",data:t})}function m(t){return Object(n["a"])({url:"/api/train/courseDetail",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/api/train/doneLogging",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/api/exam/paperdetail",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/api/exam/paperlist",method:"post",data:t})}function x(t){return Object(n["a"])({url:"/api/exam/treat_correct_paper",method:"post",data:t})}function _(t){return Object(n["a"])({url:"/api/exam/get_papers",method:"post",data:t})}function j(t){return Object(n["a"])({url:"/api/exam/correct_papers_log",method:"post",data:t})}function O(t){return Object(n["a"])({url:"/api/exam/all_correct_papers",method:"post",data:t})}function g(t){return Object(n["a"])({url:"/api/exam/correct_papers_question_list",method:"post",data:t})}function C(t){return Object(n["a"])({url:"/api/day_study/setting",method:"post",data:t})}},e6bc:function(t,e,a){"use strict";a("1156")}}]);
|