1 |
- !function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(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 n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(t,n,r){return(n=function(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===e(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(j){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),l=new S(r||[]);return a(i,"_invoke",{value:P(e,n,l)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=f;var p={};function h(){}function m(){}function g(){}var _={};s(_,l,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==n&&r.call(y,l)&&(_=y);var b=g.prototype=h.prototype=Object.create(_);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,n){function o(a,i,l,c){var u=d(t[a],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==e(f)&&r.call(f,"__await")?n.resolve(f.__await).then((function(e){o("next",e,l,c)}),(function(e){o("throw",e,l,c)})):n.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return o("throw",e,l,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,t){function r(){return new n((function(n,r){o(e,t,n,r)}))}return i=i?i.then(r,r):r()}})}function P(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return L()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=E(i,n);if(l){if(l===p)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function E(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function O(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return m.prototype=g,a(b,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:m,configurable:!0}),m.displayName=s(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},t.awrap=function(e){return{__await:e}},w(x.prototype),s(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new x(f(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(b),s(b,u,"Generator"),s(b,l,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}function a(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(u){return void n(u)}l.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function l(e){a(i,r,o,l,c,"next",e)}function c(e){a(i,r,o,l,c,"throw",e)}l(void 0)}))}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(s){u=!0,o=s}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(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 c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(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}System.register(["./index-legacy-c76f60e8.js","./index-legacy-e40082f7.js","./index-legacy-9127307b.js","./index-legacy-2c378f17.js","./index-legacy-0d9f40d1.js","./index-legacy-1585a5fa.js"],(function(e,t){"use strict";var r,a,c,u,s,f,d,p,h,m,g,_,v,y,b,w,x,P,E,A,C,S,O,L,j,F,k;return{setters:[function(e){r=e.c,a=e.a6,c=e.ab,u=e.b,s=e.ae,f=e.d,d=e.r,p=e.e,h=e.w,m=e.X,g=e.a,_=e.h,v=e.k,y=e.D,b=e.U,w=e.x,x=e.y,P=e.A,E=e.F,A=e.C,C=e.V,S=e.E},function(e){O=e.P,L=e.p},function(e){j=e.F},function(e){F=e.C},function(e){k=e.F},null],execute:function(){var W=document.createElement("style");W.textContent="._container_1484w_1{min-height:100vh;background-color:#005cba;background-image:url("+new URL("icon_bg-7f4f95b6.png",t.meta.url).href+");background-repeat:no-repeat;background-size:100%;padding-top:50Px}._container_1484w_1 ._titleIcon_1484w_9{display:block;max-width:100%;height:26Px;margin:.21333rem auto}._title_1484w_9{font-size:.8rem;font-family:AlimamaShuHeiTi-Bold,AlimamaShuHeiTi;font-weight:700;color:#021f67;line-height:.96rem;padding:.32rem .42667rem;text-align:center}._tagWrap_1484w_24{display:flex;justify-content:center}._tagWrap_1484w_24 ._tag_1484w_24{font-size:.42667rem;font-family:Alibaba-PuHuiTi-M,Alibaba-PuHuiTi;font-weight:400;color:#fff;line-height:.58667rem;background:linear-gradient(90deg,#02BAFF 0%,#007AFE 100%);border-radius:.21333rem;margin:0 auto;display:flex;align-items:center;padding:.10667rem .16rem}._tagWrap_1484w_24 ._tag_1484w_24 span{font-size:28Px;color:#c5eefd}._contentWrap_1484w_45{padding-top:5.54667rem}._contentWrap_1484w_45 ._content_1484w_45{background:rgba(255,255,255,.5);border-radius:20Px 20Px 0 0;border:.05333rem solid #FFFFFF;border-bottom:none;padding:.32rem;padding-bottom:50Px}._contentWrap_1484w_45 ._icon_1484w_56{display:block;max-width:100%;height:26Px;margin:.21333rem auto}._contentWrap_1484w_45 ._group_1484w_62{border-radius:18Px;overflow:hidden;margin-bottom:12Px}._contentWrap_1484w_45 ._group_1484w_62 .van-field__control{justify-content:flex-end}._contentWrap_1484w_45 ._group_1484w_62 .van-field__label{font-size:16Px;color:#666}._contentWrap_1484w_45 ._group_1484w_62 .van-field__error-message{text-align:right}._contentWrap_1484w_45 ._radio_1484w_77{padding:.10667rem .26667rem;background:#F5F6FA;border:none;font-size:14Px;line-height:.58667rem;color:#626264;font-weight:400;border-radius:.16rem;margin:0 .16rem}._tips_1484w_88{font-size:.34667rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#f64650;line-height:.48rem;background:#FFEBEB;border-radius:8Px;padding:8Px}._submit_1484w_98{margin-top:18Px;background-color:transparent;height:50Px;padding:0;border:none}._submit_1484w_98:before{display:none}._submitIcon_1484w_108{display:block;max-width:100%;max-height:50Px}._successWrap_1484w_113{position:relative;max-width:76vw;display:flex;flex-direction:column;align-items:center}._successWrap_1484w_113 ._p1_1484w_120{position:absolute;max-width:94vw;transform:translate(12Px,-84Px)}._successWrap_1484w_113 ._p2_1484w_125{max-width:100%;position:relative;z-index:1}._successWrap_1484w_113 ._btnWrap_1484w_130{position:relative;top:-2Px;display:flex;flex-direction:column;align-items:center;background-color:#fff;width:100%;border-radius:0 0 16Px 16Px;padding:0 0 20Px}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btnTitle_1484w_141{font-size:17Px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#021f67;line-height:24Px;padding:15Px 0;text-align:center}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btnDes_1484w_150{font-size:15Px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#777;line-height:21Px;text-align:center;padding-bottom:20Px}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btn_1484w_130{width:172Px;height:40Px;font-size:16Px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#eef8fe;line-height:22Px;background:linear-gradient(135deg,#00B9FF 0%,#007AFF 100%);margin:0 auto}\n",document.head.appendChild(W);var U="000000",I=["title","cancel","confirm","toolbar","columns-top","columns-bottom"],N=["title","loading","readonly","optionHeight","swipeDuration","visibleOptionNum","cancelButtonText","confirmButtonText"],R=function(){return{text:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:U,children:arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0}};function T(e){var t=e.areaList,n=e.columnsNum,r=e.columnsPlaceholder,o=t.city_list,a=void 0===o?{}:o,i=t.county_list,l=void 0===i?{}:i,c=t.province_list,u=void 0===c?{}:c,s=+n>1,f=+n>2,d=new Map;Object.keys(u).forEach((function(e){d.set(e.slice(0,2),R(u[e],e,function(){if(s)return r.length?[R(r[0],U,f?[]:void 0)]:[]}()))}));var p=new Map;if(s){Object.keys(a).forEach((function(e){var t=R(a[e],e,function(){if(f)return r.length?[R(r[1])]:[]}());p.set(e.slice(0,4),t);var n=d.get(e.slice(0,2));n&&n.children.push(t)}))}f&&Object.keys(l).forEach((function(e){var t=p.get(e.slice(0,4));t&&t.children.push(R(l[e],e))}));var h=Array.from(d.values());if(r.length){var m=f?[R(r[2])]:void 0,g=s?[R(r[1],U,m)]:void 0;h.unshift(R(r[0],U,g))}return h}var V=l(r("area"),2),z=V[0],M=V[1],Y=a({},c(L,N),{modelValue:String,columnsNum:u(3),columnsPlaceholder:s(),areaList:{type:Object,default:function(){return{}}}}),q=f({name:z,props:Y,emits:["change","confirm","cancel","update:modelValue"],setup:function(e,t){var n=t.emit,r=t.slots,o=d([]),a=d(),i=p((function(){return T(e)})),l=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["change"].concat(t))},u=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["cancel"].concat(t))},s=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["confirm"].concat(t))};return h(o,(function(t){var r=t.length?t[t.length-1]:"";r&&r!==e.modelValue&&n("update:modelValue",r)}),{deep:!0}),h((function(){return e.modelValue}),(function(t){t?t!==(o.value.length?o.value[o.value.length-1]:"")&&(o.value=["".concat(t.slice(0,2),"0000"),"".concat(t.slice(0,4),"00"),t].slice(0,+e.columnsNum)):o.value=[]}),{immediate:!0}),m({confirm:function(){var e;return null==(e=a.value)?void 0:e.confirm()},getSelectedOptions:function(){var e;return(null==(e=a.value)?void 0:e.getSelectedOptions())||[]}}),function(){return g(O,_({ref:a,modelValue:o.value,"onUpdate:modelValue":function(e){return o.value=e},class:M(),columns:i.value,onChange:l,onCancel:u,onConfirm:s},c(e,N)),c(r,I))}}}),G=v(q),B="_container_1484w_1",D="_titleIcon_1484w_9",H="_title_1484w_9",X="_tagWrap_1484w_24",$="_tag_1484w_24",J="_contentWrap_1484w_45",K="_content_1484w_45",Q="_icon_1484w_56",Z="_group_1484w_62",ee="_radio_1484w_77",te="_tips_1484w_88",ne="_submit_1484w_98",re="_submitIcon_1484w_108",oe="_successWrap_1484w_113",ae="_p1_1484w_120",ie="_p2_1484w_125",le="_btnWrap_1484w_130",ce="_btnTitle_1484w_141",ue="_btnDes_1484w_150",se="_btn_1484w_130",fe=""+new URL("icon_school-246e55f8.png",t.meta.url).href,de=""+new URL("icon_person-e885956c.png",t.meta.url).href,pe=""+new URL("icon_submit-1b1e3ed1.png",t.meta.url).href,he=""+new URL("logo-f2c1f146.png",t.meta.url).href,me=""+new URL("icon_p1-49eb8f11.png",t.meta.url).href,ge=""+new URL("icon_p2-ecea3fa8.png",t.meta.url).href;e("default",f({name:"SchoolRegister",setup:function(){var e=b(),t={nature:[{label:"公立",value:"PUBLIC"},{label:"私立",value:"PRIVATE"}],types:[{label:"小学",value:"PRIMARY"},{label:"初中",value:"JUNIOR"},{label:"小初一体",value:"PRIMARY_JUNIOR"}],grades:[{label:"六年制",value:"SIX_YEAR_SYSTEM"},{label:"五年制",value:"FIVE_YEAR_SYSTEM"}],genaral:[{label:"男",value:"1"},{label:"女",value:"0"}]},r=w({name:"",regionCode:"",cityCode:"",provinceCode:"",schoolNature:"PUBLIC",schoolType:"PRIMARY",gradeYear:"SIX_YEAR_SYSTEM",emergencyContact:"",emergencyContactPhone:"",educationalAdministrationUsername:"",educationalAdministrationPhone:"",genaral:"1",smsCode:"",buyGoods:!0,tenantId:e.query.id||""}),a=w({cityName:"",showArea:!1,success:!1,areaList:{},sendMsg:"发送验证码"}),l=function(){y.get("/edu-app/sysArea/queryAllProvince").then((function(e){var t,n,r,o;200===(null==e?void 0:e.code)&&(a.areaList=(t=e.data,n={},r={},o={},t.forEach((function(e){n[e.code]=e.name})),t.forEach((function(e){var t;null===(t=e.areas)||void 0===t||t.forEach((function(e){r[e.code]=e.name}))})),t.forEach((function(e){var t;null===(t=e.areas)||void 0===t||t.forEach((function(e){var t;null===(t=e.areas)||void 0===t||t.forEach((function(e){o[e.code]=e.name}))}))})),{province_list:n,city_list:r,county_list:o}),console.log("🚀 ~ data.areaList:",a.areaList))}))};x((function(){l()}));var c=function(){var e=i(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t={clientId:"cooleshow-student",type:"REGISTER",mobile:r.educationalAdministrationPhone},y.post("/edu-app/open/sendSms",{data:t,requestType:"form"});case 3:u(),S("验证码已发送"),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),a.sendMsg="重新发送";case 10:case"end":return e.stop()}var t}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),u=function(){a.sendMsg="30s";var e=30;setInterval((function(){e--,a.sendMsg="".concat(e,"s后重新发送"),e<=0&&(a.sendMsg="重新发送")}),1e3)},s=function(){var e=i(o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o=n({},r),y.post("/edu-app/school/add",{data:o});case 2:200===(null==(t=e.sent)?void 0:t.code)&&(S("提交成功"),a.success=!0);case 4:case"end":return e.stop()}var o}),e)})));return function(){return e.apply(this,arguments)}}();return function(){return g("div",{class:B},[g("img",{class:D,src:he},null),g("div",{class:H},[e.query.name]),g("div",{class:X},[g("div",{class:$},[g("span",null,[P("·")]),P(" 课堂乐器学校登记 "),g("span",null,[P("·")])])]),g("div",{class:J},[g("div",{class:K},[g(j,{onSubmit:function(){return s()}},{default:function(){return[g(F,{class:Z},{default:function(){return[g("img",{src:fe,class:Q},null),g(k,{border:!0,name:"name",label:"学校全称",rows:"1",autosize:!0,type:"textarea",placeholder:"请输入学校全称",inputAlign:"right",modelValue:r.name,"onUpdate:modelValue":function(e){return r.name=e},rules:[{required:!0,message:"请输入学校全称"}]},null),g(k,{isLink:!0,border:!0,label:"所属城市",placeholder:"请选择",readonly:!0,inputAlign:"right",modelValue:a.cityName,"onUpdate:modelValue":function(e){return a.cityName=e},onClick:function(){return a.showArea=!0},rules:[{required:!0,message:"请选择"}]},null),g(k,{center:!0,border:!0,name:"schoolNature",label:"办学性质"},{input:function(){return g(E,null,[t.nature.map((function(e){return g(A,{class:ee,size:"small",color:e.value===r.schoolNature?"#198CFE":"",onClick:function(){return r.schoolNature=e.value}},{default:function(){return[e.label]}})}))])}}),g(k,{center:!0,border:!0,label:"学校类型",labelWidth:"70px"},{input:function(){return g(E,null,[t.types.map((function(e){return g(A,{class:ee,size:"small",color:e.value===r.schoolType?"#198CFE":"",onClick:function(){return r.schoolType=e.value}},{default:function(){return[e.label]}})}))])}}),g(k,{center:!0,border:!0,label:"学年制"},{input:function(){return g(E,null,[t.grades.map((function(e){return g(A,{class:ee,size:"small",color:e.value===r.gradeYear?"#198CFE":"",onClick:function(){return r.gradeYear=e.value}},{default:function(){return[e.label]}})}))])}})]}}),g(F,{class:Z},{default:function(){return[g("img",{src:de,class:Q},null),g(k,{border:!0,name:"emergencyContact",label:"校长姓名",placeholder:"请输入校长姓名",inputAlign:"right",maxlength:6,modelValue:r.emergencyContact,"onUpdate:modelValue":function(e){return r.emergencyContact=e},rules:[{required:!0,message:"请输入校长姓名"}]},null),g(k,{border:!0,name:"emergencyContactPhone",label:"校长联系方式",maxlength:11,placeholder:"请输入校长手机号码",inputAlign:"right",modelValue:r.emergencyContactPhone,"onUpdate:modelValue":function(e){return r.emergencyContactPhone=e},rules:[{required:!0,message:"请输入校长手机号码"},{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号码"}]},null),g(k,{border:!0,name:"educationalAdministrationUsername",label:"负责人姓名",placeholder:"请输入负责人姓名",inputAlign:"right",maxlength:6,modelValue:r.educationalAdministrationUsername,"onUpdate:modelValue":function(e){return r.educationalAdministrationUsername=e},rules:[{required:!0,message:"请输入负责人姓名"}]},null),g(k,{border:!0,name:"educationalAdministrationPhone",label:"负责人联系方式",labelWidth:"40%",inputAlign:"right",placeholder:"请输入负责人手机号码",maxlength:11,modelValue:r.educationalAdministrationPhone,"onUpdate:modelValue":function(e){return r.educationalAdministrationPhone=e},rules:[{required:!0,message:"请输入负责人手机号码"},{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号码"}]},null),g(k,{center:!0,border:!0,label:"性别"},{input:function(){return g(E,null,[t.genaral.map((function(e){return g(A,{class:ee,size:"small",color:e.value===r.genaral?"#198CFE":"",onClick:function(){return r.genaral=e.value}},{default:function(){return[e.label]}})}))])}}),g(k,{border:!0,center:!0,name:"smsCode",label:"验证码",placeholder:"请输入验证码",modelValue:r.smsCode,"onUpdate:modelValue":function(e){return r.smsCode=e},maxlength:6,rules:[{required:!0,message:"请输入验证码"}]},{button:function(){return g(A,{size:"small",type:"primary",color:"#198CFE",onClick:function(){return c()}},{default:function(){return[a.sendMsg]}})}}),g("div",{style:{padding:"10px 16px"}},[g("div",{class:te},[P("负责人即为该学校酷乐秀课堂乐器老师端管理员,手机号即为酷乐秀课堂乐器老师端账号,默认密码为:ktyq+手机号后四位")])])]}}),g(A,{class:ne,round:!0,block:!0,"native-type":"submit"},{default:function(){return[g("img",{class:re,src:pe},null)]}})]}}),g(C,{show:a.showArea,"onUpdate:show":function(e){return a.showArea=e},position:"bottom"},{default:function(){return[g(G,{areaList:a.areaList,onCancel:function(){return a.showArea=!1},onConfirm:function(e){var t=e.selectedOptions;r.provinceCode=t[0].code,r.cityCode=t[1].code,r.regionCode=t[2].code,a.cityName=t.map((function(e){return e.text})).join("-"),a.showArea=!1}},null)]}}),g(C,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:a.success,"onUpdate:show":function(e){return a.success=e}},{default:function(){return[g("div",{class:oe},[g("img",{class:ae,src:me},null),g("img",{class:ie,src:ge},null),g("div",{class:le},[g("div",{class:ce},[P("您已成功登记")]),g("div",{class:ue},[P("欢迎您使用酷乐秀课堂乐器~")]),g(A,{class:se,type:"primary",round:!0},{default:function(){return[P("我知道了")]}})])])]}})])])])}}}))}}}))}();
|