1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-461c0f76"],{5730:function(t,e,n){"use strict";n.r(e);var a,r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page font28"},[n("div",{staticStyle:{flex:"1"}},[n("div",{staticClass:"bg-blue relative"},[n("div",{staticClass:"bg-white"},[n("div",{staticClass:"flex-row"},[n("div",{staticClass:"flex-1 flex-center"},[t._v("姓名")]),n("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.$store.state.personObj.name))])]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"flex-1 flex-center"},[t._v("部门")]),n("div",{staticClass:"flex-3 flex-center"},[t._v(" "+t._s(t.$store.state.personObj&&t.$store.state.personObj.org?t.$store.state.personObj.org.info:"")+" ")])]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"flex-1 flex-center"},[t._v("成绩")]),n("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.testobj.final_score)+"分")])]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"flex-1 flex-center"},[t._v("是否及格")]),n("div",{staticClass:"flex-3 flex-center"},[t._v(t._s(t.testobj.is_ok))])])])])]),n("div",{staticClass:"footer"},[n("van-button",{staticClass:"flex-sub",attrs:{plain:"",type:"info"},on:{click:t.toRanking}},[n("van-icon",{staticStyle:{"margin-right":"5px",color:"#28a1ff"},attrs:{name:"bar-chart-o",size:"20"}}),t._v("排行榜")],1),n("van-button",{staticClass:"flex-sub",staticStyle:{"border-left":"none"},attrs:{plain:"",type:"info"},on:{click:t.toQuestionRecord}},[n("van-icon",{staticStyle:{"margin-right":"5px",color:"#28a1ff"},attrs:{name:"records",size:"20"}}),t._v("答题详情")],1)],1)])},i=[],o=n("fc11"),u=(n("c3a6"),n("ad06")),c=(n("66b9"),n("b650")),s=(n("b0c0"),n("9df2")),d={components:(a={},Object(o["a"])(a,c["a"].name,c["a"]),Object(o["a"])(a,u["a"].name,u["a"]),a),data:function(){return{pid:"",testobj:{}}},created:function(){this.pid=this.$route.query.pid},methods:{testdetail:function(){var t=this,e=this,n={employee_id:e.$store.state.empid,paperid:e.pid};Object(s["w"])(n).then((function(n){0==n.data.code&&(t.testobj=n.data.paperInfo,document.title=n.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,n){"assessMsg"==e.name?t.meta.isBack=!0:t.meta.isBack=!1,n()},watch:{"$store.state.empid":{deep:!0,immediate:!0,handler:function(t,e){var n=this;if(t)var a=setInterval((function(){n.pid&&(clearInterval(a),n.testdetail())}),500)}}},activated:function(){var t=this;this.$route.meta.isBack&&(t.loadFlag=!0,this.pid=this.$route.query.pid,this.testdetail())}},l=d,f=(n("e16f"),n("2877")),p=Object(f["a"])(l,r,i,!1,null,"40160438",null);e["default"]=p.exports},"66b9":function(t,e,n){"use strict";n("68ef"),n("9d70"),n("3743"),n("e3b3"),n("bc1b")},"9df2":function(t,e,n){"use strict";n.d(e,"v",(function(){return r})),n.d(e,"G",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"H",(function(){return u})),n.d(e,"M",(function(){return c})),n.d(e,"A",(function(){return s})),n.d(e,"e",(function(){return d})),n.d(e,"u",(function(){return l})),n.d(e,"t",(function(){return f})),n.d(e,"n",(function(){return p})),n.d(e,"j",(function(){return m})),n.d(e,"m",(function(){return b})),n.d(e,"i",(function(){return h})),n.d(e,"w",(function(){return j})),n.d(e,"x",(function(){return _})),n.d(e,"K",(function(){return O})),n.d(e,"s",(function(){return v})),n.d(e,"f",(function(){return x})),n.d(e,"a",(function(){return g})),n.d(e,"g",(function(){return C})),n.d(e,"J",(function(){return y})),n.d(e,"I",(function(){return w})),n.d(e,"E",(function(){return k})),n.d(e,"D",(function(){return $})),n.d(e,"C",(function(){return q})),n.d(e,"B",(function(){return R})),n.d(e,"l",(function(){return I})),n.d(e,"z",(function(){return L})),n.d(e,"L",(function(){return B})),n.d(e,"b",(function(){return D})),n.d(e,"h",(function(){return S})),n.d(e,"o",(function(){return z})),n.d(e,"p",(function(){return E})),n.d(e,"d",(function(){return F})),n.d(e,"y",(function(){return J})),n.d(e,"F",(function(){return A})),n.d(e,"q",(function(){return M})),n.d(e,"r",(function(){return Q})),n.d(e,"k",(function(){return V}));var a=n("b775");function r(t){return Object(a["a"])({url:"/api/train/new",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/api/train/trainClassList",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/train/classDetail",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/train/trainCourseList",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/api/train/watch_feel",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/api/train/thumbing",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/train/commentAdd",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/exam/submitPaper",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/api/exam/get_questions",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/exam/ranking",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/api/train/courseDetail",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/api/train/doneLogging",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/client/train/courseDetail",method:"post",data:t})}function j(t){return Object(a["a"])({url:"/api/exam/paperdetail",method:"post",data:t})}function _(t){return Object(a["a"])({url:"/api/exam/paperlist",method:"post",data:t})}function O(t){return Object(a["a"])({url:"/api/exam/treat_correct_paper",method:"post",data:t})}function v(t){return Object(a["a"])({url:"/api/exam/get_papers",method:"post",data:t})}function x(t){return Object(a["a"])({url:"/api/exam/correct_papers_log",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/api/exam/all_correct_papers",method:"post",data:t})}function C(t){return Object(a["a"])({url:"/api/exam/correct_papers_question_list",method:"post",data:t})}function y(t){return Object(a["a"])({url:"/api/train/all_complete",method:"post",data:t})}function w(t){return Object(a["a"])({url:"/api/train/all_org",method:"post",data:t})}function k(t){return Object(a["a"])({url:"/api/camp/read",method:"post",data:t})}function $(t){return Object(a["a"])({url:"/api/camp/plan",method:"post",data:t})}function q(t){return Object(a["a"])({url:"/api/camp/list",method:"post",data:t})}function R(t){return Object(a["a"])({url:"/api/camp/approve",method:"post",data:t})}function I(t){return Object(a["a"])({url:"/api/day_study/study",method:"post",data:t})}function L(t){return Object(a["a"])({url:"/api/day_study/setting",method:"post",data:t})}function B(t){return Object(a["a"])({url:"/api/day_study/update_study",method:"post",data:t})}function D(t){return Object(a["a"])({url:"/api/day_study/change_study_long",method:"post",data:t})}function S(t){return Object(a["a"])({url:"/api/train/coureseView",method:"post",data:t})}function z(t){return Object(a["a"])({url:"/api/train/get_train_class_cate",method:"post",data:t})}function E(t){return Object(a["a"])({url:"/api/train/get_train_class_label",method:"post",data:t})}function F(t){return Object(a["a"])({url:"/api/train/classView",method:"post",data:t})}function J(t){return Object(a["a"])({url:"/api/exam/answer",method:"post",data:t})}function A(t){return Object(a["a"])({url:"/client/train/trainClassList",method:"post",data:t})}function M(t){return Object(a["a"])({url:"/client/train/get_train_class_cate",method:"post",data:t})}function Q(t){return Object(a["a"])({url:"/client/train/get_train_class_label",method:"post",data:t})}function V(t){return Object(a["a"])({url:"/client/index/signUp",method:"post",data:t})}},becf:function(t,e,n){},e16f:function(t,e,n){"use strict";n("becf")}}]);
|