| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e816698"],{"10dd":function(e,t,n){var r=n("3b43"),i=n("5e68").EXISTS,a=n("ce5b"),o=n("98fb").f,u=Function.prototype,s=a(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=a(c.exec),d="name";r&&!i&&o(u,d,{configurable:!0,get:function(){try{return l(c,s(this))[1]}catch(e){return""}}})},"379d":function(e,t,n){companyInfo={url:"http://det.shandongewall.com/",main:"alloutlong",year:(new Date).getFullYear()},headapi="../"},"57d4":function(e,t,n){e.exports=n.p+"img/logo_goallout.f0477b24.png"},"90fb":function(e,t,n){},a55b:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"bg"}},[r("el-container",[r("el-header"),r("el-main",[r("div",{staticClass:"bg"},[r("el-card",{staticClass:"box-card"},[r("h5",{staticClass:"title"},[r("img",{attrs:{src:n("57d4"),alt:""}})]),r("span",{staticClass:"subtitle"},[e._v("小飞龙运动视频管理平台")]),r("el-form",{ref:"form",attrs:{model:e.form,"label-width":"0px"}},[r("el-form-item",{attrs:{label:""}},[r("el-input",{attrs:{placeholder:"用户名"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),r("el-form-item",{attrs:{label:""}},[r("el-input",{attrs:{placeholder:"密码",type:"password"},model:{value:e.form.pwd,callback:function(t){e.$set(e.form,"pwd",t)},expression:"form.pwd"}})],1),r("br"),r("br"),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("登陆")])],1)],1)],1)],1)]),r("el-footer")],1)],1)},i=[],a=(n("10dd"),n("379d"),n("cad8")),o=n("b8a1"),u=n("b74f"),s=n("daf0"),c={data:function(){return{form:{name:"",pwd:"",valid:"",picId:""},valImgSrc:"",valImgId:"",overtime:"",userLevel:"",userLevelText:""}},mounted:function(){this.overtime=new Date,1==this.$route.query.status&&(this.changeValImg(),this.overtime=new Date),document.body.clientWidth<1024&&this.$message.warning("请横屏使用本系统")},methods:{getGenVerifyPic:function(){var e=this,t={token:localStorage.token,width:100,height:42,noiseCount:10,length:4,source:123456789},n=s.stringify(t);Object(o["d"])(n).then((function(t){var n=t;e.valImgSrc=n.Pic,e.valImgId=n.Id,e.form.picId=n.Id}))},changeValImg:function(){this.getGenVerifyPic()},onSubmit:function(){this.pwdLoginBtn()},pwdLoginBtn:function(){var e=this,t=this.form.name,n=this.form.pwd;this.form.valid;e.overtime=new Date,a["a"].globalValid(t,2,17,"用户名",e)&&a["a"].globalValid(n,5,17,"密码",e)&&this.loginInfo()},loginInfo:function(){var e=this,t=this.form.name,n=this.form.pwd,r=new u["ManagerSignInRequest"];r.setUsercode(t),r.setPassword(n),e.client.managerSignIn(r,{},(function(t,n){n?(e.$router.push({path:"/"}),localStorage.token=n.getToken(),console.log(localStorage.token)):t&&(console.log(t),e.$notify({title:"警告",message:t.message+",错误代码:"+t.code,type:"warning"}),e.form.valid="",e.changeValImg())}))}}},l=c,d=(n("c63e"),n("cba8")),f=Object(d["a"])(l,r,i,!1,null,"294ef464",null);t["default"]=f.exports},b8a1:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"m",(function(){return h})),n.d(t,"j",(function(){return m})),n.d(t,"l",(function(){return v})),n.d(t,"o",(function(){return g})),n.d(t,"q",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return I}));var r=n("f753"),i=n.n(r);n("379d");function a(e,t){return i.a.post(e,t).then((function(e){var t=e.data;return t}),(function(e){console.info(e)}))}function o(e){var t=headapi+"v1/Auth/GenVerifyPic";return a(t,e)}function u(e){var t=headapi+"v1/Auth/SignOut";return a(t,e)}function s(e){var t=headapi+"v1/Class/ClassListQuery";return a(t,e)}function c(e){var t=headapi+"v1/SchoolTimeTable/AllShopClassDetailQuery";return a(t,e)}function l(e){var t=headapi+"v1/Shop/ShopSimpleQuery";return a(t,e)}function d(e){var t=headapi+"v1/Teacher/TeacherSimpleQuery";return a(t,e)}function f(e){var t=headapi+"v1/User/VipUserHourEdit";return a(t,e)}function p(e){var t=headapi+"v1/User/VipUserClassEdit";return a(t,e)}function h(e){var t=headapi+"v1/User/VipUserExpEdit";return a(t,e)}function m(e){var t=headapi+"v1/User/VipUserAdd ";return a(t,e)}function v(e){var t=headapi+"v1/User/VipUserEdit ";return a(t,e)}function g(e){var t=headapi+"v1/User/VipUserListQuery";return a(t,e)}function b(e){var t=headapi+"v1/User/VipUserStatusEdit ";return a(t,e)}function w(e){var t=headapi+"v1/User/VipUserQueryByPhone ";return a(t,e)}function S(e){var t=headapi+"v1/SchoolTimeTable/ClassAppointTeacher ";return a(t,e)}function y(e){var t=headapi+"v1/FitnessTest/OrderFitnessTestJoinVipUser";return a(t,e)}function I(e){var t=headapi+"v1/FitnessTest/OrderFitnessTestStatusEdit";return a(t,e)}},c63e:function(e,t,n){"use strict";n("90fb")}}]);
|