index-legacy.2eb4d60c.js 40 KB

1
  1. !function(){function e(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function r(r){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){t(r,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r,t,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void t(u)}s.done?r(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var r=this,t=arguments;return new Promise((function(o,i){var a=e.apply(r,t);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}var i=document.createElement("style");i.innerHTML='._preApply_gg1dr_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._preApply_gg1dr_1 .van-tab{font-weight:600}._preApply_gg1dr_1 .van-tabs__wrap{padding-bottom:.08rem}._preApply_gg1dr_1 .van-field__error-message{text-align:right}._preApply_gg1dr_1 ._popupContainer_gg1dr_15{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;padding:0 .4rem}._preApply_gg1dr_1 ._popupContainer_gg1dr_15 ._dialogTitle_gg1dr_19{text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding:.53333rem 0 .53333rem .66667rem}._preApply_gg1dr_1 ._popupContainer_gg1dr_15 ._dialogTitle_gg1dr_19 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._preApply_gg1dr_1 ._popupContainer_gg1dr_15 ._popupTips_gg1dr_35{text-align:center;padding:.4rem 0 1.2rem;font-size:.42667rem}._preApply_gg1dr_1 ._popupContainer_gg1dr_15 ._title1_gg1dr_40{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._preApply_gg1dr_1 ._popupContainer_gg1dr_15 ._popupTips_gg1dr_35{padding-top:.32rem;padding-bottom:1.25333rem;text-align:left;font-size:.4rem;color:#777;line-height:.56rem}._preApply_gg1dr_1 ._banner_gg1dr_55{background:url(./assets/banner.288a8f8c.png) no-repeat center center;background-size:cover;height:3.78667rem;width:100%}._preApply_gg1dr_1 ._banner_gg1dr_55 ._orchestraName_gg1dr_61{display:block;padding:2.29333rem .48rem 0;max-width:6.13333rem;font-size:.42667rem;color:#fff;text-align:justify}._applyTitle_gg1dr_69{display:flex;align-items:center;padding:.53333rem .53333rem .32rem;font-size:.42667rem;font-weight:600;color:#333}._applyTitle_gg1dr_69:before{display:inline-block;content:" ";margin-right:.16rem;width:.10667rem;height:.37333rem;background:linear-gradient(180deg,#ffb790 0%,#ff8057 100%);border-radius:.08rem}._applyCellGroup_gg1dr_86{margin:0 .34667rem}._applyCellGroup_gg1dr_86 .van-cell{font-size:.42667rem;padding:.48rem .32rem}._radioSection_gg1dr_93{position:relative;min-width:.85333rem;justify-content:center}._radioSection_gg1dr_93 ._radioItem_gg1dr_98{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_gg1dr_93+._radioSection_gg1dr_93{margin-left:.32rem}._mlr13_gg1dr_109{margin:0 .34667rem}._paymentTips_gg1dr_112{background:#ffffff;border-radius:.26667rem;padding:.32rem .37333rem;margin-bottom:.32rem;font-size:.37333rem;color:#777;font-size:400;line-height:.53333rem;text-align:justify}._paymentContainer_gg1dr_123{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding:.4rem .32rem calc(.4rem + env(safe-area-inset-bottom)) .32rem}._paymentContainer_gg1dr_123 ._needPrice_gg1dr_130{display:flex;align-items:center;color:#333;padding-bottom:.18667rem}._paymentContainer_gg1dr_123 ._needPrice_gg1dr_130 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_gg1dr_123 ._needPrice_gg1dr_130 span span{font-size:.48rem;margin-right:.05333rem}._paymentContainer_gg1dr_123 ._allPrice_gg1dr_145{color:#aaa}._paymentContainer_gg1dr_123 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._sectionCell_gg1dr_153{margin-bottom:.32rem;padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden;--van-checkbox-border-color: transparent}._sectionCell_gg1dr_153 .van-cell{padding:0}._sectionCell_gg1dr_153 ._checkbox_gg1dr_163{margin-right:.32rem}._sectionCell_gg1dr_153 ._extra_gg1dr_166{padding:.26667rem 0 0 .93333rem}._sectionCell_gg1dr_153 ._extra_gg1dr_166 ._sectionPrice_gg1dr_169{display:flex;align-items:center;color:#aaa;font-weight:600;flex-wrap:wrap}._sectionCell_gg1dr_153 ._extra_gg1dr_166 ._price_gg1dr_176{display:flex;align-items:center;font-size:.37333rem;color:#333;padding-right:.32rem;font-weight:400}._sectionCell_gg1dr_153 ._extra_gg1dr_166 ._price_gg1dr_176 span{font-size:.42667rem;font-weight:700;color:#ff4e19}._sectionCell_gg1dr_153 ._extra_gg1dr_166 ._price_gg1dr_176 ._free_gg1dr_189{font-size:.37333rem}._sectionCell_gg1dr_153 ._gives_gg1dr_192{margin-top:.48rem;padding-top:.21333rem;border-top:.02667rem solid #f2f2f2}._sectionCell_gg1dr_153 ._gives_gg1dr_192 ._sectionTips_gg1dr_197{display:flex;align-items:center;font-size:.37333rem;color:#ff4e19;padding:.13333rem .16rem;background:#ffebdd;border-radius:.16rem}._sectionCell_gg1dr_153 ._gives_gg1dr_192 ._iconGives_gg1dr_206{width:.85333rem;height:.48rem;margin-right:.21333rem}._sectionCell_gg1dr_153 ._iconChecked_gg1dr_211{font-size:.48rem}._sectionCell_gg1dr_153 ._iconChecked_gg1dr_211 .van-icon__image{width:100%;height:100%}._sectionCell_gg1dr_153 .van-checkbox__icon--disabled .van-icon{border-color:transparent;background-color:transparent;opacity:.6}._sectionCell_gg1dr_153 .van-checkbox__icon--checked .van-icon{border-color:transparent;background-color:transparent}._numFont_gg1dr_227{font-family:DINA}._numFont_gg1dr_227 ._numPrefix_gg1dr_230{font-size:.37333rem!important;margin-right:.05333rem}._section_gg1dr_153{display:flex}._section_gg1dr_153 ._img_gg1dr_237{width:2.34667rem;height:2.34667rem;border-radius:.16rem;overflow:hidden;flex-shrink:0;margin-right:.37333rem}._section_gg1dr_153 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._section_gg1dr_153 ._brandName_gg1dr_251{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem}._section_gg1dr_153 ._model_gg1dr_257{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._orderCellGroup_gg1dr_263{margin:0 .34667rem .32rem}._orderCellGroup_gg1dr_263 .van-cell{padding-left:.32rem;padding-right:.32rem}._payTime_gg1dr_270{font-size:.42667rem;color:#777;flex:0 auto}._payStatus_gg1dr_275{color:#ff4e19}._paySuccess_gg1dr_278{color:var(--van-primary)}._imgGroup_gg1dr_281{padding:.4rem .32rem .48rem .16rem!important}._imgGroup_gg1dr_281 ._img_gg1dr_237{width:1.86667rem;height:1.86667rem;border-radius:.16rem;overflow:hidden}._imgGroup_gg1dr_281 .van-grid-item__content{padding:0}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293{display:flex;align-content:center}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293>div{flex:1 auto}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293 ._orderPriceNum_gg1dr_300{flex:0 auto;width:2.66667rem;text-align:right;display:flex;flex-direction:column;justify-content:center}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293 ._orderPriceNum_gg1dr_300 ._opNums_gg1dr_308{font-size:.42667rem;font-family:DINA;font-weight:700;color:#333;line-height:.37333rem}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293 ._orderPriceNum_gg1dr_300 ._opNums_gg1dr_308 span{font-size:.32rem}._imgGroup_gg1dr_281 ._orderPriceInfo_gg1dr_293 ._orderPriceNum_gg1dr_300 ._opBuyLength_gg1dr_318{font-size:.34667rem;color:#777;line-height:.48rem}._btnGroup_gg1dr_323{padding-top:0}._btnGroup_gg1dr_323 ._btnPrice_gg1dr_326{font-family:DINA;font-size:.58667rem;font-weight:700;color:#ff4e19}._btnGroup_gg1dr_323 .van-cell__value{flex:1 auto;display:flex;justify-content:flex-end}._btnGroup_gg1dr_323 .van-button{height:.8rem;line-height:.8rem;min-width:2.13333rem}._btnGroup_gg1dr_323 .van-button+.van-button{margin-left:.26667rem}._btnGroup_gg1dr_323 ._btns_gg1dr_345{display:flex}._preApplyC_gg1dr_348{--van-dialog-message-font-size: .42667rem !important}._dialogTitle_gg1dr_19{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_gg1dr_19 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._dialogRefund_gg1dr_368{padding:.53333rem 0 .4rem .66667rem}._refundContent_gg1dr_371{padding:0 .53333rem .66667rem}._refundContent_gg1dr_371 ._tips_gg1dr_374{font-size:.4rem;color:#333;line-height:.56rem}._container_gg1dr_379 .van-button{font-size:.48rem;font-weight:500}._refundTitle_gg1dr_383{padding-top:.66667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._refundTitle_gg1dr_383 span{color:#f44541}._phoneName_gg1dr_393{background:#f2f2f2;border-radius:.16rem}\n',document.head.appendChild(i),System.register(["./index-legacy.fcc0b4e8.js","./index-legacy.38f1f606.js","./index-legacy.3903b9cb.js","./index-legacy.24bb07a6.js","./index-legacy.81e02831.js","./index-legacy.cf928f53.js","./index-legacy.1d36b034.js","./index-legacy.44c51790.js","./countUp.min-legacy.52e432a0.js","./index-legacy.ad628289.js","./index-legacy.710bf7ff.js","./index-legacy.a40c48c0.js","./index-legacy.d20a6d18.js","./index-legacy.3762f3f4.js","./index-legacy.7bae5662.js","./index-legacy.7bc98644.js","./index-legacy.ec5d708a.js","./index-legacy.1ee22bce.js","./index-legacy.8e2e376c.js","./index-legacy.3cf06caa.js","./index-legacy.6c9382c0.js","./Checker-legacy.4b31d7e6.js","./Picker-legacy.7661fd4c.js","./index-legacy.c75fe8a2.js","./function-call-legacy.4c44237f.js","./ImagePreview-legacy.f81ae970.js","./index-legacy.ad5b9d23.js","./use-tab-status-legacy.aff82590.js"],(function(e){"use strict";var t,n,i,a,s,c,u,l,d,g,p,f,_,m,h,y,b,x,v,C,I,k,P,A,S,T,w,N,j,R,G,F,B,O,V,U,z,E,D,q,L,Y,M,K,H,X,Z;return{setters:[function(e){t=e.d,n=e.ah,i=e.ag,a=e.r,s=e.$,c=e.c,u=e.q,l=e.o,d=e.B,g=e.P,p=e.a$,f=e.m,_=e.F,m=e.a5,h=e.b6,y=e._,b=e.ak,x=e.al,v=e.R,C=e.f,I=e.bm,k=e.bn,P=e.bk},function(e){A=e.F},function(e){S=e.C},function(e){T=e.F},function(e){w=e.R,N=e.a},function(e){j=e.T},function(e){R=e.P},function(e){G=e.O},function(e){F=e.C},function(e){B=e.O},function(e){O=e.M,V=e.G},function(e){U=e.O},function(e){z=e.C},function(e){E=e.C},function(e){D=e.C},function(e){q=e.I},function(e){L=e.b},function(e){Y=e.L},function(e){M=e.G,K=e.a},function(e){H=e.S},function(e){X=e.T,Z=e.a},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){for(var J={preApply:"_preApply_gg1dr_1",popupContainer:"_popupContainer_gg1dr_15",dialogTitle:"_dialogTitle_gg1dr_19",popupTips:"_popupTips_gg1dr_35",title1:"_title1_gg1dr_40",banner:"_banner_gg1dr_55",orchestraName:"_orchestraName_gg1dr_61",applyTitle:"_applyTitle_gg1dr_69",applyCellGroup:"_applyCellGroup_gg1dr_86",radioSection:"_radioSection_gg1dr_93",radioItem:"_radioItem_gg1dr_98",mlr13:"_mlr13_gg1dr_109",paymentTips:"_paymentTips_gg1dr_112",paymentContainer:"_paymentContainer_gg1dr_123",needPrice:"_needPrice_gg1dr_130",allPrice:"_allPrice_gg1dr_145",sectionCell:"_sectionCell_gg1dr_153",checkbox:"_checkbox_gg1dr_163",extra:"_extra_gg1dr_166",sectionPrice:"_sectionPrice_gg1dr_169",price:"_price_gg1dr_176",free:"_free_gg1dr_189",gives:"_gives_gg1dr_192",sectionTips:"_sectionTips_gg1dr_197",iconGives:"_iconGives_gg1dr_206",iconChecked:"_iconChecked_gg1dr_211",numFont:"_numFont_gg1dr_227",numPrefix:"_numPrefix_gg1dr_230",section:"_section_gg1dr_153",img:"_img_gg1dr_237",brandName:"_brandName_gg1dr_251",model:"_model_gg1dr_257",orderCellGroup:"_orderCellGroup_gg1dr_263",payTime:"_payTime_gg1dr_270",payStatus:"_payStatus_gg1dr_275",paySuccess:"_paySuccess_gg1dr_278",imgGroup:"_imgGroup_gg1dr_281",orderPriceInfo:"_orderPriceInfo_gg1dr_293",orderPriceNum:"_orderPriceNum_gg1dr_300",opNums:"_opNums_gg1dr_308",opBuyLength:"_opBuyLength_gg1dr_318",btnGroup:"_btnGroup_gg1dr_323",btnPrice:"_btnPrice_gg1dr_326",btns:"_btns_gg1dr_345",preApplyC:"_preApplyC_gg1dr_348",dialogRefund:"_dialogRefund_gg1dr_368",refundContent:"_refundContent_gg1dr_371",tips:"_tips_gg1dr_374",container:"_container_gg1dr_379",refundTitle:"_refundTitle_gg1dr_383",phoneName:"_phoneName_gg1dr_393"},Q=[],W=1;W<=40;W++)Q.push({text:W+"班",value:W});var $=t({name:"apply",props:{schoolSystem:{type:String,default:"sixYearSystem"},registerInfo:{type:Object,defualt:{}},code:{type:String,default:""}},emits:["next"],setup:function(e,t){t.slots,t.attrs;var _=t.emit,m=n();i();var h=a({detail:{},currentGrade:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5}],classList:Q,subjectList:[],gradeStatus:!1,classStatus:!1,subjectStatus:!1,pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,nameReg:/^[\u4E00-\u9FA5]+$/,subjectChangeStatus:!1}),y=a({username:null,sex:null,currentGrade:null,currentGradeTxt:null,currentClass:"",currentClassTxt:null,registerSubjectId:"",registerSubjectTxt:null,parentName:null,phone:null}),b=function(){var e=o(regeneratorRuntime.mark((function e(){var r,t,n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-student/orchestraRegister/register/"+m.query.id);case 3:r=e.sent,t=r.data,n=t||{},h.detail=n,o=h.currentGrade.find((function(e){return e.value==n.currentGrade})),i=h.classList.find((function(e){return e.value==n.currentClass})),a=h.subjectList.find((function(e){return e.value==n.registerSubjectId})),y.username=n.username,y.sex=n.sex?1:0,y.currentGrade=n.currentGrade,y.currentGradeTxt=o?o.text:"",y.currentClass=n.currentClass,y.currentClassTxt=i?i.text:"",y.registerSubjectId=n.registerSubjectId,y.registerSubjectTxt=a?a.text:"",y.parentName=n.parentName,y.phone=n.phone,e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),console.log(e.t0);case 25:case"end":return e.stop()}}),e,null,[[0,22]])})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=o(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.post("/api-student/open/orchestraSubjectConfig/pageByOrchestraId",{data:{orchestraId:m.query.id,page:1,rows:100}});case 3:r=e.sent,(r.data.rows||[]).forEach((function(e){h.subjectList.push({text:e.name,value:e.subjectId})})),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),v=function(e){return h.nameReg.test(e)&&e.length>=2&&e.length<=15},C=function(e){return e?h.nameReg.test(e)?e.length<2||e.length>15?"学员姓名必须为2~15个字":"":"学员姓名必须为中文":"请填写学员真实姓名"},I=function(){var t=o(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=r({orchestraId:m.query.id,schoolId:h.detail.schoolId},y),h.detail.id&&(n.id=h.detail.id),t.next=5,f.post("/api-student/orchestraRegister/save",{hideLoading:!1,data:r(r({},n),{},{code:e.code})});case 5:setTimeout((function(){_("next","payment")}),100),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}();return s(o(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,x();case 2:return"sixYearSystem"===e.schoolSystem&&h.currentGrade.push({text:"六年级",value:6}),r.next=5,b();case 5:case"end":return r.stop()}}),r)})))),function(){return c("div",{class:J.preApplyC},[c(A,{validateFirst:!0,scrollToError:!0,onSubmit:I,ref:"form",class:J.form},{default:function(){return[c("div",{class:J.applyTitle},[u("学员信息")]),c(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[c(T,{required:!0,label:"学员信息",placeholder:"请填写学员真实姓名",inputAlign:"right",modelValue:y.username,"onUpdate:modelValue":function(e){return y.username=e},maxlength:15,rules:[{validator:v,message:C}]},null),c(T,{required:!0,label:"性别",inputAlign:"right",rules:[{required:!0,message:"请选择性别"}]},{input:function(){return c(w,{modelValue:y.sex,"onUpdate:modelValue":function(e){return y.sex=e}},{default:function(){return[c(j,{size:"large",type:"primary",color:1!==y.sex?"#EAEAEA":"#FF8057",textColor:1!==y.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[c(N,{class:J.radioItem,name:1},null),u("男生")]}}),c(j,{size:"large",type:"primary",color:0!==y.sex?"#EAEAEA":"#FF8057",textColor:0!==y.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[c(N,{class:J.radioItem,name:0},null),u("女生")]}})]}})}}),c(T,{required:!0,label:"年级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择年级",modelValue:y.currentGradeTxt,"onUpdate:modelValue":function(e){return y.currentGradeTxt=e},onClick:function(){return h.gradeStatus=!0},rules:[{required:!0,message:"请选择年级"}]},null),c(T,{required:!0,label:"班级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择班级",modelValue:y.currentClassTxt,"onUpdate:modelValue":function(e){return y.currentClassTxt=e},onClick:function(){return h.classStatus=!0},rules:[{required:!0,message:"请选择班级"}]},null)]}}),c("div",{class:J.applyTitle},[u("声部信息")]),c(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[c(T,{required:!0,label:"声部",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择声部",modelValue:y.registerSubjectTxt,"onUpdate:modelValue":function(e){return y.registerSubjectTxt=e},onClick:function(){var r,t,n;h.subjectList.length<=0?l("暂无报名声部"):"LEARNING"===(null===(r=e.registerInfo)||void 0===r?void 0:r.registerStatus)||"OUTOF_ORCHESTRA"===(null===(t=e.registerInfo)||void 0===t?void 0:t.registerStatus)&&(null===(n=e.registerInfo)||void 0===n?void 0:n.orderNumber)>0?h.subjectChangeStatus=!0:h.subjectStatus=!0},rules:[{required:!0,message:"请选择声部"}]},null)]}}),c("div",{class:J.applyTitle},[u("家长信息")]),c(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[c(T,{required:!0,label:"家长姓名",inputAlign:"right",placeholder:"请填写家长真实姓名",modelValue:y.parentName,"onUpdate:modelValue":function(e){return y.parentName=e},maxlength:15,rules:[{required:!0,message:"请填写家长真实姓名"}]},null),c(T,{required:!0,label:"手机号",inputAlign:"right",placeholder:"请输入手机号",modelValue:y.phone,"onUpdate:modelValue":function(e){return y.phone=e},maxlength:11,type:"tel",rules:[{pattern:h.pattern,message:"输入监护人手机号码有误"}]},null)]}}),c("div",{class:"btnGroup",style:{paddingTop:"30px"}},[c(d,{type:"primary",round:!0,block:!0,"native-type":"submit"},{default:function(){return[u("下一步")]}})])]}}),c(g,{show:h.gradeStatus,"onUpdate:show":function(e){return h.gradeStatus=e},position:"bottom",round:!0,safeAreaInsetBottom:!0,lazyRender:!1,class:"popupBottomSearch"},{default:function(){return[c(R,{showToolbar:!0,columns:h.currentGrade,onCancel:function(){return h.gradeStatus=!1},onConfirm:function(e){var r=e.selectedOptions[0];y.currentGrade=r.value,y.currentGradeTxt=r.text,h.gradeStatus=!1}},null)]}}),c(g,{show:h.classStatus,"onUpdate:show":function(e){return h.classStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[c(R,{showToolbar:!0,columns:h.classList,onCancel:function(){return h.classStatus=!1},onConfirm:function(e){var r=e.selectedOptions[0];y.currentClass=r.value,y.currentClassTxt=r.text,h.classStatus=!1}},null)]}}),c(g,{show:h.subjectStatus,"onUpdate:show":function(e){return h.subjectStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[c(R,{showToolbar:!0,columns:h.subjectList,onCancel:function(){return h.subjectStatus=!1},onConfirm:function(e){var r=e.selectedOptions[0];y.registerSubjectId=r.value,y.registerSubjectTxt=r.text,h.subjectStatus=!1}},null)]}}),c(p,{show:h.subjectChangeStatus,"onUpdate:show":function(e){return h.subjectChangeStatus=e},message:"您已有报名订单,不可更换声部",messageAlign:"center",confirmButtonText:"确定"},{title:function(){return c("div",{class:J.dialogTitle},[c("i",null,null),u("提示")])}})])}}}),ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAAn5JREFUSEu9lk1ME0EUx3/T0hYa0BBNJCZEDVGiB48GDsjNix4pFTHePXgwKmoQXSpoKCfPXhQJgnjUizflQOPZBI0mRJRAgIiIVVpCx8xutx90t9sPs3Pcee/93nvzn9kncHkJJ54EgdbdAeIsgnYkRxE06n6SdQSfkcyCfI32Ykaor0VWUaDUznch5BCSVqfE9H3BJ6S4I7TJl3b2lkB5P3SEHc8E0FYSqNAohjd1QQxMz+/eKgDKSE8nqZTKcH+FMNNtDY+nS9x9/jY3Th4wDXsD+KuEme5JPJ4zudAMMN3G9/+hst25ruFNnTLbmwVq4dkqzsypITGhTbUbulLqVmpETjt5VbcvQkq9Qr9ng+G5kqVfKVVdmXtTx4XUuk+DyFNSpTEJ7oH6vbDyzSaE7BRSC0eBGxVDTMcDh+BSP9Q1wNMIfJ2zChkVcjD8DklHVcCDLXDxNtTVw3YSHvfDqkWVghlV4RLQZAv01oCUkNqxNmk+Br23IBCEZAImR2H+g124ZVXhFpKApYXK+PKosfVsGFa/55sdPgE9feCvhcRfmBiBhY/2zRIkigMbGuHKI/D54feGcTZri0bAlpMQvga+AGzFYfwhLH4pfjI60KmleuDraehPeBKBfU0Qugo1PvizCeMPYKngnbaC6y11Fk1u6+K/oDYI6mzjGzA2DCsLpWkuLZoRoM/Ro7kVem8a4lBrcx3GhrItdgygG0TLu/hK/kqR2wkD9mO5NEzGSl38cp82JRK1FLScZT5tysfVx9tMUrr5e9KrNOYY937AOtSYZ9wZMTKtdXOIykDdHBNzle7aIJwHzY765xC02Yz6MZCvqh71y7nXpdr+AzQ6A1zwOYWrAAAAAElFTkSuQmCC",re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFljFoVEEQhr+5A1NdISgImiKFhCTYihYxnSgRxZA3AbGRaKeChVYWr7AxjaB2GmxEyDwvYjAodpoiwVZyElJYaFBQsHiNEd6NbHgXLmpyd0FettydmX/n35nZX2ix3F3MbLBUKg27+1HgoIjsDm7u/gNYFpH5er0+q6pzIuJbhZStDs1sFLgF9La6WH6+BNxU1aeb2f8T0Mx63P2JiBzJHT8Bz4FZ4D3wLd/fCxwChoEzQHee+YKInFPVj38C/wVoZkNAuOEeYEVEYnd/pKpZCzbKInLB3WNgP/AdGFXVN81+GwBzsNfALmAmTdPz4+PjaZt0rplNTk5WKpXKY+A08As43gy6DhhoBN6FzETk7uLi4rU4juudgDVs4zguDQwM3HH3q3mmhxv0rgNOTU3N5282U6vVzm4XrBm0v7//WcjU3RfGxsZChbMGmFdjEt4sTdO+TmncjIWc3g/5m0aheiX0WZIkYbNXRC5FUfRwOzRu5pMkyUV3fwAsRVHUJ9Vq9ViWZaGSQun3tKrGTi9jZmUgtEe3uw+FKTIBXAfuq+qVTgO2Y29m94DLIjIR6Hzr7oPASVV91U6ATm3M7ATwUkTmQoZfgH3AAVVd6TRYO/ZmFgbBZ+BryPCnu3cBXaoaGvW/LzMLg2RVRFaLB9wJSgsrGmAuUHrb3W8U1haFN37ho63w4d1oukK/pzzLYj/gHDTomWIkRoPaQkVUE2hxMrF5chcmhJtBQ59OT08PZll2Kogsd98g9UVkOYikcrn8YmRkpKXU/w3FMJTtm1XXOwAAAABJRU5ErkJggg==",te=t({name:"payment",emits:["next"],setup:function(){var e=n(),t=i(),g=a({paymentType:"",musicPaymentType:"",check:[],checkboxRefs:[],details:[],goodsInfo:{},textBookInfo:{},repaireInfo:{},vipInfo:{},paymentOrderDetails:[],orderInfo:{needPrice:0,originalPrice:0},memberBaoStatus:!1,goodsStatus:!1,selectGoodsId:null,currentPrice:0,selectGoodsInfo:{},dialogStatus:!1,dialogMessage:"",dialogConfig:{}}),p=function(){var e=o(regeneratorRuntime.mark((function e(){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-student/sysParamConfig/queryByParamName",{params:{paramName:"payment_service_provider"}});case 3:r=e.sent,t=r.data,g.paymentType=t.paramValue||"",e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=o(regeneratorRuntime.mark((function e(){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-student/userPaymentOrder/unpaid");case 3:r=e.sent,(t=r.data).id&&(g.dialogMessage="您有待支付的订单,是否继续支付",g.dialogStatus=!0,g.dialogConfig=t),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),x=function(){var t=o(regeneratorRuntime.mark((function t(){var n,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,f.get("/api-student/orchestraRegister/registerGoods/"+e.query.id);case 3:n=t.sent,o=n.data,g.musicPaymentType=o.paymentServiceProvider||"",(o.paymentOrderDetails||[]).forEach((function(e){g.paymentOrderDetails.push(e.goodsType)})),(i=o.details||[]).forEach((function(e){if("INSTRUMENTS"===e.goodsType){var t=e.goodsUrl?e.goodsUrl.split(",")[0]:"";g.goodsInfo=r(r({},e),{},{goodsUrl:t})}else if("TEXTBOOK"===e.goodsType){var n=e.goodsUrl?e.goodsUrl.split(",")[0]:"";g.textBookInfo=r(r({},e),{},{goodsUrl:n})}else"REPAIR"===e.goodsType?g.repaireInfo=r({},e):"VIP"===e.goodsType&&(g.vipInfo=r({},e));g.details=i,g.paymentOrderDetails.includes(e.goodsType)||"REPAIR"===e.goodsType||g.check.push(e.goodsId)})),C(),t.next=15;break;case 13:t.prev=13,t.t0=t.catch(0);case 15:case"end":return t.stop()}}),t,null,[[0,13]])})));return function(){return t.apply(this,arguments)}}(),v=function(e){g.checkboxRefs[e].toggle(),C()},C=function(){var e=g.details,r={needPrice:0,originalPrice:0};e.forEach((function(e){g.check.includes(e.goodsId)&&!g.paymentOrderDetails.includes(e.goodsType)&&(r.needPrice+=parseFloat(e.currentPrice||0),r.originalPrice+=parseFloat(e.originalPrice||0))})),g.orderInfo=r,k()},I=a({needPrice:null,originalPrice:null}),k=function(){y((function(){I.needPrice?I.needPrice.update(g.orderInfo.needPrice):(I.needPrice=new F("needPrice",g.orderInfo.needPrice,{decimalPlaces:2}),I.needPrice.error?console.error(I.needPrice.error):I.needPrice.start())}))},P=function(){var n=o(regeneratorRuntime.mark((function n(){var o,i,a,s,c,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!(g.check.length<=0)){n.next=4;break}return l("请选择您要购买的商品"),n.abrupt("return");case 4:return C(),o=[],i=g.details,a=!1,i.forEach((function(e){g.check.includes(e.goodsId)&&!g.paymentOrderDetails.includes(e.goodsType)&&o.push({goodsId:e.goodsId,goodsNum:1,goodsType:e.goodsType,paymentCashAmount:e.currentPrice,paymentCouponAmount:0}),"INSTRUMENTS"===e.goodsType&&g.check.includes(e.goodsId)&&!g.paymentOrderDetails.includes(e.goodsType)&&(a=!1)})),s=g.repaireInfo,a&&s.goodsId&&o.push({goodsId:s.goodsId,goodsNum:1,goodsType:s.goodsType,paymentCashAmount:s.currentPrice,paymentCouponAmount:0}),n.next=13,f.post("/api-student/userPaymentOrder/executeOrder",{hideLoading:!1,data:{paymentType:g.musicPaymentType||g.paymentType,bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:g.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:o,orderName:"乐团报名缴费",orderDesc:"乐团报名缴费"}});case 13:c=n.sent,u=c.data,console.log(u),t.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(r(r({},u.paymentConfig),{},{paymentType:u.paymentType})),orderNo:u.orderNo}}),n.next=22;break;case 19:n.prev=19,n.t0=n.catch(0),console.log(n.t0);case 22:case"end":return n.stop()}}),n,null,[[0,19]])})));return function(){return n.apply(this,arguments)}}();return s((function(){p(),x(),b()})),function(){return c(_,null,[c("div",{class:J.applyTitle},[u("报名须知")]),c("div",{class:[J.paymentTips,J.mlr13]},[c("p",null,[u("1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;")]),c("p",null,[u("2、所有参与乐团的学员免费赠送选报声部教材,教材随乐器一同发放,若您自备乐器,则需承担教材运费。")])]),c(z,{modelValue:g.check,"onUpdate:modelValue":function(e){return g.check=e},style:{paddingBottom:"20px"},onChange:function(){C()}},{default:function(){return[!g.paymentOrderDetails.includes("VIP")&&c(_,null,[c(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return v(g.vipInfo.goodsId)}},{default:function(){return[c(D,{border:!1},{icon:function(){return c(E,{name:g.vipInfo.goodsId,class:J.checkbox,ref:function(e){return g.checkboxRefs[g.vipInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return c(m,{class:J.iconChecked,name:e.checked?ee:re},null)}})},title:function(){return c("div",{class:J.section},[c(q,{class:J.img,src:g.vipInfo.goodsUrl,onClick:function(e){e.stopPropagation(),g.memberBaoStatus=!0}},null),c("div",{class:J.sectionContent},[c("h2",{onClick:function(e){e.stopPropagation(),g.memberBaoStatus=!0}},[g.vipInfo.goodsName]),c(j,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[u("6个月")]}}),c("p",{class:[J.model,"van-multi-ellipsis--l2"]},[g.vipInfo.description])])])}}),c(D,null,{title:function(){return c("div",{class:J.extra},[c("div",{class:J.sectionPrice},[c("p",{class:J.price},[u("团购价:"),c("span",{class:J.numFont},[c("span",{class:J.numPrefix},[u("¥")]),h(g.vipInfo.currentPrice)])]),c("p",{class:J.originPrice},[u("原价:"),c("del",{class:J.numFont},[u("¥ "),h(g.vipInfo.originalPrice)])])])])}})]}})]),!g.paymentOrderDetails.includes("INSTRUMENTS")&&c(_,null,[c(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return v(g.goodsInfo.goodsId)}},{default:function(){return[c(D,{border:!1},{icon:function(){return c(E,{name:g.goodsInfo.goodsId,class:J.checkbox,ref:function(e){return g.checkboxRefs[g.goodsInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return c(m,{class:J.iconChecked,name:e.checked?ee:re},null)}})},title:function(){return c("div",{class:J.section},[c(q,{class:J.img,src:g.goodsInfo.goodsUrl,onClick:function(e){e.stopPropagation(),g.selectGoodsId=g.goodsInfo.goodsId,g.currentPrice=g.goodsInfo.currentPrice,g.selectGoodsInfo={showFree:!0,originalPrice:g.repaireInfo.originalPrice},g.goodsStatus=!0}},null),c("div",{class:J.sectionContent},[c("h2",{onClick:function(e){e.stopPropagation(),g.selectGoodsId=g.goodsInfo.goodsId,g.currentPrice=g.goodsInfo.currentPrice,g.goodsStatus=!0}},[g.goodsInfo.goodsName]),c(j,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[g.goodsInfo.brandName]}}),c("p",{class:[J.model,"van-multi-ellipsis--l2"]},[g.goodsInfo.description])])])}}),c(D,{border:!1},{title:function(){return c("div",{class:J.extra},[c("div",{class:J.sectionPrice},[c("p",{class:J.price},[u("团购价:"),c("span",{class:J.numFont},[c("span",{class:J.numPrefix},[u("¥ ")]),h(g.goodsInfo.currentPrice)])]),c("p",{class:J.originPrice},[u("原价:"),c("del",{class:J.numFont},[u("¥ "),h(g.goodsInfo.originalPrice)])])])])}})]}})]),!g.paymentOrderDetails.includes("TEXTBOOK")&&c(_,null,[c(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){}},{default:function(){return[c(D,{border:!1},{icon:function(){return c(E,{name:g.textBookInfo.goodsId,disabled:!0,class:J.checkbox,ref:function(e){return g.checkboxRefs[g.textBookInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return c(m,{class:J.iconChecked,name:e.checked?ee:re},null)}})},title:function(){return c("div",{class:J.section},[c(q,{class:J.img,src:g.textBookInfo.goodsUrl,onClick:function(e){e.stopPropagation(),g.selectGoodsId=g.textBookInfo.goodsId,g.currentPrice=g.textBookInfo.currentPrice,g.selectGoodsInfo={},g.goodsStatus=!0}},null),c("div",{class:J.sectionContent},[c("h2",{onClick:function(e){e.stopPropagation(),g.selectGoodsId=g.textBookInfo.goodsId,g.currentPrice=g.textBookInfo.currentPrice,g.selectGoodsInfo={},g.goodsStatus=!0}},[g.textBookInfo.goodsName]),c(j,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[g.textBookInfo.brandName]}}),c("p",{class:[J.model,"van-multi-ellipsis--l2"]},[g.textBookInfo.description])])])}}),c(D,null,{title:function(){return c("div",{class:J.extra},[c("div",{class:J.sectionPrice},[c("p",{class:J.price},[u("团购价:"),c("span",{class:[g.textBookInfo.currentPrice>0?J.numFont:J.free]},[g.textBookInfo.currentPrice>0?c(_,null,[c("span",{class:J.numPrefix},[u("¥ ")]),h(g.textBookInfo.currentPrice)]):"免费"])]),c("p",{class:J.originPrice},[u("原价:"),c("del",{class:J.numFont},[u("¥ "),h(g.textBookInfo.originalPrice)])])])])}})]}})])]}}),c(G,{position:"bottom",background:"white"},{default:function(){return[c("div",{class:J.paymentContainer},[c("div",{class:J.payemntPrice},[c("p",{class:J.needPrice},[u("支付金额:"),c("span",{class:J.numFont},[c("span",null,[u("¥ ")]),c("i",{style:"font-style: normal",id:"needPrice"},null)])]),c("p",{class:J.allPrice},[c("del",{class:J.numFont},[u("总原价:¥ "),h(g.orderInfo.originalPrice)])])]),c("div",{class:J.paymentBtn},[c(d,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,onClick:P},{default:function(){return[u("立即购买")]}})])])]}}),c(B,{modelValue:g.memberBaoStatus,"onUpdate:modelValue":function(e){return g.memberBaoStatus=e},position:"right"},{default:function(){return[c(O,null,null)]}}),c(B,{modelValue:g.goodsStatus,"onUpdate:modelValue":function(e){return g.goodsStatus=e},position:"right",destroy:!0},{default:function(){return[g.goodsStatus&&c(V,{id:g.selectGoodsId,groupPrice:g.currentPrice,goodsInfo:g.selectGoodsInfo},null)]}}),c(U,{title:"提示",show:g.dialogStatus,"onUpdate:show":function(e){return g.dialogStatus=e},message:g.dialogMessage,confirmButtonText:"继续支付",cancelButtonText:"取消订单",showCancelButton:!0,onConfirm:function(){var e=g.dialogConfig.paymentConfig;t.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(e.paymentConfig),orderNo:e.orderNo}})},onCancel:(e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.post("/api-student/userPaymentOrder/cancelPayment/"+g.dialogConfig.orderNo);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),function(){return e.apply(this,arguments)})},null)]);var e}}});var ne=t({name:"order",emits:["next"],setup:function(){var e=i(),t=n(),l=a({isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},resionList:[],refundStatus:!1,resion:null,refundSelect:{},checked:null}),d=function(){var e=o(regeneratorRuntime.mark((function e(){var n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!l.isClick){e.next=3;break}return e.abrupt("return");case 3:return l.isClick=!0,e.next=6,f.post("/api-student/userPaymentOrder/page",{data:r(r({},l.params),{},{bizId:t.query.id,goodsQuery:!0})});case 6:if(n=e.sent,l.listState.loading=!1,o=n.data||{},!(l.list.length>0&&1===o.current)){e.next=11;break}return e.abrupt("return");case 11:(i=o.rows||[]).goodsInfos&&i.goodsInfos.forEach((function(e){var r=e.goodsUrl?e.goodsUrl.split(",")[0]:"";e.goodsUrl=r})),l.list=l.list.concat(i),l.listState.finished=o.current>=o.pages,l.params.page=o.current+1,l.listState.dataShow=l.list.length>0,l.isClick=!1,e.next=25;break;case 20:e.prev=20,e.t0=e.catch(0),l.listState.dataShow=!1,l.listState.finished=!0,l.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}();return s((function(){d()})),function(){var r,t;return c("div",{style:{paddingTop:"20px"}},[l.listState.dataShow?c(Y,{finished:l.listState.finished,finishedText:" ",class:[J.liveList],onLoad:d,immediateCheck:!1},(t=r=l.list.map((function(r){return c(S,{inset:!0,class:J.orderCellGroup,onClick:function(){return function(r){e.push({path:"payment-result",query:{orderNo:r.orderNo,refund:"refund"}})}(r)}},{default:function(){return[c(D,{title:r.createTime,titleClass:J.payTime,value:L[r.status],valueClass:"WAIT_PAY"===r.status?J.payStatus:"PAID"===r.status?J.paySuccess:""},null),c(D,{border:!1,class:J.imgGroup,center:!0},{title:function(){return c("div",{class:J.orderPriceInfo},[c(M,{border:!1,columnNum:3},{default:function(){return[r.goodsInfos&&r.goodsInfos.map((function(e,r){return r<3&&c(K,null,{default:function(){return[c(q,{class:J.img,src:e.goodsUrl},null)]}})}))]}}),c("div",{class:J.orderPriceNum},[c("div",{class:J.opNums},[c("span",null,[u("¥ ")]),h(r.currentPrice)]),c("div",{class:J.opBuyLength},[u("共"),r.goodsInfos&&r.goodsInfos.length||0,u("件")])])])}})]}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!x(t)?r:{default:function(){return[r]}})):c(b,{btnStatus:!1,tips:"暂无订单"},null)])}}});e("default",t({name:"pre-apply",setup:function(){var e=n(),t=i(),s=a({tabValue:"apply",heightV:235,registerInfo:{},purchase:!1,register:!0,code:"",dialogStatus:!1,dialogMessage:"",testIsWeixin:!1}),l=v(!1),d=v(["1656572729093021697","1656572205262200834","1656488025144713217"]);console.log("提示乐团报名失败",e.query.id,d.value.indexOf(e.query.id)),e.query.id&&-1!=d.value.indexOf(e.query.id)&&(console.log("提示乐团报名失败"),l.value=!0);var p=function(){var e=o(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("payment"!==r){e.next=3;break}return e.next=3,_();case 3:y((function(){s.tabValue=r,window.scrollTo(0,0)}));case 4:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}(),_=function(){var r=o(regeneratorRuntime.mark((function r(){var t,n,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,f.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 3:if(t=r.sent,n=t.data,s.registerInfo=n||{},"OUTOF_ORCHESTRA"===n.registerStatus?y((function(){s.tabValue="apply"})):(s.register=n.register,n.register&&y((function(){s.tabValue="payment"})),n.purchase&&(s.purchase=n.purchase,y((function(){s.tabValue="order"})))),"REGISTER"===(o=n.status)||"DOING"===o||"DONE"===o){r.next=12;break}return s.dialogMessage="乐团建设中,请稍等",s.dialogStatus=!0,r.abrupt("return");case 12:if(!(n.registerOrchestra>=1)){r.next=16;break}return s.dialogMessage="您已在其它乐团",s.dialogStatus=!0,r.abrupt("return");case 16:r.next=20;break;case 18:r.prev=18,r.t0=r.catch(0);case 20:case"end":return r.stop()}}),r,null,[[0,18]])})));return function(){return r.apply(this,arguments)}}(),m=function(){var r=o(regeneratorRuntime.mark((function r(t){var n,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("apply"!==t){r.next=11;break}return r.prev=1,r.next=4,f.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 4:n=r.sent,o=n.data,s.registerInfo=o||{},r.next=11;break;case 9:r.prev=9,r.t0=r.catch(1);case 11:window.scrollTo(0,0);case 12:case"end":return r.stop()}}),r,null,[[1,9]])})));return function(e){return r.apply(this,arguments)}}(),h=function(){var e=o(regeneratorRuntime.mark((function e(){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-student/open/paramConfig/wechatAppId");case 3:r=e.sent,(t=r.data)&&P(t),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();if(s.testIsWeixin)_();else if(C().weixin){var b=I();b?(s.code=b,_()):h()}else{k();var x=r({returnUrl:e.path},e.query);t.replace({path:"/loginMusic",query:x})}return function(){return c("div",{class:J.preApply},[c("div",{class:J.banner},[c("p",{class:J.orchestraName},[s.registerInfo.orchestraName])]),c(H,{position:"top"},{default:function(){return[c(X,{lineWidth:20,lineHeight:4,active:s.tabValue,"onUpdate:active":function(e){return s.tabValue=e},onChange:function(e){return m(e)}},{default:function(){return[c(Z,{title:"报名信息",name:"apply",disabled:s.purchase},null),c(Z,{title:"缴费信息",name:"payment",disabled:s.purchase||!s.register},null),c(Z,{title:"我的订单",name:"order",disabled:!s.register},null)]}})]}}),"apply"===s.tabValue&&c($,{onNext:p,code:s.code,registerInfo:s.registerInfo,schoolSystem:s.registerInfo.schoolSystem},null),"payment"===s.tabValue&&c(te,{onNext:p},null),"order"===s.tabValue&&c(ne,{onNext:p},null),c(U,{title:"提示",show:s.dialogStatus,"onUpdate:show":function(e){return s.dialogStatus=e},message:s.dialogMessage,confirmButtonText:"确定",onConfirm:function(){k();var n=r({returnUrl:e.path},e.query);t.replace({path:"/loginMusic",query:n})}},null),c(g,{show:l.value,"onUpdate:show":function(e){return l.value=e},round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:J.wxPopupDialog},{default:function(){return[c("div",{class:J.popupContainer},[c("p",{class:J.title1},[u("温馨提示")]),c("p",{class:J.popupTips},[u("尊敬的用户,为了进一步提升服务质量 ,"),c("br",null,null),u("系统需临时升级,完成后将以短信的形式通知, 带来的不便敬请谅解,感谢您的支持!")])])]}})])}}}))}}}))}();