1 |
- !function(){function e(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t,a,r,n,i,o){try{var s=e[i](o),c=s.value}catch(m){return void a(m)}s.done?t(c):Promise.resolve(c).then(r,n)}function n(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var o=e.apply(t,a);function s(e){r(o,n,i,s,c,"next",e)}function c(e){r(o,n,i,s,c,"throw",e)}s(void 0)}))}}var i=document.createElement("style");i.innerHTML='._gridContainer_a6cas_1{margin:.32rem .34667rem;background:#ffffff;border-radius:.26667rem;overflow:hidden}._gridContainer_a6cas_1 ._title_a6cas_7{font-size:.64rem;font-weight:700;color:#333}._gridContainer_a6cas_1 ._title_a6cas_7 i{font-style:normal;font-size:.32rem;color:#333}._gridContainer_a6cas_1 ._title_a6cas_7 span{font-family:DINA;font-family:DINAlternate-Bold,DINAlternate}._gridContainer_a6cas_1 ._red_a6cas_21{color:#f67146}._gridContainer_a6cas_1 ._name_a6cas_24{padding-top:.21333rem;font-size:.32rem;color:#777}._gridClass_a6cas_29 ._title_a6cas_7{font-size:.64rem;font-family:DINA;font-family:DINAlternate-Bold,DINAlternate}._gridClass_a6cas_29 ._teacher_a6cas_34{font-size:.42667rem;line-height:.64rem;max-width:2.53333rem;font-size:500}._gridClass_a6cas_29 ._className_a6cas_40{padding:.45333rem .4rem 0;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._gridClass_a6cas_29 ._className_a6cas_40 ._line_a6cas_47{display:inline-block;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.08rem;margin-right:.16rem}._gridClass_a6cas_29 .van-grid-item:after{content:" ";position:absolute;top:50%;right:0;margin-top:-.26667rem;width:.02667rem;height:.53333rem;background:#eaeaea;border-radius:.02667rem}._gridClass_a6cas_29 .van-grid-item:last-child:after{display:none}._informationBottom_a6cas_69 .van-sticky{position:absolute}._codeContainer_a6cas_72 ._codeImg_a6cas_72{width:8.61333rem;height:12.4rem;background:url(./assets/download.d4e802c2.png) no-repeat center center;background-size:contain;margin:0 auto}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeContent_a6cas_79{padding-left:.21333rem}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeTitle_a6cas_82{text-align:center;padding-top:.37333rem;font-size:.64rem;font-weight:700;color:#fff;text-shadow:.02667rem .02667rem .18667rem #f4672a}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeName_a6cas_90{padding:1.06667rem .32rem 0;font-size:.48rem;font-weight:600;color:#fff;text-align:center}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeQr_a6cas_97{margin:.61333rem auto 0;width:6.42667rem;height:6.42667rem;background:linear-gradient(180deg,#ffffff 0%,#ffffff 100%);border-radius:.29333rem;overflow:hidden}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeQr_a6cas_97 img{width:100%;height:100%}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeBtnText_a6cas_109{margin:.4rem auto 0;display:inline-block;background:linear-gradient(135deg,#ff9c63 0%,#ff7144 100%);border-radius:.48rem;padding:.16rem .42667rem;font-size:.42667rem;font-weight:600;color:#fff}._codeContainer_a6cas_72 ._codeImg_a6cas_72 ._codeTips_a6cas_119{padding-top:.26667rem;font-size:.34667rem;font-weight:600;color:#f16437;line-height:.48rem;text-align:center}._codeContainer_a6cas_72 ._close_a6cas_127{position:absolute;top:.32rem;right:.4rem}._codeContainer_a6cas_72 ._codeBottom_a6cas_132{position:relative;margin-top:.85333rem;background:#ffffff;border-radius:.53333rem .53333rem 0 0;padding-bottom:.26667rem}._codeContainer_a6cas_72 ._title_a6cas_7{font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;padding:.4rem .4rem 0}._codeContainer_a6cas_72 ._title_a6cas_7 i{display:inline-block;margin-right:.16rem;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem}._codeContainer_a6cas_72 ._shareImg_a6cas_154{width:1.25333rem;height:1.25333rem}._codeContainer_a6cas_72 ._shareText_a6cas_158{padding-top:.16rem;font-size:.37333rem;color:#333;line-height:.53333rem}._gridContainer_xmx94_1{margin:.32rem .34667rem;padding:0 .4rem .26667rem;background:#ffffff;border-radius:.26667rem;overflow:hidden}._gridContainer_xmx94_1 ._title_xmx94_8{font-size:.69333rem;font-weight:700;color:#333}._gridContainer_xmx94_1 ._title_xmx94_8 span{font-size:.32rem;color:#333}._gridContainer_xmx94_1 ._red_xmx94_17{color:#f67146}._gridContainer_xmx94_1 ._name_xmx94_20{padding-top:.21333rem;font-size:.32rem;color:#777}._gridClass_xmx94_25{padding-bottom:.53333rem}._gridClass_xmx94_25 ._title_xmx94_8{font-size:.64rem}._gridClass_xmx94_25 ._teacher_xmx94_31{font-size:.48rem;line-height:.64rem}._gridClass_xmx94_25 ._className_xmx94_35{padding:.45333rem 0 0;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._gridClass_xmx94_25 ._className_xmx94_35 ._line_xmx94_42{display:inline-block;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.08rem;margin-right:.16rem}._gridClass_xmx94_25 ._gridCell_xmx94_50{padding-top:.4rem;padding-bottom:.42667rem}._gridClass_xmx94_25 ._img_xmx94_54{width:1.2rem;height:1.2rem;border-radius:50%;overflow:hidden}._gridClass_xmx94_25 ._class_xmx94_35{font-size:.53333rem;font-weight:700;color:#f67146;line-height:.64rem;font-family:DINA}._gridClass_xmx94_25 ._courseware_xmx94_67{font-size:.42667rem;font-weight:600;color:#333;line-height:.64rem}._gridClass_xmx94_25 ._teacherDesc_xmx94_73{padding-top:.16rem;font-size:.32rem;color:#777;line-height:.45333rem}._gridClass_xmx94_25 .van-cell__title{flex:0 auto;padding-left:.53333rem;min-width:1.86667rem}._gridClass_xmx94_25 .van-cell__value{text-align:left}._gridClass_xmx94_25 ._classNum_xmx94_87{padding-top:.53333rem;padding-bottom:.53333rem;font-size:.32rem;color:#333;display:flex;align-items:center}._gridClass_xmx94_25 ._classNum_xmx94_87 ._classNumItem_xmx94_95{padding-left:.34667rem;padding-right:.13333rem;display:flex;align-items:center}._gridClass_xmx94_25 ._classNum_xmx94_87 ._classNumItem_xmx94_95 ._use_xmx94_101{color:#777}._gridClass_xmx94_25 ._classNum_xmx94_87 ._classNumItem_xmx94_95 ._nums_xmx94_104{font-size:.42667rem;color:#333;padding:0 .16rem;font-family:DINA}._gridClass_xmx94_25 ._classNum_xmx94_87 ._block_xmx94_110{display:inline-block;width:.32rem;height:.32rem;border-radius:.05333rem;background-color:#ececec;margin-right:.16rem}._orchestraDetail_xtf76_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}\n',document.head.appendChild(i),System.register(["./index-legacy.47bc1690.js","./index-legacy.697c501a.js","./countUp.min-legacy.52e432a0.js","./isSameOrBefore-legacy.e71d69b8.js","./index-legacy.cf9bcf39.js","./index-legacy.4df1d4ab.js","./index-legacy.57721991.js","./index-legacy.5ec06f8e.js","./index-legacy.d80b3016.js","./index-legacy.00966b07.js","./index-legacy.41022c63.js","./use-tab-status-legacy.7bf91b8c.js","./utils-legacy.24861f33.js","./Picker-legacy.cd27e6c1.js","./index-legacy.62a334e5.js","./index-legacy.18044794.js","./index-legacy.21964237.js"],(function(e){"use strict";var a,r,i,o,s,c,m,l,u,d,_,f,p,g,h,x,v,y,b,w,C,Y,D,N,S,T,k,M,H,I;return{setters:[function(e){e.ao,a=e.d,r=e.y,i=e.ah,o=e.ag,s=e.r,c=e.ai,m=e.$,l=e.c,u=e.q,d=e.ak,_=e.B,f=e.P,p=e.a_,g=e.F,h=e.al,x=e.m,v=e._,y=e.R,b=e.aj},function(e){w=e.O},function(e){C=e.C},function(e){Y=e.i},function(e){D=e.O},function(e){N=e.G,S=e.a},function(e){T=e.L},function(e){k=e.D},function(e){M=e.P},function(e){H=e.T,I=e.a},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var j={gridContainer:"_gridContainer_a6cas_1",title:"_title_a6cas_7",red:"_red_a6cas_21",name:"_name_a6cas_24",gridClass:"_gridClass_a6cas_29",teacher:"_teacher_a6cas_34",className:"_className_a6cas_40",line:"_line_a6cas_47",informationBottom:"_informationBottom_a6cas_69",codeContainer:"_codeContainer_a6cas_72",codeImg:"_codeImg_a6cas_72",codeContent:"_codeContent_a6cas_79",codeTitle:"_codeTitle_a6cas_82",codeName:"_codeName_a6cas_90",codeQr:"_codeQr_a6cas_97",codeBtnText:"_codeBtnText_a6cas_109",codeTips:"_codeTips_a6cas_119",close:"_close_a6cas_127",codeBottom:"_codeBottom_a6cas_132",shareImg:"_shareImg_a6cas_154",shareText:"_shareText_a6cas_158"},z={exports:{}};z.exports=function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}};var O=z.exports;c.extend(Y,O);var P=a({name:"detail-information",props:{termTimes:{type:Object,default:{}}},setup:function(e){var a=r((function(){return e.termTimes.start})),y=r((function(){return e.termTimes.end})),b=i(),Y=o(),M=s({timeShow:!1,currentData:[c().year()+""],actionText:"上学期",actionType:"up",actionTerm:[{name:"上学期",selected:!0,value:"up"},{name:"下学期",value:"down"}],oPopover:!1,check:[],checkboxRefs:[],isLoading:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},bottomHeight:0,params:{startTime:c(c().year()+a.value).format("YYYY-MM-DD HH:mm:ss"),endTime:c(c().year()+y.value).add(1,"year").subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),page:1,rows:20},statistics:{},orchestraInfo:{}}),H=function(e){M.actionTerm.forEach((function(e){e.selected=!1})),e.selected=!0,M.actionText=e.name,M.actionType=e.value,"up"===e.value?(M.params.startTime=c(Number(M.currentData[0])+a.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(Number(M.currentData[0])+y.value).add(1,"year").subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")):"down"===e.value&&(M.params.startTime=c(Number(M.currentData[0])+y.value).add(1,"year").format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(Number(M.currentData[0])+a.value).add(1,"year").subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")),M.oPopover=!1,R()},I=function(e){M.currentData=e.selectedValues;var t=Number(M.currentData[0])+1;"up"===M.actionType?(M.params.startTime=c(t+a.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(t+y.value).add(1,"year").subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")):"down"===M.actionType&&(M.params.startTime=c(t+y.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(t+a.value).subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")),M.timeShow=!1,R()},z=function(){var e=n(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.get("/api-school/orchestra/detail/"+b.query.id);case 3:t=e.sent,a=t.data,M.orchestraInfo=a||{},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)}}(),O=function(){var e=n(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.post("/api-school/school/schoolSummaryStat",{data:{orchestraId:b.query.id}});case 3:t=e.sent,a=t.data,M.statistics=a||{},B(),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=n(regeneratorRuntime.mark((function e(){var a,r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!M.isLoading){e.next=3;break}return e.abrupt("return");case 3:return M.isLoading=!0,e.next=6,x.post("/api-school/classGroup/page",{data:t(t({},M.params),{},{orchestraId:b.query.id})});case 6:if(a=e.sent,M.listState.loading=!1,r=a.data||{},!(M.list.length>0&&1===r.current)){e.next=11;break}return e.abrupt("return");case 11:n=r.rows||[],M.list=M.list.concat(n),M.listState.finished=r.current>=r.pages,M.params.page=r.current+1,M.listState.dataShow=M.list.length>0,M.isLoading=!1,e.next=24;break;case 19:e.prev=19,e.t0=e.catch(0),M.listState.dataShow=!1,M.listState.finished=!0,M.isLoading=!1;case 24:case"end":return e.stop()}}),e,null,[[0,19]])})));return function(){return e.apply(this,arguments)}}(),R=function(){M.params.page=1,M.list=[],M.listState.dataShow=!0,M.listState.loading=!1,M.listState.finished=!1,P()},B=function(){v((function(){var e=M.statistics;new C("currentStudentNum",e.currentStudent||0).start(),new C("time1",100*e.attendanceRate||0).start(),new C("time2",100*e.homeworkSubmissionRate||0).start(),new C("time3",100*e.practicePassRate||0).start()}))};return m(n(regeneratorRuntime.mark((function e(){var t,r,n,i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c(c().year()+a.value).format("YYYY-MM-DD"),r=c(c().year()+y.value).format("YYYY-MM-DD"),n=c().format("YYYY-MM-DD"),console.log(n,t),i=c(n).isBefore(c(t)),o=c(n).isBefore(c(r)),s=c().year(),i&&o&&(M.currentData=[s-1+""],M.params.startTime=c(s-1+a.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(c().year()+y.value).subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")),i||o||(M.params.startTime=c(c().year()+a.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(c().year()+y.value).add(1,"year").subtract(1,"day").format("YYYY-MM-DD HH:mm:ss")),i&&!o&&(M.params.startTime=c(s+y.value).format("YYYY-MM-DD HH:mm:ss"),M.params.endTime=c(s+a.value).subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),M.actionTerm.forEach((function(e){"down"===e.value?(e.color="var(--van-primary-color)",M.actionText=e.text,M.actionType=e.value):e.color=""})),M.currentData=[s-1+""],M.actionText="下学期",M.actionType="down",M.actionTerm.forEach((function(e){"down"===e.value?e.selected=!0:e.selected=!1}))),e.next=12,z();case 12:return e.next=14,O();case 14:return e.next=16,P();case 16:case"end":return e.stop()}}),e)})))),function(){var e,t;return l(g,null,[l("div",{class:["searchGroup","van-hairline--top"]},[l("div",{class:["searchItem",M.timeShow?"searchItem-active":""],onClick:function(){return M.timeShow=!0}},[M.currentData[0],u("年 "),l("i",{class:"arrow"},null)]),l("div",{class:["searchItem",M.oPopover?"searchItem-active":""],onClick:function(){return M.oPopover=!0}},[M.actionText,u(" "),l("i",{class:"arrow"},null)])]),l("div",{style:{height:"calc(100vh - var(--header-height) - var(--van-tabs-line-height) - 1.17333rem)",overflow:"hidden",overflowY:"auto"}},[l(N,{border:!1,class:j.gridContainer},{default:function(){return[l(S,null,{default:function(){return[l("p",{class:[j.title,j.red]},[l("span",{id:"currentStudentNum"},[M.statistics.studentNum||0]),l("i",null,[u(" 名")])]),l("p",{class:j.name},[u("在读学员")])]}}),l(S,null,{default:function(){return[l("p",{class:[j.title,j.red]},[l("span",{id:"time1"},[M.statistics.attendanceRate||0]),u("%")]),l("p",{class:j.name},[u("到课率")])]}}),l(S,null,{default:function(){return[l("p",{class:[j.title,j.red]},[l("span",{id:"time2"},[M.statistics.homeworkRate||0]),u("%")]),l("p",{class:j.name},[u("作业提交率")])]}}),l(S,null,{default:function(){return[l("p",{class:[j.title,j.red]},[l("span",{id:"time3"},[M.statistics.homeworkQualifiedRate||0]),u("%")]),l("p",{class:j.name},[u("练习合格率")])]}})]}}),M.listState.dataShow?l(T,{finished:M.listState.finished,finishedText:" ",class:[j.liveList],onLoad:P,immediateCheck:!1},(t=e=M.list.map((function(e){return l("div",{class:[j.gridContainer,j.gridClass]},[l("div",{class:j.className},[l("i",{class:j.line},null),e.name]),l(N,{border:!1,columnNum:3},{default:function(){return[l(S,null,{default:function(){return[l("p",{class:j.title},[e.preStudentNum||0]),l("p",{class:j.name},[u("在读学员")])]}}),l(S,null,{default:function(){return[l("p",{class:[j.title,j.teacher,"van-ellipsis"]},[e.teacherName||"-"]),l("p",{class:j.name},[u("伴学老师")])]}}),l(S,null,{default:function(){return[l("p",{class:j.title},[e.completeCourseScheduleNum||0,u("/"),e.courseScheduleNum||0]),l("p",{class:j.name},[u("课时")])]}})]}})])})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!h(t)?e:{default:function(){return[e]}})):l(d,{btnStatus:!1,tips:"暂无班级"},null),M.orchestraInfo.canSignUp&&l(w,{position:"bottom",class:j.informationBottom,onGetHeight:function(e){M.bottomHeight=e}},{default:function(){return[l("div",{class:"btnGroup"},[l(_,{round:!0,block:!0,type:"primary",onClick:function(){Y.push({path:"save-share-image",query:{type:"orchestra",id:b.query.id}})}},{default:function(){return[u("报名二维码")]}})])]}})]),l(D,{show:M.oPopover,"onUpdate:show":function(e){return M.oPopover=e},actions:M.actionTerm,onSelect:H,teleport:"body"},null),l(f,{show:M.timeShow,"onUpdate:show":function(e){return M.timeShow=e},position:"bottom",round:!0,class:"popupBottomSearch",teleport:"body"},{default:function(){return[l(k,{modelValue:M.currentData,"onUpdate:modelValue":function(e){return M.currentData=e},columnsType:["year"],formatter:p,onConfirm:I,onCancel:function(){return M.timeShow=!1}},null)]}})])}}}),R="_gridContainer_xmx94_1",B="_gridClass_xmx94_25",F="_className_xmx94_35",A="_line_xmx94_42",E="_classNum_xmx94_87",L="_classNumItem_xmx94_95",q="_use_xmx94_101",G="_nums_xmx94_104",U="_block_xmx94_110";c.extend(Y,O);var Q=a({name:"plan",props:{termTimes:{type:Object,default:{}},height:{type:[String,Number],default:0}},setup:function(e){var t=i(),a=s({isLoading:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:100}}),r=function(){var e=n(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,x.post("/api-school/orchestraDataStatistics/orchestraTrainingProgress",{data:{orchestraId:t.query.id}});case 3:r=e.sent,n=r.data,a.list=n||[],a.listState.dataShow=a.list.length>0,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),a.listState.dataShow=!1;case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();return m(n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r();case 2:case"end":return e.stop()}}),e)})))),function(){return l("div",{style:"height: calc(100vh - var(--header-height) - var(--van-tabs-line-height)); overflow: hidden; overflow-y: auto;"},[a.listState.dataShow?l("div",{class:[R]},[a.list.map((function(e){return l("div",{class:B},[l("div",{class:F},[l("i",{class:A,style:{backgroundColor:e.coursewareNum<e.endCourseNum?"#FF928D":"#64A9FF"}},null),e.classGroupName]),l("div",{class:E},[l("div",{class:L},[l("i",{class:U,style:{backgroundColor:e.coursewareNum<e.endCourseNum?"#FF9B96":"#A2CDFF"}},null),l("span",{class:q},[u("已使用")]),l("span",{class:G,style:{color:e.coursewareNum<e.endCourseNum?"#F44541":"#333"}},[e.coursewareNum||0]),u("课件")]),l("div",{class:L},[l("i",{class:U},null),l("span",{class:q},[u("已结束")]),l("span",{class:G},[e.endCourseNum||0]),u("节课")])]),l(M,{color:e.coursewareNum<e.endCourseNum?"linear-gradient(90deg, #FFC3A1 0%, #FF9895 100%)":"linear-gradient(90deg, #CDF1FF 0%, #A0CBFF 100%)",trackColor:"#ECECEC",showPivot:!1,style:{borderRadius:"10px"},percentage:e.endCourseNum?e.coursewareNum/e.endCourseNum*100:0,strokeWidth:8},null)])}))]):l(d,{btnStatus:!1,tips:"暂无班级"},null)])}}}),V="_orchestraDetail_xtf76_1";e("default",a({name:"orchestra-detail",setup:function(){var e=i(),t=sessionStorage.getItem("orchestra-detail-tab"),a=y(t||e.query.tabs||"information");sessionStorage.removeItem("orchestra-detail-tab");var r=y("auto"),o=y({start:"09-01",end:"03-01"}),s=function(){var e=n(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x.get("/api-school/sysParamConfig/queryByParamNameList",{params:{paramNames:"last_term_time,next_term_time"}});case 2:t=e.sent,(t.data||[]).forEach((function(e){"last_term_time"===e.paramName?o.value.start=e.paramValue:"next_term_time"===e.paramName&&(o.value.end=e.paramValue)}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return s(),function(){return l("div",{class:V},[l(w,{position:"top",onGetHeight:function(e){r.value=e,document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[l(b,{border:!1},null)]}}),l(H,{sticky:!0,lineWidth:20,lineHeight:4,active:a.value,"onUpdate:active":function(e){return a.value=e},animated:!0,offsetTop:r.value,swipeable:!0,onChange:function(e){sessionStorage.setItem("orchestra-detail-tab",e)}},{default:function(){return[l(I,{title:"乐团信息",name:"information"},{default:function(){return[l(P,{termTimes:o.value},null)]}}),l(I,{title:"训练进度",name:"plan"},{default:function(){return[l(Q,{height:r.value,termTimes:o.value},null)]}})]}})])}}}))}}}))}();
|