chunk-2130d5da.48233747.js 8.0 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2130d5da"],{"13f4":function(t,n,a){},"1e7e":function(t,n,a){"use strict";a("13f4")},"86b1":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"daystudy"},[a("div",{staticClass:"studytitbox center font36 fontfps color384855 fontw600"},[t._v("欢迎来到“每日学练”")]),a("div",{staticClass:"titlebox right fontw600 font30"},[t._v("学练详情")]),a("div",{staticClass:"clearfix studybox"},[a("div",{staticClass:"clearfix color384855 lh56 font28 fontfpr mgt16"},[a("div",{staticClass:"pull-left right lefttitle"},[t._v("课件数")]),a("div",{staticClass:"pull-right rright right"},[t._v(t._s(t.studyobj.train_count?t.studyobj.train_count:"暂无设置"))])]),a("div",{staticClass:"clearfix color384855 lh56 font28 fontfpr mgt16"},[a("div",{staticClass:"pull-left right lefttitle"},[t._v("课件类别")]),a("div",{staticClass:"pull-right rright right"},[t._v(t._s(t.studyobj.train_type?t.studyobj.train_type:"暂无设置"))])]),a("div",{staticClass:"clearfix color384855 lh56 font28 fontfpr mgt16"},[a("div",{staticClass:"pull-left right lefttitle"},[t._v("试题量")]),a("div",{staticClass:"pull-right rright right"},[t._v(t._s(t.studyobj.question_count?t.studyobj.question_count+"题":"暂无设置"))])]),a("div",{staticClass:"clearfix color384855 lh56 font28 fontfpr mgt16"},[a("div",{staticClass:"pull-left right lefttitle"},[t._v("试题类别")]),a("div",{staticClass:"pull-right rright right"},[t._v(t._s(t.studyobj.question_type?t.studyobj.question_type:"暂无设置"))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.studyobj.setting_starttime&&t.studyobj.setting_endtime&&1==t.studyobj.timelimit,expression:"studyobj.setting_starttime && studyobj.setting_endtime && studyobj.timelimit==1"}],staticClass:"clearfix color384855 lh56 font28 fontfpr mgt16"},[a("div",{staticClass:"pull-left right lefttitle"},[t._v("每日学练时间")]),a("div",{staticClass:"pull-right rright right"},[t._v(t._s(t.studyobj.setting_starttime+"点")+"-"+t._s(t.studyobj.setting_endtime+"点"))])])]),a("button",{staticClass:"startest center font32",attrs:{type:"button"},on:{click:t.gototest}},[t._v("开始学习")]),a("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},r=[],i=(a("e7e5"),a("d399")),u=a("9df2"),o=a("18a0"),s=a.n(o),c={name:"daystudy",data:function(){return{loadFlag:!0,studyobj:{}}},created:function(){this.studyfun()},methods:{studyfun:function(){var t=this,n={};Object(u["l"])(n).then((function(n){0==n.data.code&&(t.studyobj=n.data.data,t.studyobj.content.length||(Object(i["a"])({message:"未设置学习内容",duration:1500}),setTimeout((function(){s.a.miniProgram.navigateBack({delta:1})}),1500))),t.loadFlag=!1}))},gototest:function(){var t=new Date,n=t.getHours();if(1==this.studyobj.timelimit&&(n<this.studyobj.setting_starttime||n>this.studyobj.setting_endtime))return this.$toast("未在学练开启时间段内!"),!1;this.$router.push({name:"studymag",params:{content:this.studyobj.content}})}},mounted:function(){}},d=c,l=(a("1e7e"),a("2877")),f=Object(l["a"])(d,e,r,!1,null,"f13dd532",null);n["default"]=f.exports},"9df2":function(t,n,a){"use strict";a.d(n,"v",(function(){return r})),a.d(n,"G",(function(){return i})),a.d(n,"c",(function(){return u})),a.d(n,"H",(function(){return o})),a.d(n,"M",(function(){return s})),a.d(n,"A",(function(){return c})),a.d(n,"e",(function(){return d})),a.d(n,"u",(function(){return l})),a.d(n,"t",(function(){return f})),a.d(n,"n",(function(){return p})),a.d(n,"j",(function(){return m})),a.d(n,"m",(function(){return h})),a.d(n,"i",(function(){return b})),a.d(n,"w",(function(){return _})),a.d(n,"x",(function(){return j})),a.d(n,"K",(function(){return g})),a.d(n,"s",(function(){return y})),a.d(n,"f",(function(){return v})),a.d(n,"a",(function(){return O})),a.d(n,"g",(function(){return x})),a.d(n,"J",(function(){return C})),a.d(n,"I",(function(){return w})),a.d(n,"E",(function(){return k})),a.d(n,"D",(function(){return q})),a.d(n,"C",(function(){return D})),a.d(n,"B",(function(){return F})),a.d(n,"l",(function(){return L})),a.d(n,"z",(function(){return J})),a.d(n,"L",(function(){return $})),a.d(n,"b",(function(){return z})),a.d(n,"h",(function(){return A})),a.d(n,"o",(function(){return B})),a.d(n,"p",(function(){return E})),a.d(n,"d",(function(){return H})),a.d(n,"y",(function(){return N})),a.d(n,"F",(function(){return P})),a.d(n,"q",(function(){return V})),a.d(n,"r",(function(){return G})),a.d(n,"k",(function(){return I}));var e=a("b775");function r(t){return Object(e["a"])({url:"/api/train/new",method:"post",data:t})}function i(t){return Object(e["a"])({url:"/api/train/trainClassList",method:"post",data:t})}function u(t){return Object(e["a"])({url:"/api/train/classDetail",method:"post",data:t})}function o(t){return Object(e["a"])({url:"/api/train/trainCourseList",method:"post",data:t})}function s(t){return Object(e["a"])({url:"/api/train/watch_feel",method:"post",data:t})}function c(t){return Object(e["a"])({url:"/api/train/thumbing",method:"post",data:t})}function d(t){return Object(e["a"])({url:"/api/train/commentAdd",method:"post",data:t})}function l(t){return Object(e["a"])({url:"/api/exam/submitPaper",method:"post",data:t})}function f(t){return Object(e["a"])({url:"/api/exam/get_questions",method:"post",data:t})}function p(t){return Object(e["a"])({url:"/api/exam/ranking",method:"post",data:t})}function m(t){return Object(e["a"])({url:"/api/train/courseDetail",method:"post",data:t})}function h(t){return Object(e["a"])({url:"/api/train/doneLogging",method:"post",data:t})}function b(t){return Object(e["a"])({url:"/client/train/courseDetail",method:"post",data:t})}function _(t){return Object(e["a"])({url:"/api/exam/paperdetail",method:"post",data:t})}function j(t){return Object(e["a"])({url:"/api/exam/paperlist",method:"post",data:t})}function g(t){return Object(e["a"])({url:"/api/exam/treat_correct_paper",method:"post",data:t})}function y(t){return Object(e["a"])({url:"/api/exam/get_papers",method:"post",data:t})}function v(t){return Object(e["a"])({url:"/api/exam/correct_papers_log",method:"post",data:t})}function O(t){return Object(e["a"])({url:"/api/exam/all_correct_papers",method:"post",data:t})}function x(t){return Object(e["a"])({url:"/api/exam/correct_papers_question_list",method:"post",data:t})}function C(t){return Object(e["a"])({url:"/api/train/all_complete",method:"post",data:t})}function w(t){return Object(e["a"])({url:"/api/train/all_org",method:"post",data:t})}function k(t){return Object(e["a"])({url:"/api/camp/read",method:"post",data:t})}function q(t){return Object(e["a"])({url:"/api/camp/plan",method:"post",data:t})}function D(t){return Object(e["a"])({url:"/api/camp/list",method:"post",data:t})}function F(t){return Object(e["a"])({url:"/api/camp/approve",method:"post",data:t})}function L(t){return Object(e["a"])({url:"/api/day_study/study",method:"post",data:t})}function J(t){return Object(e["a"])({url:"/api/day_study/setting",method:"post",data:t})}function $(t){return Object(e["a"])({url:"/api/day_study/update_study",method:"post",data:t})}function z(t){return Object(e["a"])({url:"/api/day_study/change_study_long",method:"post",data:t})}function A(t){return Object(e["a"])({url:"/api/train/coureseView",method:"post",data:t})}function B(t){return Object(e["a"])({url:"/api/train/get_train_class_cate",method:"post",data:t})}function E(t){return Object(e["a"])({url:"/api/train/get_train_class_label",method:"post",data:t})}function H(t){return Object(e["a"])({url:"/api/train/classView",method:"post",data:t})}function N(t){return Object(e["a"])({url:"/api/exam/answer",method:"post",data:t})}function P(t){return Object(e["a"])({url:"/client/train/trainClassList",method:"post",data:t})}function V(t){return Object(e["a"])({url:"/client/train/get_train_class_cate",method:"post",data:t})}function G(t){return Object(e["a"])({url:"/client/train/get_train_class_label",method:"post",data:t})}function I(t){return Object(e["a"])({url:"/client/index/signUp",method:"post",data:t})}}}]);