index-legacy.909661a2.js 24 KB

1
  1. !function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r,n,o,i,c){try{var u=e[i](c),a=u.value}catch(s){return void r(s)}u.done?t(a):Promise.resolve(a).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var c=e.apply(t,r);function u(e){i(c,n,o,u,a,"next",e)}function a(e){i(c,n,o,u,a,"throw",e)}u(void 0)}))}}var u=document.createElement("style");u.innerHTML='._resjetStudentWrap_1cr7u_1{width:100%;height:23.76rem;position:relative}._resjetStudentWrap_1cr7u_1 ._bgWrap_1cr7u_6{position:absolute;top:0;left:0;width:100%;height:23.76rem}._resjetStudentWrap_1cr7u_1 ._rejectLogo_1cr7u_13{width:4.34667rem;height:.58667rem;position:absolute;left:50%;margin-left:-2.18667rem;z-index:100;top:.72rem}._resjetStudentWrap_1cr7u_1 ._studentText_1cr7u_22{width:5.38667rem;height:.85333rem;position:absolute;left:50%;margin-left:-2.69333rem;top:1.84rem;z-index:100}._resjetStudentWrap_1cr7u_1 ._schoolNameWrap_1cr7u_31{position:absolute;z-index:10;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;top:3.25333rem;font-size:.4rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#b21f3b;line-height:.56rem}._resjetStudentWrap_1cr7u_1 ._schoolNameWrap_1cr7u_31 ._rejectSchool_1cr7u_46{width:.45333rem;height:.45333rem;margin-right:.21333rem}._resjetStudentWrap_1cr7u_1 ._centerLogo_1cr7u_51{width:10rem;height:9.44rem;z-index:10;position:absolute;top:3.78667rem}._resjetStudentWrap_1cr7u_1 ._infoWrap_1cr7u_58{padding:.32rem .32rem 0;top:8.69333rem;position:relative;width:9.89333rem;height:15.06667rem;background:linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 100%);box-sizing:border-box;border-radius:.53333rem .53333rem 0 0;border:.05333rem solid #ffffff;border-bottom:none;z-index:20}._resjetStudentWrap_1cr7u_1 ._infoWrap_1cr7u_58 ._infoWrapCore_1cr7u_71{background-color:#fff;height:11.81333rem;background:#ffffff;border-radius:.48rem;overflow:hidden;position:relative}._resjetStudentWrap_1cr7u_1 ._infoWrap_1cr7u_58 ._infoWrapCore_1cr7u_71 ._subTitle_1cr7u_79{position:relative;width:7.22667rem;height:.69333rem;margin-top:.42667rem;left:50%;margin-left:-3.6rem}._group_1cr7u_87{overflow:hidden;padding:.37333rem 0 .53333rem}._group_1cr7u_87 ._noArrow_1cr7u_91 .van-field__body{padding-right:.53333rem}._group_1cr7u_87 .van-cell{line-height:1.06667rem}._group_1cr7u_87 .van-field__label{font-size:.42667rem;font-weight:600;color:#714923}._group_1cr7u_87 .van-field__body{height:1.06667rem}._group_1cr7u_87 .van-field__control{font-size:.37333rem}._group_1cr7u_87 input::-webkit-input-placeholder{color:#d8a673}._group_1cr7u_87 .van-cell{padding:.21333rem .4rem}._inputCode_1cr7u_114 .van-field__control{position:relative;top:.08rem;border-right:.04rem solid #d8a673;line-height:.42667rem;border-top-right-radius:0;border-bottom-right-radius:0;margin-right:.26667rem;padding-right:.26667rem}._inputCode_1cr7u_114 .van-field__button{height:100%}._inputCode_1cr7u_114 .van-button--disabled{color:#94acc8}._tips_1cr7u_130{box-sizing:border-box;width:8.53333rem;font-size:.34667rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fd5160;line-height:.90667rem;padding:0 .21333rem;text-align:left;background:#ffebeb;border-radius:.21333rem;margin-top:.26667rem;left:50%;position:relative;margin-left:-4.26667rem}._sendBtn_1cr7u_147{border:none;background-color:transparent;width:2.13333rem;color:#fe2451;font-size:.37333rem;padding:0;height:1.17333rem!important;line-height:1.17333rem}._sendBtn_1cr7u_147:before{display:none}._rejectBtn_1cr7u_160{width:8.08rem;height:1.33333rem;position:relative;left:50%;margin-left:-4.02667rem;margin-top:.64rem}._showWrap_1cr7u_168{width:7.04rem;height:8.69333rem;position:absolute;top:5.65333rem;left:50%;margin-left:-3.52rem;background-color:#fff;z-index:1001;box-shadow:.02667rem .02667rem .24rem rgba(149,145,145,.07);border-radius:.32rem;position:relative}._showWrap_1cr7u_168 ._showWrapTop_1cr7u_181{width:7.04rem;height:3.46667rem;position:relative;top:-.66667rem}._showWrap_1cr7u_168 h2{margin-top:.08rem;height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;text-align:center;margin-bottom:.29333rem}._showWrap_1cr7u_168 h4{font-size:.4rem;font-weight:500;color:#333;text-align:center;margin-bottom:.29333rem}._showWrap_1cr7u_168 h4 span{color:#fe2451;font-weight:700}._showWrap_1cr7u_168 p{font-size:.37333rem;font-weight:400;color:#777;line-height:.53333rem;text-align:center;margin-bottom:.58667rem}._showWrap_1cr7u_168 ._downApp_1cr7u_216{width:5.33333rem;height:1.06667rem;background:#fe2451;border-radius:1.04rem;font-size:.48rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;text-align:center;line-height:1.06667rem;position:relative;left:50%;margin-left:-2.66667rem}._subjects_1uzmy_1{padding:.4rem 0 0;background:#f6f8f9;min-height:calc(100vh - .4rem)}._subjects_1uzmy_1 ._subjectName_1uzmy_6{text-align:center;margin-bottom:.4rem}._subjects_1uzmy_1 ._subjectContainer_1uzmy_10{min-height:calc(100vh - 2.53333rem)}._subjects_1uzmy_1 ._subjectMaxLength_1uzmy_13{margin:0 .37333rem .26667rem;background:linear-gradient(139deg,#fff6ee 0%,#ffecdd 100%) #ffffff;border-radius:.26667rem;padding:.18667rem .29333rem;background:#ffffff;font-size:.37333rem;color:#ff9e5a;line-height:.58667rem}._subjects_1uzmy_1 ._title_1uzmy_23{padding:.32rem 0;margin:0 .4rem;color:#333;font-size:.42667rem;display:flex;align-items:center}._subjects_1uzmy_1 ._title_1uzmy_23:before{content:" ";display:inline-block;width:.08rem;height:.42667rem;background:#2dc7aa;border-radius:.08rem;margin-right:.21333rem;vertical-align:text-bottom}._subjects_1uzmy_1 ._subject-list_1uzmy_41{display:flex;align-items:center;flex-wrap:wrap;padding:0 .26667rem}._subjects_1uzmy_1 ._subject-list_1uzmy_41 ._subject-item_1uzmy_47{position:relative;width:2.88rem;height:2.88rem;margin-right:.13333rem;margin-left:.13333rem;margin-bottom:.26667rem;border-radius:.18667rem;overflow:hidden}._subjects_1uzmy_1 ._subject-list_1uzmy_41 ._topBg_1uzmy_57{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.54) 100%)}._subjects_1uzmy_1 ._subject-list_1uzmy_41 ._checkbox_1uzmy_65{position:absolute;right:.18667rem;top:.18667rem}._subjects_1uzmy_1 ._subject-list_1uzmy_41 ._name_1uzmy_70{position:absolute;bottom:.18667rem;left:.18667rem;font-size:.42667rem;font-weight:500;color:#fff;line-height:.58667rem}._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-checkbox__icon,._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-radio__icon{height:.58667rem}._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-checkbox__icon .van-icon,._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-radio__icon .van-icon{border:0;background-color:transparent}._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-checkbox__icon--checked .van-icon,._subjects_1uzmy_1 ._subject-list_1uzmy_41 .van-radio__icon--checked .van-icon{background-color:transparent;border:transparent}._chioseBtn_1uzmy_93{width:8.08rem;height:1.33333rem}\n',document.head.appendChild(u),System.register(["./ResizeObserver.es-legacy.44b91b4c.js","./index-legacy.c8c5bc4e.js","./index-legacy.cae55a25.js","./index-legacy.7ce7fe04.js","./index-legacy.91bad0ec.js","./index-legacy.39123961.js","./index-legacy.23131301.js","./index-legacy.4be048cf.js","./index-legacy.421f1fa7.js","./index-legacy.3ccba950.js","./index-legacy.b257cee5.js","./index-legacy.b20da433.js","./use-id-legacy.ef8b5e97.js","./index-legacy.ff44e6c0.js"],(function(e){"use strict";var r,o,i,u,a,s,l,d,m,g,h,_,f,p,b,A,j,w,y,x,v,S,z,C,k;return{setters:[function(e){r=e.d,o=e.T,i=e.j,u=e.A,a=e.F,s=e.aT,l=e.N,d=e.C,m=e.P,g=e.S,h=e.V,_=e.B,f=e.aS,p=e.bJ,b=e.y},function(){},function(e){A=e.F},function(e){j=e.C},function(e){w=e.I},function(e){y=e.C},function(){},function(e){x=e.I},function(e){v=e.R,S=e.a},function(e){z=e.S},function(e){C=e.C},function(e){k=e.F},function(){},function(){}],execute:function(){var B={resjetStudentWrap:"_resjetStudentWrap_1cr7u_1",bgWrap:"_bgWrap_1cr7u_6",rejectLogo:"_rejectLogo_1cr7u_13",studentText:"_studentText_1cr7u_22",schoolNameWrap:"_schoolNameWrap_1cr7u_31",rejectSchool:"_rejectSchool_1cr7u_46",centerLogo:"_centerLogo_1cr7u_51",infoWrap:"_infoWrap_1cr7u_58",infoWrapCore:"_infoWrapCore_1cr7u_71",subTitle:"_subTitle_1cr7u_79",group:"_group_1cr7u_87",noArrow:"_noArrow_1cr7u_91",inputCode:"_inputCode_1cr7u_114",tips:"_tips_1cr7u_130",sendBtn:"_sendBtn_1cr7u_147",rejectBtn:"_rejectBtn_1cr7u_160",showWrap:"_showWrap_1cr7u_168",showWrapTop:"_showWrapTop_1cr7u_181",downApp:"_downApp_1cr7u_216"},W="_subjects_1uzmy_1",I="_subjectName_1uzmy_6",R="_subjectContainer_1uzmy_10",N="_subjectMaxLength_1uzmy_13",O="_title_1uzmy_23",T="_subject-list_1uzmy_41",U="_subject-item_1uzmy_47",V="_topBg_1uzmy_57",E="_checkbox_1uzmy_65",F="_name_1uzmy_70",L="_chioseBtn_1uzmy_93",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABJlJREFUWEfVmW9sU1UYxp+3hY1N65DMBZikrO1Sglr2xURNiB8k6PyT2TUzBIEtMpRF4hLMdGSRjujwz4wJQoIxGMhMTIRsC36QYNQYSTRRIqPF4Vw7sjCH4BwsXTtm176mp+tdb9f29m6l271fmvTec97ffe5zzvuecwjzuNi0qQh6w0ZAZwbzQ2AuBSgfxDrRLVMY4EkQ/QUiNxD2IuQ7RwPfjs01LKltyADB5KgE4UlQeANAKvtgBusugnEWA51nCGA1DKqCscVeBaY6EFbIgmTaSyIaYxTEJ8jTfTpT6IxCcVmNFfqpNwCySB1n1DINhgyePQgt+YCunOpTAlcMyxZ7DZgaQNCLzhRbKIVMuB8DZ4RAfJQ83afS9ZA2PJvtLSDanDVVU5HEq838DXm721I9mhKYLfb3AHr0jqiqCM4/k6e7OdljSYFlymbbAkqOkSySX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ow2JxuRx9ufkVPt1eNrNyj5AlK/PfYMhVC5ujfOAAAAAASUVORK5CYII=",J=r({name:"SubjectList",props:{onChoice:{type:Function,default:function(e){}},choiceSubjectIds:{type:Array,default:[]},subjectList:{type:Array,default:[]},max:{type:Number,default:5},selectType:{type:String,default:"Checkbox"},single:{type:Boolean,default:!1}},data:function(){return{checkBox:[],checkboxRefs:[],radio:null}},mounted:function(){var e=this;return c(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:console.log("mounted=====>",e.selectType),"Radio"===e.selectType?e.radio=e.choiceSubjectIds[0]:e.checkBox=n(e.choiceSubjectIds);case 2:case"end":return t.stop()}}),t)})))()},watch:{choiceSubjectIds:function(e,t){console.log(this.choiceSubjectIds,this.checkBox,"choiceSubjectIds"),this.checkBox=n(e)}},methods:{onSelect:function(e){"Checkbox"===this.selectType?(this.max!==this.checkBox.length||this.checkBox.includes(e)||o("乐器最多选择".concat(this.max,"个")),this.checkboxRefs[e].toggle(),console.log(this.checkBox,"onSelect====>")):"Radio"===this.selectType&&(this.radio=e)}},render:function(){var e=this;return i("div",{class:W},[i("h2",{class:I},[u("选择声部")]),i("div",{class:R},[this.subjectList.length?"Checkbox"===this.selectType?i(C,{modelValue:this.checkBox,"onUpdate:modelValue":function(t){return e.checkBox=t},max:this.max},{default:function(){return[i("div",{class:N},[u("最多可选择"),e.max,u("个乐器")]),!e.single&&e.subjectList.map((function(t){return t.subjects&&t.subjects.length>0?i(a,null,[i("div",{class:O},[t.name]),i("div",{class:T},[t.subjects&&t.subjects.map((function(t){return i("div",{class:U,onClick:function(){return e.onSelect(t.id)}},[i(x,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(s,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(y,{name:t.id,class:E,disabled:!0,ref:function(r){return e.checkboxRefs[t.id]=r}},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:F},[t.name])])])}))])]):null})),e.single?i("div",{class:T},[e.subjectList.map((function(t){return i("div",{class:U,onClick:function(){return e.onSelect(t.id)}},[i(x,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(s,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(y,{name:t.id,class:E,disabled:!0,ref:function(r){return e.checkboxRefs[t.id]=r}},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:F},[t.name])])])}))]):null]}}):i(v,{modelValue:this.radio,"onUpdate:modelValue":function(t){return e.radio=t}},{default:function(){return[!e.single&&e.subjectList.map((function(t){return t.subjects&&t.subjects.length>0?i(a,null,[i("div",{class:O},[t.name]),i("div",{class:T},[t.subjects&&t.subjects.map((function(t){return i("div",{class:U,onClick:function(){return e.onSelect(t.id)}},[i(x,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(s,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(S,{name:t.id,class:E},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:F},[t.name])])])}))])]):null})),e.single?i("div",{class:T},[e.subjectList.map((function(t){return i("div",{class:U,onClick:function(){return e.onSelect(t.id)}},[i(x,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(s,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(S,{name:t.id,class:E},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:F},[t.name])])])}))]):null]}}):i(d,{tips:"暂无声部数据",btnStatus:!1},null)]),this.subjectList.length>0&&i(z,{offsetBottom:0,position:"bottom"},{default:function(){return[i("div",{class:"btnGroup"},[i("img",{src:"./assets/chioseOk.6394a2c5.png",class:L,alt:"",onClick:function(){return e.onChoice("Checkbox"===e.selectType?e.checkBox:e.radio)}},null)])]}})])}});e("default",r({name:"tenantStudentRejest",setup:function(){var e=m(),r=g({idCardNo:"",username:"",realName:"",phone:"",subjectId:"",tenantId:e.query.tenantId,birthdate:"",code:""}),s=g({schoolName:e.query.name||"",cityName:"",showArea:!1,checked:!0,success:!1,areaList:{},sendMsg:"获取验证码",imgCodeStatus:!1,subjectList:[],searchStatus:!1,openStatus:!1,dateState:!1,showSuccess:!1,choiceSubjectIds:[],choiceSubjectNames:[]}),l=function(){var e=c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(r,"forms"),r.username){e.next=4;break}return o("请输入老师昵称"),e.abrupt("return");case 4:if(r.phone){e.next=7;break}return o("请输入手机号"),e.abrupt("return");case 7:if(r.code){e.next=10;break}return o("请输入验证码"),e.abrupt("return");case 10:if(r.realName){e.next=13;break}return o("请输入真实姓名"),e.abrupt("return");case 13:if(!r.idCardNo||/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(r.idCardNo)){e.next=16;break}return o("请输入正确的身份证号"),e.abrupt("return");case 16:if(!(s.choiceSubjectIds.length<1)){e.next=19;break}return o("请选择声部"),e.abrupt("return");case 19:return e.prev=19,e.next=22,b.post("/api-tenant/open/teacher/submit",{data:t(t({},r),{},{subjectId:s.choiceSubjectIds.join(",")})});case 22:e.sent,s.showSuccess=!0,e.next=29;break;case 26:e.prev=26,e.t0=e.catch(19),console.log(e.t0);case 29:case"end":return e.stop()}}),e,null,[[19,26]])})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=c(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.get("/api-tenant/open/subject/queryPage",{data:{page:1,rows:9999}});case 3:t=e.sent,s.subjectList=t.data.rows||[],e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();h((function(){console.log(e.query),d()}));var y=function(){var e=c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.phone){e.next=3;break}return o("请输入手机号码"),e.abrupt("return");case 3:if(/^1[3456789]\d{9}$/.test(r.phone)){e.next=6;break}return o("手机号码格式不正确"),e.abrupt("return");case 6:s.imgCodeStatus=!0;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),x=function(){s.sendMsg="60s";var e=60,t=setInterval((function(){e--,s.sendMsg="".concat(e,"s"),e<=0&&(s.sendMsg="获取验证码",clearInterval(t))}),1e3)},v=function(){window.open(location.origin+"/student/#/download?type=teacher"),s.showSuccess=!1},S=function(e){s.searchStatus=!1,s.choiceSubjectIds=n(e);var t=[];s.subjectList.forEach((function(e){-1!=s.choiceSubjectIds.indexOf(e.id)&&t.push(e.name)})),s.choiceSubjectNames=[].concat(t)};return function(){return i(a,null,[i("div",{class:B.videoClass},[i("div",{class:B.resjetStudentWrap},[i("img",{src:"./assets/rejectLogo.6f541221.png",class:B.rejectLogo,alt:""},null),i("img",{src:"./assets/studentText.caab659c.png",class:B.studentText,alt:""},null),i("img",{src:"./assets/teacherBg.f2cd330c.png",class:B.bgWrap,alt:""},null),i("div",{class:B.schoolNameWrap},[i("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAqNJREFUWEftl8trE1EUxr8zmSQ01NqCq0I6aRGlRVAMSklUooi0lUwXQl24c6EgUgRXRXDjol0VRPoX6KoLtYlaREsjNAk+urRQLOZdpFIXrdrYzMyRSQ0ksSaTmBEXucs755z7m+885g7hP1lUzhHs9O2DqB4mAWI9jBqUbPabfXHkc+hrLf4lIAGn5xgEegmgrZYgv9kyUhZh+/j5+NtPRuOUgAQl7wMGLgGsMSgGQDUaSLcTADsDUt6HMCbHwxNG/UsV6fI+B+EcGBNyMjxmNEixXbDLO8MEmUGTw4mFm0Zj7ApCoOv+xMKU0SDFdgHpxBTA15ogBVVMUeSRq98lsuUxgPbKaeI4cj+G/KuL300BCUieMwDNVasVBnKCqnX709GMKSA6wFOX54gGobIiQi7j//j6g25fAAEjRYSVP7zEqibgznAsvFx4blrXVFMRwIqcCB8AwDtjp2gFfs2RRrQvgAyBxsHadvEZDHKDcFXfExWrcygTSpsKQsx3/cnIjXJlnu0ftCu5jay+byVr92A8FK8KMg+fuCkpVwCto6LUjKScjNwvrhECTfp3mazzPp+4GcvlagJ54vTKmoAZA/nWM31ITobfF4q1oSAvetx7s2rLOFeZI0RItcbFW6cRUkwBMaREmVETpFw10xQJdrodwB5HpTRtta9tjCwt5eeFKSAB6eRRQI0CZKvcvrzuUJWDZzNv1k0B0b8zKlMEQEuVwl2zqVrvQDr6xRQQ/fDpvj6bXe2wVwJpW7Zu6a1rWmqa7dvIr29DR3wzNc3UFK6Ks65+lwLLADOPAtQLwjSYXtVTI2C+CMIpAs0x8LA8BoEFBu7p+wzcJuCdnAjP5u+shZTUdfBfOhHACqk9OyCS5wKBLnP+h/7fLgLFWhPi6E9A9WJr6DrvywAAAABJRU5ErkJggg==",class:B.rejectSchool,alt:""},null),i("p",null,[s.schoolName])]),i("img",{class:B.centerLogo,src:"./assets/center.8361e7b4.png",alt:""},null),i("div",{class:B.infoWrap},[i("div",{class:B.infoWrapCore},[i("img",{src:"./assets/subTitle.53eedf80.png",class:B.subTitle,alt:""},null),i(k,{onSubmit:function(){return l()}},{default:function(){return[i(j,{class:B.group,border:!1},{default:function(){return[i(A,{class:B.noArrow,inputAlign:"right",label:"老师昵称",placeholder:"请输入老师昵称",maxlength:12,modelValue:r.username,"onUpdate:modelValue":function(e){return r.username=e}},null),i(A,{inputAlign:"right",label:"手机号",class:B.noArrow,maxlength:11,placeholder:"请输入手机号码",modelValue:r.phone,"onUpdate:modelValue":function(e){return r.phone=e}},null),i("div",{class:B.tips},[u("手机号码为酷乐秀学院登录账号")]),i(A,{class:B.inputCode,inputAlign:"left",label:"请输入验证码",labelWidth:0,modelValue:r.code,"onUpdate:modelValue":function(e){return r.code=e},maxlength:6},{button:function(){return i(_,{disabled:s.sendMsg.includes("s"),class:B.sendBtn,onClick:function(){return y()}},{default:function(){return[s.sendMsg]}})}}),i(A,{class:B.noArrow,inputAlign:"right",label:"真实姓名",placeholder:"请输入真实姓名",maxlength:20,modelValue:r.realName,"onUpdate:modelValue":function(e){return r.realName=e}},null),i(A,{class:B.noArrow,inputAlign:"right",label:"身份证号",placeholder:"请输入身份证号",maxlength:20,modelValue:r.idCardNo,"onUpdate:modelValue":function(e){return r.idCardNo=e}},null),i(A,{border:!1,inputAlign:"right",label:"声部",placeholder:"请选择声部",readonly:!0,modelValue:s.choiceSubjectNames,"onUpdate:modelValue":function(e){return s.choiceSubjectNames=e},onClick:function(){return s.searchStatus=!0}},{button:function(){return i("img",{style:{display:"block",width:"12px",height:"12px"},src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAARRJREFUSEvF1UFqAjEUBuA/GheuPEQdqtdQSu0FBMUrKMho76BYoe0dRvEM7bbuXI8u3NQDiNJVcV4ZFwo2GZM3Kc1+/i8k8/IL/PESuvzPWTf/dRB32YNceK3hhrsPLRAG/juACoCdFPKh2Bh8cJAkYAugcAwl7GVG1jiIFlgFfjsCXk67ZiJaIA4OA/8RwCANkgi4QK4CaREjIEZW014/imhoe1zGABexAnRINifuvfporpoTa0CFCGB923y6cQb8+n2BdckVoJoNylCt3BgrnxKrI+IMnjHACY/vxAjghhsBacKvAmnDE4Fw0uuA6Nn2abichf8rnOXEfyNCFaCdFDn3lXku/e+F13p1X/qcgld98wOin6sZB+h4pAAAAABJRU5ErkJggg=="},null)}})]}})]}})]),i("img",{src:"./assets/rejectBtn.42205429.png",onClick:function(){l()},class:B.rejectBtn,alt:""},null)])]),i(f,{show:s.searchStatus,round:!0,closeable:!0,position:"bottom",style:{height:"60%"},teleport:"body","onUpdate:show":function(e){return s.searchStatus=e}},{default:function(){return[i(J,{subjectList:s.subjectList,choiceSubjectIds:s.choiceSubjectIds,onChoice:S,single:!0,selectType:"Checkbox"},null)]}})]),i(p,{show:s.showSuccess,"z-index":1e3},{default:function(){return[i("div",{class:B.showWrap},[i("img",{class:B.showWrapTop,src:"./assets/teacherSuccess.253b4cb4.png",alt:""},null),i("h2",null,[u("恭喜您已成功登记为")]),i("h4",null,[s.schoolName,u(" "),i("span",null,[u("【音乐老师】")])," "]),i("p",null,[u("请下载酷乐秀机构版APP进行学习")]),i("div",{class:B.downApp,onClick:v},[u("立即下载")])])]}}),s.imgCodeStatus?i(w,{value:s.imgCodeStatus,"onUpdate:value":function(e){return s.imgCodeStatus=e},phone:r.phone,registerType:"REGISTER",onClose:function(){s.imgCodeStatus=!1},onSendCode:x},null):null])}}}))}}}))}();