webpackJsonp([45],{AVFt:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("PI0u"),r=i("Ch4/"),o=i("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(n.a)(function(){this.toLogin()},500),toLogin:function(){var t=this.$route.query,e=t.random,i=t.hbPage,n=window.location.origin+"/haoban-manage3-web/gic-login?wxEnterpriseId="+this.enterpriseList[this.active].wxEnterpriseId+"&random="+e;i&&(n=window.location.origin+"/haoban-manage3-web/gic-login?wxEnterpriseId="+this.enterpriseList[this.active].wxEnterpriseId+"&random="+e+"&hbPage="+i),window.location.href=n},changeEnterprise:function(t){this.active=t},getList:function(){var t=this;Object(o.b)("/haoban-manage3-web/login-wx-enterprise-list?random="+this.$route.query.random,{}).then(function(e){var i=e.data;if(1==i.errorCode)return t.enterpriseList=i.result,1===i.result.length?void t.toLogin():void 0;r.a.errorMsg(i)}).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(),sessionStorage.getItem("userInfos")&&sessionStorage.removeItem("userInfos")},components:{}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"login-wrap"},[i("section",[t._m(0),t._v(" "),i("div",{staticClass:"login-body"},[i("i",{staticClass:"iconfont-hb3 iconpre",on:{click:function(e){return t.arrowClick("left")}}}),t._v(" "),i("i",{staticClass:"iconfont-hb3 iconnext",on:{click:function(e){return t.arrowClick("right")}}}),t._v(" "),i("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 i("el-carousel-item",{key:e.wxEnterpriseId},[i("div",{staticClass:"info flex"},[i("p",{staticClass:"info_img"},[i("img",{attrs:{src:e.corpSquareLogoUrl,alt:""}})]),t._v(" "),i("p",{staticClass:"info_name"},[t._v(t._s(e.corpName))])])])}),1),t._v(" "),i("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:i("wdS9"),alt:"logo"}})])}]};var c=i("VU/8")(s,a,!1,function(t){i("Pgq7")},"data-v-46f73f32",null);e.default=c.exports},Pgq7:function(t,e){},wdS9:function(t,e,i){t.exports=i.p+"static/img/logo-text.3ba0f9e.png"}});