1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(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 n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(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 n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))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 n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n,r,o,i,c){try{var s=e[i](c),a=s.value}catch(u){return void n(u)}s.done?t(a):Promise.resolve(a).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var c=e.apply(t,n);function s(e){i(c,r,o,s,a,"next",e)}function a(e){i(c,r,o,s,a,"throw",e)}s(void 0)}))}}var s=document.createElement("style");s.innerHTML='._resjetStudentWrap_16duv_1{width:100%;height:23.76rem;position:relative}._resjetStudentWrap_16duv_1 ._bgWrap_16duv_6{position:absolute;top:0;left:0;width:10rem;height:23.76rem}._resjetStudentWrap_16duv_1 ._rejectLogo_16duv_13{width:4.34667rem;height:.58667rem;position:absolute;left:50%;margin-left:-2.18667rem;z-index:100;top:.72rem}._resjetStudentWrap_16duv_1 ._studentText_16duv_22{width:5.38667rem;height:.85333rem;position:absolute;left:50%;margin-left:-2.69333rem;top:1.84rem;z-index:100}._resjetStudentWrap_16duv_1 ._schoolNameWrap_16duv_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_16duv_1 ._schoolNameWrap_16duv_31 ._rejectSchool_16duv_46{width:.45333rem;height:.45333rem;margin-right:.21333rem}._resjetStudentWrap_16duv_1 ._centerLogo_16duv_51{width:10rem;height:9.44rem;z-index:10;position:absolute;top:3.78667rem}._resjetStudentWrap_16duv_1 ._infoWrap_16duv_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_16duv_1 ._infoWrap_16duv_58 ._infoWrapCore_16duv_71{background-color:#fff;height:11.81333rem;background:#ffffff;border-radius:.48rem;overflow:hidden;position:relative}._resjetStudentWrap_16duv_1 ._infoWrap_16duv_58 ._infoWrapCore_16duv_71 ._subTitle_16duv_79{position:relative;width:7.22667rem;height:.69333rem;margin-top:.42667rem;left:50%;margin-left:-3.6rem}._group_16duv_87{overflow:hidden;padding:.37333rem 0 .53333rem}._group_16duv_87 ._noArrow_16duv_91 .van-field__body{padding-right:.53333rem}._group_16duv_87 .van-cell{line-height:1.06667rem}._group_16duv_87 .van-field__label{font-size:.42667rem;font-weight:600;color:#714923}._group_16duv_87 .van-field__body{height:1.06667rem}._group_16duv_87 .van-field__control{font-size:.37333rem}._group_16duv_87 input::-webkit-input-placeholder{color:#d8a673}._group_16duv_87 .van-cell{padding:.21333rem .4rem}._inputCode_16duv_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_16duv_114 .van-field__button{height:100%}._inputCode_16duv_114 .van-button--disabled{color:#94acc8}._tips_16duv_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_16duv_147{border:none;background-color:transparent;width:1.86667rem;color:#fe2451;font-size:.37333rem;padding:0;height:1.17333rem!important;line-height:1.17333rem}._sendBtn_16duv_147:before{display:none}._rejectBtn_16duv_160{width:8.08rem;height:1.33333rem;position:relative;left:50%;margin-left:-4.02667rem;margin-top:.64rem}._showWrap_16duv_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_16duv_168 ._showWrapTop_16duv_181{width:7.04rem;height:3.46667rem;position:relative;top:-.66667rem}._showWrap_16duv_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_16duv_168 h4{font-size:.4rem;font-weight:500;color:#333;text-align:center;margin-bottom:.29333rem}._showWrap_16duv_168 h4 span{color:#fe2451;font-weight:700}._showWrap_16duv_168 p{font-size:.37333rem;font-weight:400;color:#777;line-height:.53333rem;text-align:center;margin-bottom:.58667rem}._showWrap_16duv_168 ._downApp_16duv_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(s),System.register(["./index-legacy.fba2875c.js","./index-legacy.e7460ea1.js","./index-legacy.7dcec7b3.js","./index-legacy.8921f068.js","./index-legacy.f231f1c5.js","./index-legacy.45490234.js","./index-legacy.32d1c54d.js","./index-legacy.d92f7da7.js","./index-legacy.23cbc114.js","./index-legacy.edb65d0c.js","./index-legacy.94e5c17b.js","./index-legacy.21d121b2.js","./index-legacy.40eca993.js","./use-height-legacy.233a2ec8.js","./use-id-legacy.db87b112.js"],(function(e){"use strict";var n,o,i,s,a,u,l,d,m,g,h,_,f,p,b,A,v,j,w,y,x,z,S,C,k;return{setters:[function(e){n=e.d,o=e.T,i=e.j,s=e.z,a=e.F,u=e.aS,l=e.M,d=e.C,m=e.O,g=e.Q,h=e.U,_=e.B,f=e.aR,p=e.bE,b=e.w},function(e){A=e.C},function(){},function(e){v=e.F},function(e){j=e.C},function(e){w=e.C},function(){},function(e){y=e.I},function(e){x=e.R,z=e.a},function(e){S=e.S},function(e){C=e.C},function(e){k=e.F},function(){},function(){},function(){}],execute:function(){var B={resjetStudentWrap:"_resjetStudentWrap_16duv_1",bgWrap:"_bgWrap_16duv_6",rejectLogo:"_rejectLogo_16duv_13",studentText:"_studentText_16duv_22",schoolNameWrap:"_schoolNameWrap_16duv_31",rejectSchool:"_rejectSchool_16duv_46",centerLogo:"_centerLogo_16duv_51",infoWrap:"_infoWrap_16duv_58",infoWrapCore:"_infoWrapCore_16duv_71",subTitle:"_subTitle_16duv_79",group:"_group_16duv_87",noArrow:"_noArrow_16duv_91",inputCode:"_inputCode_16duv_114",tips:"_tips_16duv_130",sendBtn:"_sendBtn_16duv_147",rejectBtn:"_rejectBtn_16duv_160",showWrap:"_showWrap_16duv_168",showWrapTop:"_showWrapTop_16duv_181",downApp:"_downApp_16duv_216"},W="_subjects_1uzmy_1",I="_subjectName_1uzmy_6",R="_subjectContainer_1uzmy_10",N="_subjectMaxLength_1uzmy_13",O="_title_1uzmy_23",U="_subject-list_1uzmy_41",T="_subject-item_1uzmy_47",V="_topBg_1uzmy_57",F="_checkbox_1uzmy_65",L="_name_1uzmy_70",E="_chioseBtn_1uzmy_93",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABJlJREFUWEfVmW9sU1UYxp+3hY1N65DMBZikrO1Sglr2xURNiB8k6PyT2TUzBIEtMpRF4hLMdGSRjujwz4wJQoIxGMhMTIRsC36QYNQYSTRRIqPF4Vw7sjCH4BwsXTtm176mp+tdb9f29m6l271fmvTec97ffe5zzvuecwjzuNi0qQh6w0ZAZwbzQ2AuBSgfxDrRLVMY4EkQ/QUiNxD2IuQ7RwPfjs01LKltyADB5KgE4UlQeANAKvtgBusugnEWA51nCGA1DKqCscVeBaY6EFbIgmTaSyIaYxTEJ8jTfTpT6IxCcVmNFfqpNwCySB1n1DINhgyePQgt+YCunOpTAlcMyxZ7DZgaQNCLzhRbKIVMuB8DZ4RAfJQ83afS9ZA2PJvtLSDanDVVU5HEq838DXm721I9mhKYLfb3AHr0jqiqCM4/k6e7OdljSYFlymbbAkqOkSySXOlZOMKzoD05VTbxJSSL8JFET8uAxWygCx0VAyzXyiaDjgzEsL4hfvaQA1vsn0lT12IAjqZLD3m6d8beR8ISSQG0d0GtkNoaH8WSiwAW6dZc3SUy2EIrm9wao/B2VUfSeBTY5HgaOn5zUakbA48NwDC9TwOdX0eBzY5DIK5YdOrGQzP1kLezkUSJqDOcFlVXLu3wxMNF2PrUavRfHceHnw9hKpS6ahN3mBH2VRGX258FU1NO7bBlczGcu9ZBr4vWzYe/9ODwyeGUOSX2KsTtxOWORjBX50zd2mdKsK/OCp1u5nt+cXYQrZ8Opk2CEWiiLmJL9TEA5TkBrn9+JZq2lYPiiv5rIwG8sK8H10enFIGBfmKz/QyICu848Ks1q9C4JVJPzyg7dN2PbU4Xhv8JKpUYYl3CHCA2V3+vKhUvN+jRXGvEvYalOHLyKtzegGKwvVtLsdthksFeuTaO7W+5ceOmMux0sgAjRGyx/6Bqhjj0ugWVj60WkP7bQbzS5sYvveMpoZvr1uCl58pk9z1DPuzY78bIWHobxDeaninUA3ccWI9HHiyW+vJPBLHroAvne/2zoJ31RrxYaZT93zc4hu3OS7jlCyl+maTAai1hsxTihHMD7i5cKvU3Hgiivs2F3/6YgW5rKEPNpjUyqN8HbmFH6yX4/GFVsDJLzGXQVVgLcazFhnvuypMC+yLQ77hwoc+P9tfMqHq8VAZ1sX8Uta29CNxWDysBRwbdXKe1B0wFOL7fhuWG/BlofxA9/TexsaJEBnv+8r/Y+XYvJiZV7UHI+oi27J9f4rAal+G404biomUpP/FPrhG8fPAy/gvOHTamsEgc803Npvvz0eG0oWRFwSzocxduYPe7fQimqRMyMbMsNWej+DGuzEPHARtWFRdK8b/79W/saf8TIXWTQVL++OJHqJ2N8rL0vjx80rwe1rUGfPXjMJo+9kYKrKxcIstNl5cCOJsFfEG+DhOTc5sJkr1d0gJea0skobKWFqGxL8FaWuYLlbW2kTJtDe1sVUnWMDtaQBzdZs3lwjSW0cRvhpuBcX7WznbrjNIa2tCOU1o7RwYS9FrHOiwJN2niUCY+W2rm2EsGraWDxcTaZCGObv8HZTwaw0QBeGoAAAAASUVORK5CYII=",P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAtFJREFUWEfVmUuojVEUx39LnnlOrjIVXY8JyatQEjEw4kZxoxgwuEwMlBBSiolrwIAiFGFkQIRCeSUmXpGJgWLimWeW/rd19Dnuuec7zjn3nL2HX99e+7fXXnu9tlHFcPdhwAJgOjAFGAuMAAaG2K/AO+A5cB+4A1wysw//u6xVOtHdNWcJsCpg+4eMz8Ab4CPwLb4NAIYCI4HB8e27oIFjwDkz80oYKgJ295XAttDkT+AJ8Bh4Abwvs/BwYAwwARgP9A3N7zSzE3mhcwG7+0TgEDAL+ATcAG4DX/IuVPTfIGAGMBsYAtwE1pnZo3LyygK7+xrgAKCjvw5cAXSstRiSOQ+YEzI7zOxIT4J7BHb3/cAG4C2gY3tdC8puZIwCZG4tQKeZbSy1Tklgdz8eQp4CJzMXqU7M6IKuAMZJOWbW3t1C3QJnNPsQOAX8qhdlkdw+wHJgUilN/wMcNnsYkGaP9iJsgV3Qq0PTa4tt+i/g8Ab3whN09oIZlDo4mYfujjzI1Kz3KAaWu5qp46jjBctrXbqIgr5lZnJ/XeMPcAQFXbRrwIW8Uuv83yJgLtBeCC5dwBFunwHa1Z4a+tlq9yM/vTlOu1VhvAC8FDgTmpWGm2lIw9J0m5mdLQCfBxYCu6oIt/XapML4VuCimS02d1dSoixLJiEbbsahINKqrE/ABXM4HTlrMwIr117WZRbuvhfYBOzOkSI2ajOygi3APgFfBaYBOxpFk3Pd7cBdAb8CfgAHc05s1G/rgX4CVknzMtLHRsHkWVfp52gBS7sPwg/nmdiof9qAyUkCJ2cSyV265NxacoEjudCcUvLTkl56GRVHcgm8NJ1OiRRaVqxOowgtJAfunk6ZH1pWWzWdRkpAq72aRqsqYxrq/HQAzd8MzECn027NQKfT0M5Ap/NkkIFO51EmW8Al8+xVBJ3Ow2JxuRx9ufkVPt1eNrNyj5AlK/PfYMhVC5ujfOAAAAAASUVORK5CYII=",K=n({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=r(e.choiceSubjectIds);case 2:case"end":return t.stop()}}),t)})))()},watch:{choiceSubjectIds:function(e,t){console.log(this.choiceSubjectIds,this.checkBox,"choiceSubjectIds"),this.checkBox=r(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},[s("选择声部")]),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},[s("最多可选择"),e.max,s("个乐器")]),!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:U},[t.subjects&&t.subjects.map((function(t){return i("div",{class:T,onClick:function(){return e.onSelect(t.id)}},[i(y,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(u,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(w,{name:t.id,class:F,disabled:!0,ref:function(n){return e.checkboxRefs[t.id]=n}},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:L},[t.name])])])}))])]):null})),e.single?i("div",{class:U},[e.subjectList.map((function(t){return i("div",{class:T,onClick:function(){return e.onSelect(t.id)}},[i(y,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(u,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(w,{name:t.id,class:F,disabled:!0,ref:function(n){return e.checkboxRefs[t.id]=n}},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:L},[t.name])])])}))]):null]}}):i(x,{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:U},[t.subjects&&t.subjects.map((function(t){return i("div",{class:T,onClick:function(){return e.onSelect(t.id)}},[i(y,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(u,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(z,{name:t.id,class:F},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:L},[t.name])])])}))])]):null})),e.single?i("div",{class:U},[e.subjectList.map((function(t){return i("div",{class:T,onClick:function(){return e.onSelect(t.id)}},[i(y,{src:t.img||"xxx",width:"100%",height:"100%",fit:"cover"},{loading:function(){return i(u,{type:"spinner",size:20},null)}}),i("div",{class:V},[i(z,{name:t.id,class:F},{icon:function(e){return i(l,{name:e.checked?M:P,size:"20"},null)}}),i("p",{class:L},[t.name])])])}))]):null]}}):i(d,{tips:"暂无声部数据",btnStatus:!1},null)]),this.subjectList.length>0&&i(S,{offsetBottom:0,position:"bottom"},{default:function(){return[i("div",{class:"btnGroup"},[i("img",{src:"./assets/chioseOk.6394a2c5.png",class:E,alt:"",onClick:function(){return e.onChoice("Checkbox"===e.selectType?e.checkBox:e.radio)}},null)])]}})])}});e("default",n({name:"tenantStudentRejest",setup:function(){var e=m(),n=g({idCardNo:"",username:"",realName:"",phone:"",subjectId:"",tenantId:e.query.tenantId,birthdate:"",code:""}),u=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:return console.log(n,"forms"),n.username||o("请输入老师昵称"),n.phone||o("请输入手机号"),n.code||o("请输入验证码"),n.realName||o("请输入真实姓名"),n.idCardNo||o("请输入身份证号"),u.choiceSubjectIds.length<1&&o("请选择声部"),e.prev=7,e.next=10,b.post("/api-tenant/open/teacher/submit",{data:t(t({},n),{},{subjectId:u.choiceSubjectIds.join(",")})});case 10:e.sent,u.showSuccess=!0,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),console.log(e.t0);case 17:case"end":return e.stop()}}),e,null,[[7,14]])})));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,u.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 w=function(){var e=c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.phone){e.next=3;break}return o("请输入手机号码"),e.abrupt("return");case 3:if(/^1[3456789]\d{9}$/.test(n.phone)){e.next=6;break}return o("手机号码格式不正确"),e.abrupt("return");case 6:return e.next=8,b.post("/api-student/code/sendSmsCode",{requestType:"form",data:{mobile:n.phone,type:"LOGIN"}});case 8:y(),setTimeout((function(){o("验证码已发送")}),100);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){u.sendMsg="60s";var e=60,t=setInterval((function(){e--,u.sendMsg="".concat(e,"s"),e<=0&&(u.sendMsg="获取验证码",clearInterval(t))}),1e3)},x=function(){window.open(location.origin+"/student/#/download?type=teacher"),u.showSuccess=!1},z=function(e){u.searchStatus=!1,u.choiceSubjectIds=r(e);var t=[];u.subjectList.forEach((function(e){-1!=u.choiceSubjectIds.indexOf(e.id)&&t.push(e.name)})),u.choiceSubjectNames=[].concat(t)};return function(){return i(a,null,[i("div",{class:B.videoClass},[i(A,{class:B.classHeader,border:!1,isFixed:!1,background:"#fff"},null),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,[u.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(v,{class:B.noArrow,inputAlign:"right",label:"老师昵称",placeholder:"请输入老师昵称",maxlength:20,modelValue:n.username,"onUpdate:modelValue":function(e){return n.username=e}},null),i(v,{inputAlign:"right",label:"手机号",class:B.noArrow,maxlength:11,placeholder:"请输入手机号码",modelValue:n.phone,"onUpdate:modelValue":function(e){return n.phone=e}},null),i("div",{class:B.tips},[s("手机号码为酷乐秀学院登录账号")]),i(v,{class:B.inputCode,inputAlign:"left",label:"请输入验证码",labelWidth:0,modelValue:n.code,"onUpdate:modelValue":function(e){return n.code=e},maxlength:6},{button:function(){return i(_,{disabled:u.sendMsg.includes("s"),class:B.sendBtn,onClick:function(){return w()}},{default:function(){return[u.sendMsg]}})}}),i(v,{class:B.noArrow,inputAlign:"right",label:"真实姓名",placeholder:"请输入真实姓名",maxlength:20,modelValue:n.realName,"onUpdate:modelValue":function(e){return n.realName=e}},null),i(v,{class:B.noArrow,inputAlign:"right",label:"身份证号",placeholder:"请输入身份证号",maxlength:20,modelValue:n.idCardNo,"onUpdate:modelValue":function(e){return n.idCardNo=e}},null),i(v,{border:!1,inputAlign:"right",label:"声部",placeholder:"请选择声部",readonly:!0,modelValue:u.choiceSubjectNames,"onUpdate:modelValue":function(e){return u.choiceSubjectNames=e},onClick:function(){return u.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:u.searchStatus,round:!0,closeable:!0,position:"bottom",style:{height:"60%"},teleport:"body","onUpdate:show":function(e){return u.searchStatus=e}},{default:function(){return[i(K,{subjectList:u.subjectList,choiceSubjectIds:u.choiceSubjectIds,onChoice:z,single:!0,selectType:"Checkbox"},null)]}})]),i(p,{show:u.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,[s("恭喜您已成功登记为")]),i("h4",null,[u.schoolName,s(" "),i("span",null,[s("【音乐老师】")])," "]),i("p",null,[s("请下载酷乐秀机构版APP进行学习")]),i("div",{class:B.downApp,onClick:x},[s("立即下载")])])]}})])}}}))}}}))}();
|