1 |
- /* empty css *//* empty css *//* empty css */import{_,b as z,a as u,u as L,e as x,o as v,f as h,g as l,P as V,a6 as C,j as o,m,w as a,k as R,t as S,a5 as W,a7 as X,R as O,p as H,s as M,I as P,J as K,H as q}from"./index-ab0329a3.js";import{e as b}from"./base64-4eed9625.js";import{k as $,v as ee,r as se,s as oe,j as le,m as ie,u as te}from"./login-a6e2698a.js";import{s as A}from"./tip-a7451ffc.js";import"./index-fdf5788b.js";const ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEQ0E4RDA5NjlENEExMUVFQjA5REZBODIzN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SuQmCC";const r=U=>(P("data-v-31748027"),U=U(),K(),U),ne={id:"login-page"},me=r(()=>l("div",{class:"title"},[l("div",{class:"text font-ht"}," 上海市CIM平台 ")],-1)),re={class:"login-content"},ge=r(()=>l("div",{class:"welcome"},"欢迎登录",-1)),ce={class:"form-item"},ue=r(()=>l("img",{src:ae,alt:""},null,-1)),pe={key:0,class:"error"},Ie={class:"form-item"},Ee=r(()=>l("img",{src:Ae,alt:""},null,-1)),ve={key:1,class:"error"},he=r(()=>l("div",{class:"welcome"},"短信验证",-1)),we={class:"form-item"},Re=r(()=>l("img",{src:B,alt:""},null,-1)),Ue=["src"],be={key:0,class:"error"},Ne={class:"form-item"},ye=r(()=>l("img",{src:B,alt:""},null,-1)),Se={class:"message"},Me={class:"message_notice"},Ze={key:1,class:"error"},De={class:"dialog-content"},Ve=r(()=>l("div",{class:"tip custom-block"},[l("p",{class:"custom-block-content"}," 由于安全需要,现需将身份认证升级为双因素认证,即在原有用户名密码基础上新增手机号短信验证。 "),l("p",{class:"custom-block-content"}," 现检测到该账号没有绑定过手机号,需进行手机号绑定,一个账号只能对应一个手机号。绑定之后每次登录都需进行手机号短信验证,请谨慎操作。 ")],-1)),Ce={class:"form-item"},Be=r(()=>l("img",{src:de,alt:""},null,-1)),ke={class:"form-item"},Ye=r(()=>l("img",{src:k,alt:""},null,-1)),Ge=["src"],Je={key:0,class:"error"},fe={class:"form-item"},je=r(()=>l("img",{src:k,alt:""},null,-1)),Te={class:"dialog-footer"},Qe={__name:"Login",setup(U){const Y=z();let w=u("1"),p=u(0),I=u(0),N=u(null),E=u(!1),Z=L(),c,D=u("");function g(i){se(i).then(e=>{const n=new Blob([e],{type:"image/png"});s.value.vCodeReal=URL.createObjectURL(n)})}function G(){oe(s.value.phone,s.value.codeUserInput_phone).then(i=>{if(i.code=="200"){A({type:"success",message:i.msg}),I.value=60;const e=setInterval(()=>{I.value>0?I.value-=1:clearInterval(e)},1e3)}else A({type:"error",message:i.msg})}),console.log("发送短信验证码到手机号")}function J(){le(N.value,s.value.codeUserInput_message).then(i=>{if(i.code=="200"){A({type:"success",message:i.msg}),p.value=60;const e=setInterval(()=>{p.value>0?p.value-=1:clearInterval(e)},1e3)}else g(),A({type:"error",message:i.msg})}),console.log("发送短信验证码到手机号")}function f(){ie({username:s.value.username,password:b(s.value.psd)}).then(i=>{let e=!1;try{e=i.data.msg[0].Rows.length>0}catch{e=!1}if(e)c.close(),Y.push("/LoginedPage"),localStorage.setItem("userInfoPsdOrUserName",JSON.stringify({...s.value,psd:b(s.value.psd)+"21"})),localStorage.setItem("canSeeSystemArr",JSON.stringify(i.data.msg[0].Rows)),Z.$state.loginInfo=s.value,Z.$state.canSeeSystemArr=i.data.msg[0].Rows;else{A({type:"error",message:"无权登录"}),c.close();return}})}function j(){debugger;if(d.value.isUserNameEmptyShow=!s.value.username,d.value.isPsdErrorEmptyShow=!s.value.psd,d.value.isValidCodeEmptyShow=!s.value.message,d.value.isUserNameEmptyShow||d.value.isPsdErrorEmptyShow||d.value.isValidCodeEmptyShow){g();return}c=X.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"}),$(s.value.username,b(s.value.psd),s.value.message).then(i=>{g();let e;try{e=i.msg[0].Rows}catch{c.close(),A({type:"error",message:"登录失败"});return}if(e.length!=1){c.close(),A({type:"error",message:"登录失败"});return}var n=new Date(e[0].GETTIME).getTime()-new Date(e[0].LAST_TIME).getTime();if(n<=15*60*1e3&&+e[0].LOGIN_COUNT>0){+e[0].LOGIN_COUNT<5?A({type:"error",message:`密码错误${+e[0].LOGIN_COUNT}次,5次将锁定账号`}):A({type:"error",message:"账号已锁定,请15分钟后重试"}),c.close();return}if(e[0].USERID!=null&&e[0].USERID.length>0)f();else{A({type:"error",message:"登录失败"}),c.close();return}}).catch(i=>{g(),A({type:"error",message:"登录失败"}),c.close()})}function T(){ee(s.value.username,b(s.value.psd),s.value.message).then(i=>{i.code=="200"?i.data.state=="0"?(N.value=i.data.userid,i.data.isBindPhone=="0"?(E.value=!0,g("black")):i.data.isBindPhone=="1"&&(w.value="3",D.value=i.data.telphone,g())):A({type:"error",message:i.msg}):A({type:"error",message:i.msg})})}function Q(){te(N.value,s.value.phone,s.value.register_message).then(i=>{i.code=="200"?(E=!1,w.value="3",g()):(g("black"),A({type:"error",message:i.msg}))})}x(()=>{});let d=u({isUserNameEmptyShow:!1,isPsdErrorEmptyShow:!1,isValidCodeEmptyShow:!1,isValidCodeErrorShow:!1}),s=u({psd:"",username:"",vCodeReal:"",codeUserInput_phone:"",phone:"",codeUserInput_message:"",message:"",register_message:""});return(i,e)=>{const n=O,y=q,F=H;return v(),h("div",ne,[me,l("div",re,[V(l("div",null,[ge,l("div",ce,[m(n,{modelValue:o(s).username,"onUpdate:modelValue":e[0]||(e[0]=t=>o(s).username=t),placeholder:"请输入用户名"},{prefix:a(()=>[ue]),_:1},8,["modelValue"])]),o(d).isUserNameEmptyShow?(v(),h("div",pe,"请输入用户名")):R("",!0),l("div",Ie,[m(n,{type:"password",modelValue:o(s).psd,"onUpdate:modelValue":e[1]||(e[1]=t=>o(s).psd=t),placeholder:"请输入密码"},{prefix:a(()=>[Ee]),_:1},8,["modelValue"])]),o(d).isPsdErrorEmptyShow?(v(),h("div",ve,"请输入密码")):R("",!0),l("div",null,[l("div",{class:"btn",onClick:T},"登录")])],512),[[C,o(w)=="1"||o(w)=="2"]]),V(l("div",null,[he,l("div",we,[m(n,{modelValue:o(s).codeUserInput_message,"onUpdate:modelValue":e[2]||(e[2]=t=>o(s).codeUserInput_message=t),placeholder:"请输入验证码"},{prefix:a(()=>[Re]),suffix:a(()=>[l("img",{style:{width:"80px",height:"50px"},src:o(s).vCodeReal,alt:"",id:"validCode",onClick:g,class:"valid-code"},null,8,Ue)]),_:1},8,["modelValue"])]),!o(d).isValidCodeEmptyShow&&o(d).isValidCodeErrorShow?(v(),h("div",be,"验证码错误")):R("",!0),l("div",Ne,[m(n,{modelValue:o(s).message,"onUpdate:modelValue":e[3]||(e[3]=t=>o(s).message=t),placeholder:"请输入短信验证码"},{prefix:a(()=>[ye]),suffix:a(()=>[m(y,{disabled:o(p)>0,onClick:J},{default:a(()=>[M(S(o(p)>0?`${o(p)}秒后重新获取`:"获取验证码"),1)]),_:1},8,["disabled"])]),_:1},8,["modelValue"]),l("div",Se,[l("span",Me,"短信将被发送到"+S(o(D))+"手机号码上",1)])]),o(d).isValidCodeEmptyShow?(v(),h("div",Ze,"请输入短信验证码")):R("",!0),l("div",null,[l("div",{class:"btn",onClick:j},"登录")])],512),[[C,o(w)=="3"]])]),m(F,{modelValue:o(E),"onUpdate:modelValue":e[8]||(e[8]=t=>W(E)?E.value=t:E=t),title:"手机号绑定",width:"500","align-center":""},{footer:a(()=>[l("div",Te,[m(y,{type:"primary",onClick:Q},{default:a(()=>[M(" 绑定 ")]),_:1})])]),default:a(()=>[l("div",De,[Ve,l("div",Ce,[m(n,{modelValue:o(s).phone,"onUpdate:modelValue":e[4]||(e[4]=t=>o(s).phone=t),placeholder:"请输入手机号"},{prefix:a(()=>[Be]),_:1},8,["modelValue"])]),l("div",ke,[m(n,{modelValue:o(s).codeUserInput_phone,"onUpdate:modelValue":e[6]||(e[6]=t=>o(s).codeUserInput_phone=t),placeholder:"请输入图形验证码"},{prefix:a(()=>[Ye]),suffix:a(()=>[l("img",{style:{width:"80px",height:"50px"},src:o(s).vCodeReal,alt:"",id:"validCode",onClick:e[5]||(e[5]=t=>g("black")),class:"valid-code"},null,8,Ge)]),_:1},8,["modelValue"])]),!o(d).isValidCodeEmptyShow&&o(d).isValidCodeErrorShow?(v(),h("div",Je,"验证码错误")):R("",!0),l("div",fe,[m(n,{modelValue:o(s).register_message,"onUpdate:modelValue":e[7]||(e[7]=t=>o(s).register_message=t),placeholder:"请输入短信验证码"},{prefix:a(()=>[je]),suffix:a(()=>[m(y,{disabled:o(I)>0,onClick:G},{default:a(()=>[M(S(o(I)>0?`${o(I)}秒后重新获取`:"获取验证码"),1)]),_:1},8,["disabled"])]),_:1},8,["modelValue"])])])]),_:1},8,["modelValue"])])}}},He=_(Qe,[["__scopeId","data-v-31748027"]]);export{He as default};
|