1 line
1.5 KiB
JavaScript
1 line
1.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03e1b930"],{de74:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("div",{attrs:{id:"loader-wrapper"}},[n("div",{attrs:{id:"loader"}}),n("div",{staticClass:"loader-section section-left"}),n("div",{staticClass:"loader-section section-right"}),n("div",{staticClass:"load_title"},[t._v("正在加载系统资源,请耐心等待")])])])}],a=(n("14d9"),{name:"YwglLogin",data:function(){return{loginRules:{},loginForm:{username:"",password:"",rememberMe:!1,code:"",uuid:""},loading:!1,captchaOnOff:!0,register:!1,redirect:void 0}},watch:{$route:{handler:function(t){this.redirect=t.query&&t.query.redirect},immediate:!0}},beforeRouteEnter:function(t,e,n){console.log("从 "+e.path+" 进入ywgllogin"),n()},created:function(){this.getLoginByNameAndTokenJ()},methods:{getLoginByNameAndTokenJ:function(){var t=this,e=this.$route.query.ticket;if(e){this.loading=!0;var n={ticket:e,model:"xn"};this.$store.dispatch("loginSso",n).then((function(){t.$message.success("登录成功"),t.loading=!1,t.$router.push({path:"/chatMain"}).catch((function(){}))})).catch((function(e){console.log("有异常信息",e),t.loading=!1}))}}}}),r=a,s=(n("f9d7"),n("2877")),c=Object(s["a"])(r,i,o,!1,null,null,null);e["default"]=c.exports},f397:function(t,e,n){},f9d7:function(t,e,n){"use strict";n("f397")}}]); |