| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270 |
- !(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 d(e, t, n, r) {
- var o = t && t.prototype instanceof h ? t : h,
- i = Object.create(o.prototype),
- l = new C(r || []);
- return a(i, '_invoke', { value: P(e, n, l) }), i;
- }
- function f(e, t, n) {
- try {
- return { type: 'normal', arg: e.call(t, n) };
- } catch (j) {
- return { type: 'throw', arg: j };
- }
- }
- t.wrap = d;
- var p = {};
- function h() {}
- function g() {}
- function m() {}
- var _ = {};
- s(_, l, function () {
- return this;
- });
- var v = Object.getPrototypeOf,
- y = v && v(v(S([])));
- y && y !== n && r.call(y, l) && (_ = y);
- var b = (m.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 = f(t[a], t, i);
- if ('throw' !== u.type) {
- var s = u.arg,
- d = s.value;
- return d && 'object' == e(d) && r.call(d, '__await')
- ? n.resolve(d.__await).then(
- function (e) {
- o('next', e, l, c);
- },
- function (e) {
- o('throw', e, l, c);
- }
- )
- : n.resolve(d).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 F();
- }
- 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 = f(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 = f(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 L(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 A(e) {
- var t = e.completion || {};
- (t.type = 'normal'), delete t.arg, (e.completion = t);
- }
- function C(e) {
- (this.tryEntries = [{ tryLoc: 'root' }]),
- e.forEach(L, this),
- this.reset(!0);
- }
- function S(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: F };
- }
- function F() {
- return { value: void 0, done: !0 };
- }
- return (
- (g.prototype = m),
- a(b, 'constructor', { value: m, configurable: !0 }),
- a(m, 'constructor', { value: g, configurable: !0 }),
- (g.displayName = s(m, u, 'GeneratorFunction')),
- (t.isGeneratorFunction = function (e) {
- var t = 'function' == typeof e && e.constructor;
- return (
- !!t && (t === g || 'GeneratorFunction' === (t.displayName || t.name))
- );
- }),
- (t.mark = function (e) {
- return (
- Object.setPrototypeOf
- ? Object.setPrototypeOf(e, m)
- : ((e.__proto__ = m), 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(d(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 = S),
- (C.prototype = {
- constructor: C,
- 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(A),
- !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), A(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;
- A(n);
- }
- return o;
- }
- }
- throw new Error('illegal catch attempt');
- },
- delegateYield: function (e, t, n) {
- return (
- (this.delegate = { iterator: S(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);
- });
- };
- }
- System.register(
- [
- './index-legacy-ffa013bd.js',
- './index-legacy-f98009d4.js',
- './index-legacy-530275b0.js',
- './index-legacy-7557f50e.js',
- './index-legacy-e3657f89.js',
- './index-legacy-3039d6c2.js',
- './index-legacy-e7735b65.js'
- ],
- function (e, t) {
- 'use strict';
- var r, a, l, c, u, s, d, f, p, h, g, m, _, v, y;
- return {
- setters: [
- function (e) {
- (r = e.D),
- (a = e.d),
- (l = e.U),
- (c = e.x),
- (u = e.y),
- (s = e.a),
- (d = e.A),
- (f = e.F),
- (p = e.C),
- (h = e.V),
- (g = e.E);
- },
- function (e) {
- m = e.A;
- },
- function (e) {
- _ = e.F;
- },
- function (e) {
- v = e.C;
- },
- function (e) {
- y = e.F;
- },
- null,
- null
- ],
- execute: function () {
- var b = document.createElement('style');
- (b.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(b);
- var w = '_container_1484w_1',
- x = '_titleIcon_1484w_9',
- P = '_title_1484w_9',
- E = '_tagWrap_1484w_24',
- L = '_tag_1484w_24',
- A = '_contentWrap_1484w_45',
- C = '_content_1484w_45',
- S = '_icon_1484w_56',
- F = '_group_1484w_62',
- j = '_radio_1484w_77',
- O = '_tips_1484w_88',
- k = '_submit_1484w_98',
- W = '_submitIcon_1484w_108',
- R = '_successWrap_1484w_113',
- U = '_p1_1484w_120',
- I = '_p2_1484w_125',
- T = '_btnWrap_1484w_130',
- N = '_btnTitle_1484w_141',
- z = '_btnDes_1484w_150',
- V = '_btn_1484w_130',
- Y = '' + new URL('icon_school-246e55f8.png', t.meta.url).href,
- M = '' + new URL('icon_person-e885956c.png', t.meta.url).href,
- q = '' + new URL('icon_submit-1b1e3ed1.png', t.meta.url).href,
- G = '' + new URL('logo-f2c1f146.png', t.meta.url).href,
- B = '' + new URL('icon_p1-49eb8f11.png', t.meta.url).href,
- D = '' + new URL('icon_p2-ecea3fa8.png', t.meta.url).href;
- e(
- 'default',
- a({
- name: 'SchoolRegister',
- setup: function () {
- var e = l(),
- 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' }
- ]
- },
- a = c({
- name: '',
- regionCode: '',
- cityCode: '',
- provinceCode: '',
- schoolNature: 'PUBLIC',
- schoolType: 'PRIMARY',
- gradeYear: 'SIX_YEAR_SYSTEM',
- emergencyContact: '',
- emergencyContactPhone: '',
- educationalAdministrationUsername: '',
- educationalAdministrationPhone: '',
- genaral: '1',
- code: '',
- buyGoods: !0,
- tenantId: e.query.id || '',
- sourceForm: 'TEACHER'
- }),
- b = c({
- cityName: '',
- showArea: !1,
- success: !1,
- areaList: {},
- sendMsg: '发送验证码'
- }),
- H = function () {
- r.get('/edu-app/open/sysArea/queryAllProvince').then(
- function (e) {
- var t, n, r, o;
- 200 === (null == e ? void 0 : e.code) &&
- ((b.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:', b.areaList));
- }
- );
- };
- u(function () {
- H();
- });
- var X = (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: a.educationalAdministrationPhone
- }),
- r.post('/edu-app/open/sendSms', {
- data: t,
- requestType: 'form'
- })
- );
- case 3:
- J(), g('验证码已发送'), (e.next = 10);
- break;
- case 7:
- (e.prev = 7),
- (e.t0 = e.catch(0)),
- (b.sendMsg = '重新发送');
- case 10:
- case 'end':
- return e.stop();
- }
- var t;
- },
- e,
- null,
- [[0, 7]]
- );
- })
- );
- return function () {
- return e.apply(this, arguments);
- };
- })(),
- J = function () {
- b.sendMsg = '30s';
- var e = 30;
- setInterval(function () {
- e--,
- (b.sendMsg = ''.concat(e, 's后重新发送')),
- e <= 0 && (b.sendMsg = '重新发送');
- }, 1e3);
- },
- $ = (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({}, a)),
- r.post('/edu-app/open/school/add', {
- data: o
- })
- );
- case 2:
- 200 ===
- (null == (t = e.sent) ? void 0 : t.code) &&
- (g('提交成功'), (b.success = !0));
- case 4:
- case 'end':
- return e.stop();
- }
- var o;
- }, e);
- })
- );
- return function () {
- return e.apply(this, arguments);
- };
- })();
- return function () {
- return s('div', { class: w }, [
- s('img', { class: x, src: G }, null),
- s('div', { class: P }, [e.query.name]),
- s('div', { class: E }, [
- s('div', { class: L }, [
- s('span', null, [d('·')]),
- d(' 音乐数字课堂学校登记 '),
- s('span', null, [d('·')])
- ])
- ]),
- s('div', { class: A }, [
- s('div', { class: C }, [
- s(
- _,
- {
- onSubmit: function () {
- return $();
- }
- },
- {
- default: function () {
- return [
- s(
- v,
- { class: F },
- {
- default: function () {
- return [
- s('img', { src: Y, class: S }, null),
- s(
- y,
- {
- border: !0,
- name: 'name',
- label: '学校全称',
- rows: '1',
- autosize: !0,
- type: 'textarea',
- placeholder: '请输入学校全称',
- inputAlign: 'right',
- modelValue: a.name,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.name = e);
- },
- rules: [
- {
- required: !0,
- message: '请输入学校全称'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- isLink: !0,
- border: !0,
- label: '所属城市',
- placeholder: '请选择',
- readonly: !0,
- inputAlign: 'right',
- modelValue: b.cityName,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (b.cityName = e);
- },
- onClick: function () {
- return (b.showArea = !0);
- },
- rules: [
- {
- required: !0,
- message: '请选择'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- center: !0,
- border: !0,
- name: 'schoolNature',
- label: '办学性质'
- },
- {
- input: function () {
- return s(f, null, [
- t.nature.map(function (e) {
- return s(
- p,
- {
- class: j,
- size: 'small',
- color:
- e.value ===
- a.schoolNature
- ? '#198CFE'
- : '',
- onClick: function () {
- return (a.schoolNature =
- e.value);
- }
- },
- {
- default: function () {
- return [e.label];
- }
- }
- );
- })
- ]);
- }
- }
- ),
- s(
- y,
- {
- center: !0,
- border: !0,
- label: '学校类型',
- labelWidth: '70px'
- },
- {
- input: function () {
- return s(f, null, [
- t.types.map(function (e) {
- return s(
- p,
- {
- class: j,
- size: 'small',
- color:
- e.value === a.schoolType
- ? '#198CFE'
- : '',
- onClick: function () {
- return (a.schoolType =
- e.value);
- }
- },
- {
- default: function () {
- return [e.label];
- }
- }
- );
- })
- ]);
- }
- }
- ),
- s(
- y,
- {
- center: !0,
- border: !0,
- label: '学年制'
- },
- {
- input: function () {
- return s(f, null, [
- t.grades.map(function (e) {
- return s(
- p,
- {
- class: j,
- size: 'small',
- color:
- e.value === a.gradeYear
- ? '#198CFE'
- : '',
- onClick: function () {
- return (a.gradeYear =
- e.value);
- }
- },
- {
- default: function () {
- return [e.label];
- }
- }
- );
- })
- ]);
- }
- }
- )
- ];
- }
- }
- ),
- s(
- v,
- { class: F },
- {
- default: function () {
- return [
- s('img', { src: M, class: S }, null),
- s(
- y,
- {
- border: !0,
- name: 'emergencyContact',
- label: '校长姓名',
- placeholder: '请输入校长姓名',
- inputAlign: 'right',
- maxlength: 6,
- modelValue: a.emergencyContact,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.emergencyContact = e);
- },
- rules: [
- {
- required: !0,
- message: '请输入校长姓名'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- border: !0,
- name: 'emergencyContactPhone',
- label: '校长联系方式',
- maxlength: 11,
- placeholder: '请输入校长手机号码',
- inputAlign: 'right',
- modelValue: a.emergencyContactPhone,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.emergencyContactPhone =
- e);
- },
- rules: [
- {
- required: !0,
- message: '请输入校长手机号码'
- },
- {
- pattern: /^1[3456789]\d{9}$/,
- message: '请输入正确的手机号码'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- border: !0,
- name: 'educationalAdministrationUsername',
- label: '负责人姓名',
- placeholder: '请输入负责人姓名',
- inputAlign: 'right',
- maxlength: 6,
- modelValue:
- a.educationalAdministrationUsername,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.educationalAdministrationUsername =
- e);
- },
- rules: [
- {
- required: !0,
- message: '请输入负责人姓名'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- border: !0,
- name: 'educationalAdministrationPhone',
- label: '负责人联系方式',
- labelWidth: '40%',
- inputAlign: 'right',
- placeholder: '请输入负责人手机号码',
- maxlength: 11,
- modelValue:
- a.educationalAdministrationPhone,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.educationalAdministrationPhone =
- e);
- },
- rules: [
- {
- required: !0,
- message: '请输入负责人手机号码'
- },
- {
- pattern: /^1[3456789]\d{9}$/,
- message: '请输入正确的手机号码'
- }
- ]
- },
- null
- ),
- s(
- y,
- {
- center: !0,
- border: !0,
- label: '性别'
- },
- {
- input: function () {
- return s(f, null, [
- t.genaral.map(function (e) {
- return s(
- p,
- {
- class: j,
- size: 'small',
- color:
- e.value === a.genaral
- ? '#198CFE'
- : '',
- onClick: function () {
- return (a.genaral =
- e.value);
- }
- },
- {
- default: function () {
- return [e.label];
- }
- }
- );
- })
- ]);
- }
- }
- ),
- s(
- y,
- {
- border: !0,
- center: !0,
- name: 'code',
- label: '验证码',
- placeholder: '请输入验证码',
- modelValue: a.code,
- 'onUpdate:modelValue': function (
- e
- ) {
- return (a.code = e);
- },
- maxlength: 6,
- rules: [
- {
- required: !0,
- message: '请输入验证码'
- }
- ]
- },
- {
- button: function () {
- return s(
- p,
- {
- size: 'small',
- type: 'primary',
- color: '#198CFE',
- onClick: function () {
- return X();
- }
- },
- {
- default: function () {
- return [b.sendMsg];
- }
- }
- );
- }
- }
- ),
- s(
- 'div',
- { style: { padding: '10px 16px' } },
- [
- s('div', { class: O }, [
- d(
- '负责人即为该学校酷乐秀音乐数字课堂老师端管理员,手机号即为酷乐秀音乐数字课堂老师端账号,默认密码为:ktyq+手机号后四位'
- )
- ])
- ]
- )
- ];
- }
- }
- ),
- s(
- p,
- {
- class: k,
- round: !0,
- block: !0,
- 'native-type': 'submit'
- },
- {
- default: function () {
- return [
- s('img', { class: W, src: q }, null)
- ];
- }
- }
- )
- ];
- }
- }
- ),
- s(
- h,
- {
- show: b.showArea,
- 'onUpdate:show': function (e) {
- return (b.showArea = e);
- },
- position: 'bottom'
- },
- {
- default: function () {
- return [
- s(
- m,
- {
- areaList: b.areaList,
- onCancel: function () {
- return (b.showArea = !1);
- },
- onConfirm: function (e) {
- var t = e.selectedOptions;
- (a.provinceCode = t[0].value),
- (a.cityCode = t[1].value),
- (a.regionCode = t[2].value),
- (b.cityName = t
- .map(function (e) {
- return e.text;
- })
- .join('-')),
- (b.showArea = !1);
- }
- },
- null
- )
- ];
- }
- }
- ),
- s(
- h,
- {
- class: 'popup-custom van-scale',
- transition: 'van-scale',
- closeOnClickOverlay: !1,
- show: b.success,
- 'onUpdate:show': function (e) {
- return (b.success = e);
- }
- },
- {
- default: function () {
- return [
- s('div', { class: R }, [
- s('img', { class: U, src: B }, null),
- s('img', { class: I, src: D }, null),
- s('div', { class: T }, [
- s('div', { class: N }, [d('您已成功登记')]),
- s('div', { class: z }, [
- d('欢迎您使用酷乐秀音乐数字课堂~')
- ]),
- s(
- p,
- { class: V, type: 'primary', round: !0 },
- {
- default: function () {
- return [d('我知道了')];
- }
- }
- )
- ])
- ])
- ];
- }
- }
- )
- ])
- ])
- ]);
- };
- }
- })
- );
- }
- };
- }
- );
- })();
|