webpackJsonp([33],{"56+N":function(t,e){},AVFt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("PI0u"),r=n("Ch4/"),o=n("P9l9"),s={name:"login",data:function(){return{active:0,enterpriseId:"",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},toIndex:Object(i.a)(function(){this.toLogin()},500),toLogin:function(){var t=window.location.origin+"/haoban-manage3-web/gic-login?wxEnterpriseId="+this.enterpriseList[this.active].wxEnterpriseId+"&random="+this.$route.query.random;window.location.href=t},changeEnterprise:function(t){this.active=t},getList:function(){var t=this;Object(o.a)("/haoban-manage3-web/login-wx-enterprise-list?random="+this.$route.query.random,{}).then(function(e){var n=e.data;if(1==n.errorCode)return t.enterpriseList=n.result,1===n.result.length?void t.toLogin():void 0;r.a.errorMsg(n)}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})},arrowClick:function(t){"right"===t?this.$refs.cardShow.next():this.$refs.cardShow.prev()}},mounted:function(){this.$route.query.random&&this.getList(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-wrap"},[n("section",[t._m(0),t._v(" "),n("div",{staticClass:"login-body"},[n("i",{staticClass:"iconfont iconpre",on:{click:function(e){return t.arrowClick("left")}}}),t._v(" "),n("i",{staticClass:"iconfont iconnext",on:{click:function(e){return t.arrowClick("right")}}}),t._v(" "),n("el-carousel",{ref:"cardShow",attrs:{arrow:"never",height:"262px","indicator-position":"none",autoplay:!1},on:{change:t.changeEnterprise}},t._l(t.enterpriseList,function(e){return n("el-carousel-item",{key:e.wxEnterpriseId},[n("div",{staticClass:"info flex"},[n("p",{staticClass:"info_img"},[n("img",{attrs:{src:e.corpSquareLogoUrl,alt:""}})]),t._v(" "),n("p",{staticClass:"info_name"},[t._v(t._s(e.corpName))])])])}),1),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.toIndex}},[t._v("登录")])],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-body-head border-box flex"},[e("img",{staticClass:"login-body-logo",attrs:{src:n("wdS9"),alt:"logo"}})])}]};var c=n("VU/8")(s,a,!1,function(t){n("56+N")},"data-v-3c6b2e1d",null);e.default=c.exports},wdS9:function(t,e,n){t.exports=n.p+"static/img/logo-text.3ba0f9e.png"}});