2 lines
14 KiB
JavaScript
2 lines
14 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-686b9ef0"],{"5e90":function(e,t,a){},6386:function(e,t,a){"use strict";a.r(t);a("b0c0");var n=a("7a23"),c=a("d594"),o=a.n(c),r=a("7604"),l=a.n(r),u=a("56d5"),s=a.n(u),i=a("6131"),b=a.n(i),d=a("0918"),p=a.n(d),j=Object(n["withScopeId"])("data-v-1ea33ff0");Object(n["pushScopeId"])("data-v-1ea33ff0");var O={class:"login"},f={class:"box"},v={class:"title"},h={class:"orgname"},m={key:0},g={class:"nosign"},y=Object(n["createVNode"])("div",{class:"line"},null,-1),V=Object(n["createVNode"])("div",{class:"line"},null,-1),N={class:"ifagree"},k={key:0,src:o.a,alt:"",class:"agree"},w={key:1},x={class:"nosign"},$={class:"signform"},A={class:"orginfo"},S={key:2},C={class:"nosign"},B=Object(n["createVNode"])("img",{src:l.a,alt:"",class:"success"},null,-1),D={class:"steps"},z={class:"step"},q=Object(n["createVNode"])("div",{class:"stepline"},null,-1),U={class:"step"},_=Object(n["createVNode"])("div",{class:"stepline"},null,-1),I={class:"step"},T={key:0,class:"icons"},R=Object(n["createVNode"])("img",{src:s.a,alt:"",class:"icon"},null,-1),Q=Object(n["createVNode"])("img",{src:b.a,alt:"",class:"icon"},null,-1),L=Object(n["createVNode"])("img",{src:p.a,alt:"",class:"icon"},null,-1);Object(n["popScopeId"])();var E=j((function(e,t,a,c,o,r){var l=Object(n["resolveComponent"])("NavTop"),u=Object(n["resolveComponent"])("a-select-option"),s=Object(n["resolveComponent"])("a-select"),i=Object(n["resolveComponent"])("a-input"),b=Object(n["resolveComponent"])("a-input-group"),d=Object(n["resolveComponent"])("a-form-item"),p=Object(n["resolveComponent"])("a-form");return Object(n["openBlock"])(),Object(n["createBlock"])("div",O,[Object(n["createVNode"])(l,{type:0,style:{"flex-shrink":"0"}}),Object(n["createVNode"])("div",f,[Object(n["createVNode"])("div",{class:2!=e.stepnow?"left":"left left1"},[Object(n["createVNode"])("div",v,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.lan.$t("huanying"))+" ",1),Object(n["createVNode"])("span",h,Object(n["toDisplayString"])(e.lan.$t("beelink")),1)]),1==e.stepnow?(Object(n["openBlock"])(),Object(n["createBlock"])("div",m,[Object(n["createVNode"])("div",g,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.lan.$t("yiyouzhanghao"))+" ",1),Object(n["createVNode"])("span",{class:"tosign",onClick:t[1]||(t[1]=function(t){return e.navto("/")})},Object(n["toDisplayString"])(e.lan.$t("qudenglu")),1)]),Object(n["createVNode"])(p,{layout:e.formLayout},{default:j((function(){return[Object(n["createVNode"])(d,{label:e.lan.$t("shoujihao"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(b,{compact:""},{default:j((function(){return[Object(n["createVNode"])(s,{"default-value":e.mrqh.name+"+"+e.mrqh.code,size:"small",onChange:e.getquhao,class:"getcode",style:{width:"50%"},"option-label-prop":"label","show-search":""},{default:j((function(){return[(Object(n["openBlock"])(!0),Object(n["createBlock"])(n["Fragment"],null,Object(n["renderList"])(e.quhaolist,(function(e,t){return Object(n["openBlock"])(),Object(n["createBlock"])(u,{key:t,value:e.name+"+"+e.code,label:"+"+e.code},{default:j((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.name)+"+"+Object(n["toDisplayString"])(e.code),1)]})),_:2},1032,["value","label"])})),128))]})),_:1},8,["default-value","onChange"]),y,Object(n["createVNode"])(i,{value:e.phone.phone,"onUpdate:value":t[2]||(t[2]=function(t){return e.phone.phone=t}),style:{width:"50%"},placeholder:e.lan.$t("shurushouji")},null,8,["value","placeholder"])]})),_:1})]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("yanzhengma"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(b,{compact:""},{default:j((function(){return[Object(n["createVNode"])("div",{class:"getcode",style:{width:"50%"},onClick:t[3]||(t[3]=function(){return e.getcode.apply(e,arguments)})},Object(n["toDisplayString"])(e.lan.$t("dianjihuoquyzm"))+" "+Object(n["toDisplayString"])(60==e.time?"":"("+e.time+")"),1),V,Object(n["createVNode"])(i,{value:e.phone.code,"onUpdate:value":t[4]||(t[4]=function(t){return e.phone.code=t}),style:{width:"50%"},placeholder:e.lan.$t("shuruyzm")},null,8,["value","placeholder"])]})),_:1})]})),_:1},8,["label"]),Object(n["createVNode"])("div",{class:"submit",onClick:t[5]||(t[5]=function(t){return e.next(2)})},Object(n["toDisplayString"])(e.lan.$t("xiayibu")),1),Object(n["createVNode"])("div",{class:"agreement",onClick:t[6]||(t[6]=function(){return e.agree.apply(e,arguments)})},[Object(n["createVNode"])("div",N,[e.ifagree?(Object(n["openBlock"])(),Object(n["createBlock"])("img",k)):Object(n["createCommentVNode"])("",!0)]),Object(n["createTextVNode"])(" "+Object(n["toDisplayString"])(e.lan.$t("tongyixieyi")),1)])]})),_:1},8,["layout"])])):Object(n["createCommentVNode"])("",!0),2==e.stepnow?(Object(n["openBlock"])(),Object(n["createBlock"])("div",w,[Object(n["createVNode"])("div",x,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.lan.$t("yiyouzhanghao"))+" ",1),Object(n["createVNode"])("span",{class:"tosign",onClick:t[7]||(t[7]=function(t){return e.navto("/")})},Object(n["toDisplayString"])(e.lan.$t("qudenglu")),1)]),Object(n["createVNode"])(p,{layout:e.formLayout},{default:j((function(){return[Object(n["createVNode"])("div",$,[Object(n["createVNode"])(d,{label:e.lan.$t("shezhimima"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(i,{class:"shuru",placeholder:e.lan.$t("shurumima"),type:"password",value:e.userinfo.pass,"onUpdate:value":t[8]||(t[8]=function(t){return e.userinfo.pass=t})},null,8,["placeholder","value"])]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("shezhimima"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(i,{class:"shuru",placeholder:e.lan.$t("shurumimatwo"),type:"password",value:e.userinfo.passtow,"onUpdate:value":t[9]||(t[9]=function(t){return e.userinfo.passtow=t})},null,8,["placeholder","value"])]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("xingming"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(i,{class:"shuru",placeholder:e.lan.$t("shuruxingming"),value:e.userinfo.name,"onUpdate:value":t[10]||(t[10]=function(t){return e.userinfo.name=t})},null,8,["placeholder","value"])]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("youxiang"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(i,{class:"shuru",placeholder:e.lan.$t("shuruyouxiang"),value:e.userinfo.emil,"onUpdate:value":t[11]||(t[11]=function(t){return e.userinfo.emil=t})},null,8,["placeholder","value"])]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("muyu"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(i,{class:"shuru",placeholder:e.lan.$t("shurumuyu"),value:e.userinfo.muyu,"onUpdate:value":t[12]||(t[12]=function(t){return e.userinfo.muyu=t})},null,8,["placeholder","value"])]})),_:1},8,["label"]),Object(n["createVNode"])(d,{label:e.lan.$t("jiaoshou"),class:"form-item"},{default:j((function(){return[Object(n["createVNode"])(s,{value:e.userinfo.jiaoshou,"onUpdate:value":t[13]||(t[13]=function(t){return e.userinfo.jiaoshou=t}),class:"getcode",style:{color:"#111"},placeholder:e.lan.$t("xuanzejiaoshou")},{default:j((function(){return[(Object(n["openBlock"])(!0),Object(n["createBlock"])(n["Fragment"],null,Object(n["renderList"])(e.willsay,(function(e,t){return Object(n["openBlock"])(),Object(n["createBlock"])(u,{key:t,value:e.value},{default:j((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.name),1)]})),_:2},1032,["value"])})),128))]})),_:1},8,["value","placeholder"])]})),_:1},8,["label"])]),Object(n["createVNode"])("div",{class:"submit",onClick:t[14]||(t[14]=function(t){return e.next(3)})},Object(n["toDisplayString"])(e.lan.$t("lijizhuce")),1),Object(n["createVNode"])("div",A,Object(n["toDisplayString"])(e.lan.$t("banquan")),1)]})),_:1},8,["layout"])])):Object(n["createCommentVNode"])("",!0),3==e.stepnow?(Object(n["openBlock"])(),Object(n["createBlock"])("div",S,[Object(n["createVNode"])("div",C,Object(n["toDisplayString"])(e.lan.$t("您已完成注册")),1),B,Object(n["createVNode"])("div",{class:"ale",onClick:t[15]||(t[15]=function(t){return e.navto("/mine/archives")})},Object(n["toDisplayString"])(e.lan.$t("qudangan")),1)])):Object(n["createCommentVNode"])("",!0)],2),Object(n["createVNode"])("div",{class:2!=e.stepnow?"right":"right right1"},[Object(n["createVNode"])("div",D,[Object(n["createVNode"])("div",z,[Object(n["createVNode"])("div",{class:1==e.stepnow?"circle step1":"circle"}," 01 ",2),Object(n["createVNode"])("div",{class:1==e.stepnow?"stepnow":""},Object(n["toDisplayString"])(e.lan.$t("yanzhengshouji")),3)]),q,Object(n["createVNode"])("div",U,[Object(n["createVNode"])("div",{class:2==e.stepnow?"circle step1":"circle"}," 02 ",2),Object(n["createVNode"])("div",{class:2==e.stepnow?"stepnow":""},Object(n["toDisplayString"])(e.lan.$t("tianxiexinxi")),3),2==e.stepnow?(Object(n["openBlock"])(),Object(n["createBlock"])("div",{key:0,class:"back",onClick:t[16]||(t[16]=function(t){return e.next(1)})},Object(n["toDisplayString"])(e.lan.$t("fanhuishangyibu")),1)):Object(n["createCommentVNode"])("",!0)]),_,Object(n["createVNode"])("div",I,[Object(n["createVNode"])("div",{class:3==e.stepnow?"circle step1":"circle"}," 03 ",2),Object(n["createVNode"])("div",{class:3==e.stepnow?"stepnow":""},Object(n["toDisplayString"])(e.lan.$t("zhucewancheng")),3)])]),2==e.stepnow?(Object(n["openBlock"])(),Object(n["createBlock"])("div",T,[R,Q,L])):Object(n["createCommentVNode"])("",!0)],2)])])})),F=(a("d3b7"),a("ac1f"),a("25f0"),a("1276"),a("5530")),J=(a("96cf"),a("1da1")),K=a("c022"),G=a("79f6"),H=a("f64c"),Z=a("afbc"),W=a("5699"),M=a("0613"),Y=Object(n["defineComponent"])({name:"Sign",components:{NavTop:K["a"]},setup:function(){var e=Object(W["c"])(),t={labelCol:4,wrapperCol:14},a=Object(n["ref"])(60),c=Object(n["ref"])({pass:"",passtow:"",name:"",emil:"",muyu:"",jiaoshou:""}),o=Object(n["ref"])(),r=Object(n["computed"])((function(){return M["a"].state.qh})),l=Object(n["ref"])({quhao:r.value.code,phone:"",code:""}),u=Object(n["ref"])([{code:"86",id:214,name:"中国"}]);Object(G["K"])().then((function(e){o.value=e})),Object(n["onMounted"])(Object(J["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(G["B"])();case 2:u.value=e.sent;case 3:case"end":return e.stop()}}),e)}))));var s=!1,i=function(){var t=Object(J["a"])(regeneratorRuntime.mark((function t(){var n,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!s){t.next=2;break}return t.abrupt("return");case 2:if(""!=l.value.phone){t.next=5;break}return H["a"].error(e.$t("shoujihaoweikong")),t.abrupt("return");case 5:return t.next=7,Object(G["j"])({phone:l.value.phone});case 7:if(n=t.sent,void 0!=sessionStorage.getItem("mid")||!n.data){t.next=11;break}return H["a"].error(n.msg),t.abrupt("return");case 11:s=!0,Object(G["V"])(l.value.quhao,l.value.phone),c=setInterval((function(){a.value=a.value-1,a.value<=0&&(a.value=60,clearInterval(c),s=!1)}),1e3);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=Object(n["ref"])(!0),d=function(){b.value=1!=b.value},p=Object(n["ref"])(1);function j(){return""==c.value.pass||""==c.value.passtow?(H["a"].error(e.$t("mimaweikong")),!1):c.value.pass==c.value.passtow?""==c.value.name?(H["a"].error(e.$t("xingmingweikong")),!1):""==c.value.emil?(H["a"].error(e.$t("youxiangweikong")),!1):/^\w+((.\w+)|(-\w+))@[A-Za-z0-9]+((.|-)[A-Za-z0-9]+).[A-Za-z0-9]+$/.test(c.value.emil)?""==c.value.muyu?(H["a"].error(e.$t("muyuweikong")),!1):""!=c.value.jiaoshou||(H["a"].error(e.$t("jiaoshouweikong")),!1):(H["a"].error(e.$t("youxiangcuowu")),!1):void H["a"].error(e.$t("mimabuyizhi"))}function O(e){return f.apply(this,arguments)}function f(){return f=Object(J["a"])(regeneratorRuntime.mark((function t(a){var o,r,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(b.value){t.next=3;break}return H["a"].error(e.$t("weitongyixieyi")),t.abrupt("return");case 3:if(!(p.value>a)){t.next=6;break}return p.value=a,t.abrupt("return");case 6:t.t0=a,t.next=2===t.t0?9:3===t.t0?22:28;break;case 9:if(""!=l.value.phone){t.next=14;break}return H["a"].error(e.$t("shoujihaoweikong")),t.abrupt("return");case 14:if(""!=l.value.code){t.next=17;break}return H["a"].error(e.$t("yanzhengmaweikong")),t.abrupt("return");case 17:return t.next=19,Object(G["i"])(l.value.quhao+l.value.phone,l.value.code);case 19:return o=t.sent,o&&(p.value=a),t.abrupt("break",28);case 22:if(r=j(),!r){t.next=28;break}return t.next=26,Object(G["T"])(Object(F["a"])(Object(F["a"])({},Object(n["toRaw"])(l.value)),Object(n["toRaw"])(c.value)));case 26:u=t.sent,u&&(p.value=a);case 28:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}function v(e){Z["a"].push(e)}function h(e){l.value.quhao=e.toString(),l.value.quhao=l.value.quhao.split("+")[1]}return{formLayout:t,getcode:i,time:a,agree:d,ifagree:b,stepnow:p,next:O,phone:l,userinfo:c,willsay:o,navto:v,lan:e,quhaolist:u,getquhao:h,mrqh:r}}});a("6b80");Y.render=E,Y.__scopeId="data-v-1ea33ff0";t["default"]=Y},"6b80":function(e,t,a){"use strict";a("5e90")},7604:function(e,t,a){e.exports=a.p+"img/success.77170588.png"},d594:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAA2UlEQVQoU4WQMWvCUBzE716eQheHfori6ioUkU5uQt/Q4KC4CG7t2sHZpZSCOFlKkw6O4hBJHHTzIzg4iks725jkLyKKFLQ3H3f3O+Ifad95BnjFSz4VfD0pkTaIl7NGFThNJXgVohsX7QbT/mc2FK5xZy8O6anArYtIl8DHpvhQAynUvjMjcL35DfMoVVdW4FQo6AnQj6dzG61Wsgtg2nNvEo0JBEsSbyLSATmIvvU9jIkPLfuN3ntOW6kxwAyAYfSjyzAmPAU9wuiRewslj5EVGhSq679vbAGRO0nrhRE6fAAAAABJRU5ErkJggg=="}}]);
|
|
//# sourceMappingURL=chunk-686b9ef0.fb66f2b6.js.map
|