webpackJsonp([29],{"7Otq":function(e,t){e.exports="data:image/png;base64,[encoded data, 9080 characters]"},AVFt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var A=n("PI0u"),r=n("Ch4/"),s=n("P9l9"),i={name:"login",data:function(){return{active:0,enterpriseId:"",enterpriseList:[],numberCode:""}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},toIndex:Object(A.a)(function(){this.toLogin()},500),toLogin:function(){var e=window.location.origin+"/haoban-manage3-web/gic-login?wxEnterpriseId="+this.enterpriseList[this.active].wxEnterpriseId+"&random="+this.$route.query.random;window.location.href=e},changeEnterprise:function(e){this.active=e},getList:function(){var e=this;Object(s.a)("/haoban-manage3-web/login-wx-enterprise-list?random="+this.$route.query.random,{}).then(function(t){var n=t.data;1!=n.errorCode?r.a.errorMsg(n):e.enterpriseList=n.result}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$route.query.random&&this.getList(),localStorage.getItem("userInfos")&&localStorage.removeItem("userInfos")},components:{}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"login-wrap"},[n("section",[e._m(0),e._v(" "),n("div",{staticClass:"login-body"},[n("el-carousel",{attrs:{arrow:"always",height:"262px",autoplay:!1},on:{change:e.changeEnterprise}},e._l(e.enterpriseList,function(t){return n("el-carousel-item",{key:t.wxEnterpriseId},[n("div",{staticClass:"info flex"},[n("p",{staticClass:"info_img"},[n("img",{attrs:{src:t.corpSquareLogoUrl,alt:""}})]),e._v(" "),n("p",{staticClass:"info_name"},[e._v(e._s(t.corpName))])])])}),1),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.toIndex}},[e._v("登录")])],1)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"login-body-head border-box flex"},[t("img",{staticClass:"login-body-logo",attrs:{src:n("7Otq"),alt:"logo"}}),this._v(" "),t("span",{staticClass:"login-body-title"},[this._v("好办管理后台")])])}]};var o=n("VU/8")(i,a,!1,function(e){n("NjtC")},"data-v-68e8e97d",null);t.default=o.exports},NjtC:function(e,t){}});