1 |
- import{D as C,d as B,a as e,A as g,C as m,E as s,U as V,x as y,y as v,V as f}from"./index-5e5e4ebc.js";import{F as S}from"./index-d76a3626.js";import{C as E}from"./index-9827a1cb.js";import{M as b}from"./index-74781a0d.js";import{F as d}from"./index-f6b73f03.js";import{A as T}from"./index-7e2bcc35.js";import"./index-0e2c1963.js";import"./index-fa23aaeb.js";import"./index-4bcfa431.js";import"./index-06479965.js";const L="_container_4gfyy_1",M="_titleIcon_4gfyy_11",q="_schoolName_4gfyy_17",J="_teacherIcon_4gfyy_28",N="_toggleBtn_4gfyy_39",w="_contentWrap_4gfyy_59",D="_content_4gfyy_59",Y="_group_4gfyy_69",Z="_inputCode_4gfyy_89",X="_sendBtn_4gfyy_101",j="_tips_4gfyy_113",P="_xieyiWrap_4gfyy_122",K="_xieyi_4gfyy_122",z="_submit_4gfyy_134",O="_successWrap_4gfyy_144",G="_p1_4gfyy_151",_="_p2_4gfyy_156",H="_btnWrap_4gfyy_161",$="_btnTitle_4gfyy_172",ee="_btnDes_4gfyy_181",ne="_btn_4gfyy_161",c={container:L,titleIcon:M,schoolName:q,teacherIcon:J,toggleBtn:N,contentWrap:w,content:D,group:Y,inputCode:Z,sendBtn:X,tips:j,xieyiWrap:P,xieyi:K,submit:z,successWrap:O,p1:G,p2:_,btnWrap:H,btnTitle:$,btnDes:ee,btn:ne},oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABACAMAAAAH3QFYAAAAqFBMVEUAAAD////////+///////////////+///////////////////////////////////////////////////////////////////////////+///////////////////////+///////////////////////////////+///////////////////////////////////////////////////////////+//+wmzIjAAAAN3RSTlMANUKdMBHSpa4s+cob2dVeJPD8zQRRF+P0iJjrjou3ZaloJ3rhTLoKoOe9SIBwO8MPs5NY3XWwjGvLNQAAChJJREFUeNrs2ulyokAUhuGD0YkCboigYOIyRIy4L/nu/85mAt3aKgyrYzk1z6+QzeK8NtqUFMPr0n839BY9iPHzAHtD/13SxwfHpUfwqhoALJIXrB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UGWhhITgZSWEuPAAwztHwo8izFen5qdtz8whjRmq2X4ICP6RPpHfhBCGVQl1Jz8T/64QuDrMOA/hfkFWl7ix/TFp2QAAAAASUVORK5CYII=",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAb1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8v0wLRAAAAJHRSTlMA7DfIWyLvIYjLmFUzrneBTOXVLwe7b1L+4NC/p5J7aEUmGRF7GH0EAAAAnElEQVQ4y83PyRKDIBBF0RYFzWDAOfP4/v8bU1pQQALurORsenMX/YioqffwCEmeE7405EpQ8NzBBLKPgJEnXSTIL2stCwfSbgwHT1loagzOu4mK/mDIWCDKUYVDLLhN947EBs1We9knmRP0MKpwoCqhleHA8bOApSutCAdXGEk4aNVGe/zvzEWDlgsM3HNEP90BgrdUY1ZNHWZ1bzwkJGX6J9QGAAAAAElFTkSuQmCC",ce=""+new URL("logo-951b998a.png",import.meta.url).href,ae=""+new URL("icon_man-aebea9e4.png",import.meta.url).href,se=""+new URL("icon_woman-64d74842.png",import.meta.url).href,le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEUAAAAYjf8ZjP8Zjf8ajv8YjP8ZjP4ZjP4ZjP8Xi/8Yi/8ZjP8YjP8Zjf8ZjP8Yjf8Zjf8Zi/8Vjv8ZjP7mfQMsAAAAE3RSTlMASLq3Hdz53uFNKfPlkopePDIXdi2ZEwAAAGFJREFUOMvN0DkSwCAMBMHFB8bcoP//1QUBEVIInrijwa5shVh2zyUCQyQLpVeLeMzyNIQhttDBzYPUgVVcBf+pKC6LViK2u4PAA9PB1U75c1bEEPoF01phIAuXIVYtNvUBaQEMYO8w120AAAAASUVORK5CYII=",ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAAAAXNSR0IArs4c6QAAARpJREFUOE+dkrFKA0EQhv9/k4tYBrG2ELQXjJfCIpBGS09sUold7rDwCdLaHnepJFZ2We20CaQQycXkBfQVRK4UTbyRFQyJXuR0upn95ltmdxjouxVIrg1wAxCFbJGAGAKFAwY6akFwmK3vB9ViqPtnInL0LwFxTv9quKrGowHI4p8kIrGVtzZpmnzdqyrhNQAro2SUUHaPnXLnU2Ai1FFdBGEWAQnXdeymYScCkwTt+wBI3N8lKvT2S94XMyNodLv55efFGwGqaRICnaell51GpTJOFZhi8+K2KAuFnkDWpyUEH/j6Vq7XtuPZespVwWV/De9JNPkZkRg5ZXt7W4/f8ZkRpg99HdkKPDXbSagT1ykN5oyV5d3nMx+HulW+mAOrnwAAAABJRU5ErkJggg==",re=()=>C.get("/edu-app/open/sysArea/queryAllProvince"),ie=l=>C.post("/edu-app/open/teacher/add",{data:l}),Ae="_container_hniot_1",de="_titleIcon_hniot_13",ge="_teacherIcon_hniot_19",me="_contentWrap_hniot_30",pe="_content_hniot_30",he="_group_hniot_40",Fe="_title_hniot_13",Ue="_url_hniot_54",ye="_submit_hniot_68",fe="_icon_head_hniot_79",a={container:Ae,titleIcon:de,teacherIcon:ge,contentWrap:me,content:pe,group:he,title:Fe,url:Ue,submit:ye,icon_head:fe},Ce=""+new URL("icon_success-e9590760.png",import.meta.url).href,Be=""+new URL("icon_pcTeacher-a04e7e89.png",import.meta.url).href,Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAa4AAAAmCAMAAACrv4+pAAAArlBMVEUAAAATFBQVFhcSExQUFBQSFBQAAAATExYUFBUTExQTFBUSExYSExQSFBQTFBURERUTFBURExUTFBQTFBQTFBUTFBUSFBUSFBUTFBQTExUSFBUTFBQTFBQTFBUTFBUUFRUTExUTFBQSFBQPDxATExQTExMUFRUSFBUSExQTExUTFBUSFBUSExYSFBUTExUSExQSExQTExUTFBUSFRcSFBUTExUTExUTFBUTExQTFBXW6xA4AAAAOXRSTlMASQjgDGMFTzA1vzn8focd6SzWorvNtKXxXFTklfWbPXnIbxAmG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7d6+/FOZ3xelqdS1KhWyEvUCSS0ZtJEGEdbtZ7oG/TXk6SJydMEx/anYlk+AarL3nS81Scq9llVNY8GfZfXR8uA5hstZQQ7bmF8zAggCnf7geYYJMXTDM+AXfAycTyjiJ2g0kxxAoB9mfrwcHo+dD9ngh76gWJ+qUIwJ/5Ok/h/835f/80/xB+HTv8GEc2XMAAAAAElFTkSuQmCC",Ee=""+new URL("icon_chrome-8322ea26.png",import.meta.url).href,Re=""+new URL("icon_head-9a0e8d84.png",import.meta.url).href,Qe=B({name:"SchoolRegister",setup(){const l=`${location.origin}/classroom`,t=()=>{const o=document.createElement("input");o.value=l,document.body.appendChild(o),o.select(),o.setSelectionRange(0,o.value.length),document.execCommand("Copy"),document.body.removeChild(o),s("复制成功")};return()=>e("div",{class:a.container},[e("img",{class:a.titleIcon,src:Ce},null),e("div",{class:a.teacherIcon},[e("img",{src:Be},null)]),e("div",{class:a.contentWrap},[e("div",{class:a.content},[e(S,null,{default:()=>[e(E,{class:a.group,border:!1},{default:()=>[e("div",{class:a.title},[e("img",{src:Se},null)]),e("div",{class:a.url},[e("img",{src:Ee},null),e("span",null,[g("- 请使用谷歌浏览器访问 -")])]),e("div",{class:a.submit},[e(m,{block:!0,onClick:t},{default:()=>[g("一键复制链接")]}),e("img",{class:a.icon_head,src:Re},null)])]})]})])])])}}),qe=B({name:"SchoolRegister",setup(){const l=V(),t=y({regionCode:"",cityCode:"",provinceCode:"",code:"",tenantId:l.query.tenantId||"",phone:null,schoolId:l.query.schoolId||"",nickname:"",gender:1}),o=y({schoolName:l.query.schoolName||"",cityName:"",showArea:!1,checked:!0,success:!1,areaList:{},sendMsg:"获取验证码",imgCodeStatus:!1}),R=n=>{const u={},p={},h={};return n.forEach(r=>{u[r.code]=r.name}),n.forEach(r=>{var i;(i=r.areas)==null||i.forEach(A=>{p[A.code]=A.name})}),n.forEach(r=>{var i;(i=r.areas)==null||i.forEach(A=>{var F;(F=A.areas)==null||F.forEach(U=>{h[U.code]=U.name})})}),{province_list:u,city_list:p,county_list:h}},Q=()=>{re().then(n=>{(n==null?void 0:n.code)===200&&(o.areaList=R(n.data))})};v(()=>{Q()});const W=()=>{if(!t.phone){s("请输入手机号码");return}if(!/^1[3456789]\d{9}$/.test(t.phone)){s("手机号码格式不正确");return}o.imgCodeStatus=!0},x=async n=>{if(!o.sendMsg.includes("s"))try{I(),s({message:"验证码发送成功",duration:2e3})}catch(u){o.sendMsg="重新发送"}},I=()=>{o.sendMsg="60s";let n=60,u=setInterval(()=>{n--,o.sendMsg=`${n}s`,n<=0&&(o.sendMsg="重新发送",clearInterval(u))},1e3)},k=async()=>{if(!o.checked){s("请勾选注册协议");return}if(!t.nickname){s("请输入老师姓名");return}if(!t.phone){s("请输入手机号码");return}if(!/^1[3456789]\d{9}$/.test(t.phone)){s("手机号码格式不正确");return}if(!t.code){s("请输入验证码");return}if(!t.provinceCode){s("请选择城市");return}const n=await ie({...t});(n==null?void 0:n.code)===200&&(o.success=!0)};return()=>e("div",{class:c.container},[e("img",{class:c.titleIcon,src:ce},null),e("img",{class:c.titleIcon,style:{margin:"16Px auto",height:"32Px"},src:oe},null),e("div",{class:c.schoolName},[e("img",{style:{width:"16px",height:"16px",marginRight:"8px",verticalAlign:"middle"},src:te},null),o.schoolName]),e("div",{class:c.teacherIcon},[e("img",{src:t.gender===1?ae:se},null),e("div",{class:c.toggleBtn,onClick:()=>t.gender=t.gender===1?0:1},[e("span",null,[t.gender===1?"男老师":"女老师"]),e("img",{src:le},null)])]),e("div",{class:c.contentWrap},[e("div",{class:c.content},[e(S,null,{default:()=>[e(E,{class:c.group,border:!1},{default:()=>[e(d,{border:!1,labelWidth:"0",placeholder:"请输入老师姓名",maxlength:20,modelValue:t.nickname,"onUpdate:modelValue":[n=>t.nickname=n,n=>{t.nickname=n.trim()}]},null),e(d,{border:!1,labelWidth:"0",maxlength:11,placeholder:"请输入手机号码",modelValue:t.phone,"onUpdate:modelValue":n=>t.phone=n},null),e("div",{class:c.tips},[g("该手机号码即为音乐数字课堂老师端登录账号")]),e(d,{class:c.inputCode,border:!1,labelWidth:0,placeholder:"请输入验证码",modelValue:t.code,"onUpdate:modelValue":n=>t.code=n,maxlength:6},{button:()=>e(m,{disabled:o.sendMsg.includes("s"),class:c.sendBtn,onClick:()=>W()},{default:()=>[o.sendMsg]})}),e(d,{border:!1,labelWidth:0,placeholder:"请选择城市",readonly:!0,modelValue:o.cityName,"onUpdate:modelValue":n=>o.cityName=n,onClick:()=>o.showArea=!0},{button:()=>e("img",{style:{display:"block",width:"8px",height:"6px",marginRight:"10px"},src:ue},null)}),e("div",{class:c.submit},[e(m,{block:!0,onClick:()=>k()},{default:()=>[g("注册")]})])]})]}),e(f,{show:o.showArea,"onUpdate:show":n=>o.showArea=n,position:"bottom"},{default:()=>[e(T,{areaList:o.areaList,onCancel:()=>o.showArea=!1,onConfirm:({selectedOptions:n})=>{t.provinceCode=n[0].value,t.cityCode=n[1].value,t.regionCode=n[2].value,o.cityName=n.map(u=>u.text).join("-"),o.showArea=!1}},null)]}),e(f,{style:{margin:0},class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:o.success,"onUpdate:show":n=>o.success=n},{default:()=>[e(Qe,null,null)]}),o.imgCodeStatus?e(b,{value:o.imgCodeStatus,"onUpdate:value":n=>o.imgCodeStatus=n,clientId:"cooleshow-teacher",phone:t.phone,onClose:()=>{o.imgCodeStatus=!1},onSendCode:x},null):null])])])}});export{qe as default};
|