index-legacy-655213d1.js 29 KB

12345
  1. <<<<<<<< HEAD:dist/assets/index-legacy-655213d1.js
  2. !function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},a=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(G){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,u=Object.create(o.prototype),a=new P(r||[]);return i(u,"_invoke",{value:O(t,n,a)}),u}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(G){return{type:"throw",arg:G}}}n.wrap=f;var v={};function h(){}function p(){}function y(){}var g={};s(g,a,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(k([])));b&&b!==r&&o.call(b,a)&&(g=b);var w=y.prototype=h.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(e,n){function r(i,u,a,l){var c=d(e[i],e,u);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):n.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,l)}))}l(c.arg)}var u;i(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return u=u?u.then(o,o):o()}})}function O(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var a=L(u,n);if(a){if(a===v)continue;return a}}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 l=d(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function L(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=d(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,i(w,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:p,configurable:!0}),p.displayName=s(y,c,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},n.awrap=function(t){return{__await:t}},x(j.prototype),s(j.prototype,l,(function(){return this})),n.AsyncIterator=j,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var u=new j(f(t,e,r,o),i);return n.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},x(w),s(w,c,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=k,P.prototype={constructor:P,reset:function(t){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(N),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return u.type="throw",u.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},n}function n(t,e,n,r,o,i,u){try{var a=t[i](u),l=a.value}catch(c){return void n(c)}a.done?e(l):Promise.resolve(l).then(r,o)}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(e,n,r){return(n=function(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}System.register(["./index-legacy-cf1f2311.js","./index-legacy-86932047.js","./index-legacy-053f4eb4.js","./api-legacy-4bd5f8c8.js","./skeletion-index-legacy-7cb9b61a.js","./index-legacy-415db1c7.js","./index-legacy-36e0cc31.js","./index-legacy-2795a384.js","./index-legacy-57654931.js","./index-legacy-0ecef74c.js","./index-legacy-6d80d03c.js","./index-legacy-d34bea54.js","./icon-student-default-legacy-1a5ed844.js","./index-legacy-cbbeef32.js","./index-legacy-6f278527.js","./index-legacy-c29cbf73.js","./use-tab-status-legacy-d02b03a3.js"],(function(t,r){"use strict";var i,u,a,l,c,s,f,d,v,h,p,y,g,m,b,w,x,j,O,L,E,N,P,k,S,G,F,C;return{setters:[function(t){i=t.d,u=t.O,a=t.i,l=t.o,c=t.g,s=t.R,f=t.B,d=t.h,v=t.F,h=t.T,p=t.N},function(t){y=t.M},function(t){g=t.M},function(t){m=t.s,b=t.M,w=t.A,x=t.a,j=t.b,O=t.c,L=t.d,E=t.e},function(t){N=t.S},function(t){P=t.M},function(t){k=t.D,S=t.a},function(t){G=t.P},function(t){F=t.L},function(t){C=t.I},null,null,null,null,null,null,null],execute:function(){var T=""+new URL("icon-tuituan-124310f7.png",r.meta.url).href,_=""+new URL("icon-zaidu-a09f5751.png",r.meta.url).href;t("default",i({name:"student-manage",setup:function(){var t=p(),r=u({page:1,rows:20,keyword:"",musicGroupId:"",statusList:"",subjectId:"",vipFlag:""}),i=u({skelet:!0,refresh:!1,loading:!1,finshed:!1,list:[],studentCount:0,quitCount:0,musicGroups:[{text:"全部乐团",value:""}],musicGroupName:"全部乐团",subjects:[{text:"全部声部",value:""}],subjectName:"全部声部",studentTypes:[{text:"全部学员",value:""},{text:"团练宝学员",value:"1"},{text:"普通学员",value:"2"}],studentTypeName:"全部学员"}),I=a(),A=a(),D=a(),M=a(),q=function(){L(o(o({},r),{},{vipFlag:"1"===r.vipFlag||"2"!==r.vipFlag&&""})).then((function(t){var e=null==t?void 0:t.data;e&&(i.studentCount=e.studentCount,i.quitCount=e.quitCount)}))},R=function(){var t,u=(t=e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i.loading=!0,E(o(o({},r),{},{vipFlag:"1"===r.vipFlag||"2"!==r.vipFlag&&""})).then((function(t){var e;i.refresh&&(i.list=[]);var n=Array.isArray(null==t||null===(e=t.data)||void 0===e?void 0:e.rows)?t.data.rows:[];i.list=i.list.concat(n),!n.length||n.length<r.rows?i.finshed=!0:i.finshed=!1,r.page++})).catch((function(){i.finshed=!0})).finally((function(){setTimeout((function(){i.loading=!1,i.refresh=!1,i.skelet=!1}),500)}));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(o,i){var u=t.apply(e,r);function a(t){n(u,o,i,a,l,"next",t)}function l(t){n(u,o,i,a,l,"throw",t)}a(void 0)}))});return function(){return u.apply(this,arguments)}}(),U=function(){r.page=1,i.refresh=!0,q(),R()};return l((function(){j().then((function(t){var e=Array.isArray(null==t?void 0:t.data)?t.data:[];e.length&&(e=[{name:"全部乐团",id:""}].concat(e),i.musicGroups=e.map((function(t){return{text:t.name,value:t.id}})))})),O().then((function(t){var e=Array.isArray(null==t?void 0:t.data)?t.data:[];e.length&&(e=[{name:"全部声部",id:""}].concat(e),i.subjects=e.map((function(t){return{text:t.name,value:t.id}})))})),q()})),function(){return c("div",{class:m.container},[c(g,{position:"top"},{default:function(){return[c(s,null,null),c(y,{disabled:i.loading,placeholder:"请输入学员姓名",onSearch:function(t){r.keyword=t,U()}},null),c(k,null,{default:function(){return[c(S,{ref:I,title:i.musicGroupName},{default:function(){return[c(G,{ref:A,showToolbar:!1,visibleOptionNum:5,columns:i.musicGroups},null),c("div",{class:["btnGroupPopup","van-hairline--top"]},[c(f,{round:!0,onClick:function(){var t;null===(t=I.value)||void 0===t||t.toggle(!1)}},{default:function(){return[d("取消")]}}),c(f,{disabled:!i.musicGroups.length,type:"primary",round:!0,onClick:function(){var t,e,n,o,u,a;null===(t=A.value)||void 0===t||null===(e=t.confirm)||void 0===e||e.call(t);var l=null===(n=A.value)||void 0===n||null===(o=n.getSelectedOptions)||void 0===o||null===(u=o.call(n))||void 0===u?void 0:u[0];l&&(r.musicGroupId=l.value,i.musicGroupName=l.text,U()),null===(a=I.value)||void 0===a||a.toggle(!1)}},{default:function(){return[d("确定")]}})])]}}),c(S,{ref:D,title:i.subjectName},{default:function(){return[c(G,{ref:M,showToolbar:!1,visibleOptionNum:5,columns:i.subjects},null),c("div",{class:["btnGroupPopup","van-hairline--top"]},[c(f,{round:!0,onClick:function(){var t;null===(t=D.value)||void 0===t||t.toggle(!1)}},{default:function(){return[d("取消")]}}),c(f,{disabled:!i.subjects.length,type:"primary",round:!0,onClick:function(){var t,e,n,o,u,a;null===(t=M.value)||void 0===t||null===(e=t.confirm)||void 0===e||e.call(t);var l=null===(n=M.value)||void 0===n||null===(o=n.getSelectedOptions)||void 0===o||null===(u=o.call(n))||void 0===u?void 0:u[0];console.log(l),r.subjectId=l.value,i.subjectName=l.text,U(),null===(a=D.value)||void 0===a||a.toggle(!1)}},{default:function(){return[d("确定")]}})])]}}),c(S,{class:m.dropdownItem,title:i.studentTypeName,modelValue:r.vipFlag,"onUpdate:modelValue":function(t){return r.vipFlag=t},options:i.studentTypes,onChange:function(t){var e;i.studentTypeName=(null===(e=i.studentTypes.find((function(e){return e.value==t})))||void 0===e?void 0:e.text)||"",U()}},null)]}})]}}),c(P,{modelValue:i.refresh,"onUpdate:modelValue":function(t){return i.refresh=t},onRefresh:function(){r.page=1,i.finshed=!1,R()}},{default:function(){return[c(F,{class:m.list,loading:i.loading,finished:i.finshed,onLoad:function(){i.loading=!0,console.log("触底了"),R()}},{default:function(){return[c(N,{loading:i.skelet},{default:function(){return[c(v,null,[c("div",{class:m.statistics},[c("div",{class:m.statisticsItem},[c(C,{class:m.iconstatistics,src:_},null),c("div",{class:m.statisticsDes},[c("div",{style:{color:"#333"}},[c("span",{class:m.statisticsNum,style:{color:"#333"}},[i.studentCount]),d("人")]),c("div",null,[d("在读学员")])])]),c("div",{class:m.statisticsItem,onClick:function(){t.push({path:"/student-manage-withdraw"})}},[c(C,{class:m.iconstatistics,src:T},null),c("div",{class:m.statisticsDes},[c("div",{style:{color:"#333"}},[c("span",{class:m.statisticsNum,style:{color:"#FC1A19"}},[i.quitCount]),d("人")]),c("div",null,[d("退团人数")])])])]),i.list.map((function(t){return c("div",{class:m.student,key:t.studentId},[c(b,{item:t},null),c(w,{item:t},null),c(x,{item:t},null)])})),!i.loading&&!i.list.length&&c(h,{description:"暂无数据",style:{minHeight:"100%"}},null)])]}})]}})]}})])}}}))}}}))}();
  3. ========
  4. !function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},a=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",c=u.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(G){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,u=Object.create(o.prototype),a=new P(r||[]);return i(u,"_invoke",{value:O(t,n,a)}),u}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(G){return{type:"throw",arg:G}}}n.wrap=f;var v={};function h(){}function p(){}function y(){}var g={};s(g,a,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(k([])));b&&b!==r&&o.call(b,a)&&(g=b);var w=y.prototype=h.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(e,n){function r(i,u,a,l){var c=d(e[i],e,u);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):n.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,l)}))}l(c.arg)}var u;i(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return u=u?u.then(o,o):o()}})}function O(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var a=L(u,n);if(a){if(a===v)continue;return a}}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 l=d(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function L(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=d(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y,i(w,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:p,configurable:!0}),p.displayName=s(y,c,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},n.awrap=function(t){return{__await:t}},x(j.prototype),s(j.prototype,l,(function(){return this})),n.AsyncIterator=j,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var u=new j(f(t,e,r,o),i);return n.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},x(w),s(w,c,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=k,P.prototype={constructor:P,reset:function(t){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(N),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return u.type="throw",u.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},n}function n(t,e,n,r,o,i,u){try{var a=t[i](u),l=a.value}catch(c){return void n(c)}a.done?e(l):Promise.resolve(l).then(r,o)}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(e,n,r){return(n=function(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}System.register(["./index-legacy-3a68cd4d.js","./index-legacy-230418a3.js","./index-legacy-c75217bf.js","./api-legacy-6ac84b9f.js","./skeletion-index-legacy-d9f21040.js","./index-legacy-1b7de902.js","./index-legacy-52ffa8ae.js","./index-legacy-f255bf43.js","./index-legacy-cb7b6d20.js","./index-legacy-ca914990.js","./index-legacy-656d449e.js","./index-legacy-9b09ac87.js","./icon-student-default-legacy-1a5ed844.js","./index-legacy-47d63633.js","./index-legacy-b648ab2f.js","./index-legacy-51758cd8.js","./use-tab-status-legacy-65be42b4.js"],(function(t,r){"use strict";var i,u,a,l,c,s,f,d,v,h,p,y,g,m,b,w,x,j,O,L,E,N,P,k,S,G,F,C;return{setters:[function(t){i=t.d,u=t.O,a=t.i,l=t.o,c=t.g,s=t.R,f=t.B,d=t.h,v=t.F,h=t.T,p=t.N},function(t){y=t.M},function(t){g=t.M},function(t){m=t.s,b=t.M,w=t.A,x=t.a,j=t.b,O=t.c,L=t.d,E=t.e},function(t){N=t.S},function(t){P=t.M},function(t){k=t.D,S=t.a},function(t){G=t.P},function(t){F=t.L},function(t){C=t.I},null,null,null,null,null,null,null],execute:function(){var T=""+new URL("icon-tuituan-124310f7.png",r.meta.url).href,_=""+new URL("icon-zaidu-a09f5751.png",r.meta.url).href;t("default",i({name:"student-manage",setup:function(){var t=p(),r=u({page:1,rows:20,keyword:"",musicGroupId:"",statusList:"",subjectId:"",vipFlag:""}),i=u({skelet:!0,refresh:!1,loading:!1,finshed:!1,list:[],studentCount:0,quitCount:0,musicGroups:[{text:"全部乐团",value:""}],musicGroupName:"全部乐团",subjects:[{text:"全部声部",value:""}],subjectName:"全部声部",studentTypes:[{text:"全部学员",value:""},{text:"团练宝学员",value:"1"},{text:"普通学员",value:"2"}],studentTypeName:"全部学员"}),I=a(),A=a(),D=a(),M=a(),q=function(){L(o(o({},r),{},{vipFlag:"1"===r.vipFlag||"2"!==r.vipFlag&&""})).then((function(t){var e=null==t?void 0:t.data;e&&(i.studentCount=e.studentCount,i.quitCount=e.quitCount)}))},R=function(){var t,u=(t=e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i.loading=!0,E(o(o({},r),{},{vipFlag:"1"===r.vipFlag||"2"!==r.vipFlag&&""})).then((function(t){var e;i.refresh&&(i.list=[]);var n=Array.isArray(null==t||null===(e=t.data)||void 0===e?void 0:e.rows)?t.data.rows:[];i.list=i.list.concat(n),!n.length||n.length<r.rows?i.finshed=!0:i.finshed=!1,r.page++})).catch((function(){i.finshed=!0})).finally((function(){setTimeout((function(){i.loading=!1,i.refresh=!1,i.skelet=!1}),500)}));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(o,i){var u=t.apply(e,r);function a(t){n(u,o,i,a,l,"next",t)}function l(t){n(u,o,i,a,l,"throw",t)}a(void 0)}))});return function(){return u.apply(this,arguments)}}(),U=function(){r.page=1,i.refresh=!0,q(),R()};return l((function(){j().then((function(t){var e=Array.isArray(null==t?void 0:t.data)?t.data:[];e.length&&(e=[{name:"全部乐团",id:""}].concat(e),i.musicGroups=e.map((function(t){return{text:t.name,value:t.id}})))})),O().then((function(t){var e=Array.isArray(null==t?void 0:t.data)?t.data:[];e.length&&(e=[{name:"全部声部",id:""}].concat(e),i.subjects=e.map((function(t){return{text:t.name,value:t.id}})))})),q()})),function(){return c("div",{class:m.container},[c(g,{position:"top"},{default:function(){return[c(s,null,null),c(y,{disabled:i.loading,placeholder:"请输入学员姓名",onSearch:function(t){r.keyword=t,U()}},null),c(k,null,{default:function(){return[c(S,{ref:I,title:i.musicGroupName},{default:function(){return[c(G,{ref:A,showToolbar:!1,visibleOptionNum:5,columns:i.musicGroups},null),c("div",{class:["btnGroupPopup","van-hairline--top"]},[c(f,{round:!0,onClick:function(){var t;null===(t=I.value)||void 0===t||t.toggle(!1)}},{default:function(){return[d("取消")]}}),c(f,{disabled:!i.musicGroups.length,type:"primary",round:!0,onClick:function(){var t,e,n,o,u,a;null===(t=A.value)||void 0===t||null===(e=t.confirm)||void 0===e||e.call(t);var l=null===(n=A.value)||void 0===n||null===(o=n.getSelectedOptions)||void 0===o||null===(u=o.call(n))||void 0===u?void 0:u[0];l&&(r.musicGroupId=l.value,i.musicGroupName=l.text,U()),null===(a=I.value)||void 0===a||a.toggle(!1)}},{default:function(){return[d("确定")]}})])]}}),c(S,{ref:D,title:i.subjectName},{default:function(){return[c(G,{ref:M,showToolbar:!1,visibleOptionNum:5,columns:i.subjects},null),c("div",{class:["btnGroupPopup","van-hairline--top"]},[c(f,{round:!0,onClick:function(){var t;null===(t=D.value)||void 0===t||t.toggle(!1)}},{default:function(){return[d("取消")]}}),c(f,{disabled:!i.subjects.length,type:"primary",round:!0,onClick:function(){var t,e,n,o,u,a;null===(t=M.value)||void 0===t||null===(e=t.confirm)||void 0===e||e.call(t);var l=null===(n=M.value)||void 0===n||null===(o=n.getSelectedOptions)||void 0===o||null===(u=o.call(n))||void 0===u?void 0:u[0];console.log(l),r.subjectId=l.value,i.subjectName=l.text,U(),null===(a=D.value)||void 0===a||a.toggle(!1)}},{default:function(){return[d("确定")]}})])]}}),c(S,{class:m.dropdownItem,title:i.studentTypeName,modelValue:r.vipFlag,"onUpdate:modelValue":function(t){return r.vipFlag=t},options:i.studentTypes,onChange:function(t){var e;i.studentTypeName=(null===(e=i.studentTypes.find((function(e){return e.value==t})))||void 0===e?void 0:e.text)||"",U()}},null)]}})]}}),c(P,{modelValue:i.refresh,"onUpdate:modelValue":function(t){return i.refresh=t},onRefresh:function(){r.page=1,i.finshed=!1,R()}},{default:function(){return[c(F,{class:m.list,loading:i.loading,finished:i.finshed,onLoad:function(){i.loading=!0,console.log("触底了"),R()}},{default:function(){return[c(N,{loading:i.skelet},{default:function(){return[c(v,null,[c("div",{class:m.statistics},[c("div",{class:m.statisticsItem},[c(C,{class:m.iconstatistics,src:_},null),c("div",{class:m.statisticsDes},[c("div",{style:{color:"#333"}},[c("span",{class:m.statisticsNum,style:{color:"#333"}},[i.studentCount]),d("人")]),c("div",null,[d("在读学员")])])]),c("div",{class:m.statisticsItem,onClick:function(){t.push({path:"/student-manage-withdraw"})}},[c(C,{class:m.iconstatistics,src:T},null),c("div",{class:m.statisticsDes},[c("div",{style:{color:"#333"}},[c("span",{class:m.statisticsNum,style:{color:"#FC1A19"}},[i.quitCount]),d("人")]),c("div",null,[d("退团人数")])])])]),i.list.map((function(t){return c("div",{class:m.student,key:t.studentId},[c(b,{item:t},null),c(w,{item:t},null),c(x,{item:t},null)])})),!i.loading&&!i.list.length&&c(h,{description:"暂无数据",style:{minHeight:"100%"}},null)])]}})]}})]}})])}}}))}}}))}();
  5. >>>>>>>> 87d4d1b1 (更新):dist/assets/index-legacy-769110bf.js