1 |
- System.register(["./index-legacy.eb062188.js","./index.module-legacy.bef32549.js","./icon_teacher-legacy.07765f44.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.148f784c.js","./index-legacy.918b8c74.js","./index-legacy.fecc738b.js","./index-legacy.11f1ea5f.js","./index-legacy.761bf286.js","./index-legacy.fad72574.js","./index-legacy.38b799d5.js","./use-tab-status-legacy.91417466.js","./Picker-legacy.95f03705.js","./index-legacy.ac7c51db.js","./index-legacy.fab451f1.js","./index-legacy.10d8486a.js"],(function(t){"use strict";var e,s,a,c,l,i,r,o,n,u,d,A,g,h,p,m,f,S,v,O,y,N,C,b;return{setters:[function(t){e=t.d,s=t.ag,a=t.ah,c=t.r,l=t.$,i=t.c,r=t.aj,o=t.F,n=t.q,u=t.ak,d=t.P,A=t.m,g=t.e},function(t){h=t.s},function(t){p=t.i},function(t){m=t.i},function(t){f=t.C},function(t){S=t.C},function(t){v=t.I},function(t){O=t.T},function(t){y=t.G,N=t.a},function(t){C=t.L},function(t){b=t.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){t("default",e({name:"my-orchestra",setup(){const t=s();a();const e=c({isLoading:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},orchestraStatus:!1,orchestraList:[],selectOrchestra:{}}),j=async()=>{try{if(e.isLoading)return;e.isLoading=!0;const t=await A.post("/api-student/orchestraPhotoAlbum/page",{data:{...e.params,orchestraId:e.selectOrchestra.orchestraId}});e.listState.loading=!1;const s=t.data||{};if(e.list.length>0&&1===s.current)return;const a=s.rows||[];e.list=e.list.concat(a),e.listState.finished=s.current>=s.pages,e.params.page=s.current+1,e.listState.dataShow=e.list.length>0,e.isLoading=!1}catch{e.listState.dataShow=!1,e.listState.finished=!0,e.isLoading=!1}};return l((async()=>{await(async()=>{try{const{data:t}=await A.post("/api-student/orchestra/studentOrchestra",{});console.log(t),e.orchestraList=t||[],t&&t.length>0&&(e.selectOrchestra=t[0],console.log(e.selectOrchestra),await j())}catch{}})()})),()=>i("div",{class:h.myOrchestra},[i(r,null,{right:()=>i(o,null,[("REGISTER"===e.selectOrchestra.status||"LEARNING"===e.selectOrchestra.status)&&i("span",{onClick:()=>{t.push({path:"/apply-withdrawal",query:{id:e.selectOrchestra.orchestraId}})}},[n("申请退团")]),"AUTH"===e.selectOrchestra.status&&i("span",{style:{color:"red"}},[n("申请退团中")])])}),e.orchestraList.length>0?i(o,null,[i(f,{inset:!0,class:h.oList},{default:()=>[i(S,{center:!0,clickable:!0},{title:()=>i("div",{class:h.orchestra},[i("i",null,null),i("span",{class:"van-ellipsis"},[e.selectOrchestra.orchestraName])]),value:()=>e.selectOrchestra.classGroupIdList&&e.selectOrchestra.classGroupIdList.length>0&&i("div",{class:h.iconChange,onClick:()=>{e.orchestraStatus=!0}},[n("切换乐团 "),i(v,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAp5JREFUWEftVj1rVEEUPedtkUIDKiiIpeLHDzBBMJpVW0VIZjaNsdFKCy1jZaV2WmiTbSTVezMsSNKqiRERP7A1hY2FjUIQo0iKzZFZ8sLbl5fN7ia4TaZY2Pk499xzz515RI8HexwfOwR2FOhaAeecA3DDWvtjK0beCgGR/F6v12+OjY35bkkUEvDenydpJZ2RdAhA/yYBAoEmNWq12sF6vf6J5E+S85KcMeZFHqeJgHPuCMmqpOFOM8qr4b1/KulqFofknKTr1tov6fwaAe/9kKRnAPZ1GjzszxJwzg0AeAsgKsBaJHnZGPO6cS78hMwBvOs2OIBsCeicewPgVItEFgEMBiUaBLz3swWyz0h6SPKDtfZ3Hsw5t6kJp6amdvX19Q2QvAXgUr4cxpgyg+EkPc8t3jHG3G9Vik7b0Hs/IeleLs6FQGAyGCOzMGOtbWLbjSeKzjjnpgFcXDMgWQ0EPks6nk5KOlepVGa3K2gWx3s/LGkNm+RCMMyvXJ/3F9V8Owg553YDWMpgLQUCYSIspOO/E1gAcCxTl7IxZm47Ms5jJElSJvkyE2uBSZJUSV7rhQmjKJosbMMoiiZGR0cftKOCc24/gCfWWttq/4ZtuHoTzgMYygFMS3q0vLz8fnx8/E8ReBzHplQqPZZ0wFq77mELppN0kuTtbPs1rmByrnERhT9xHB+OougjgD1FgUhKUtla+2qVcCNrAKYdlQr2NF/Fq6CnAYSLYm/+AElvjGlInM262+DrHqMUKI7jo8EYAM5mwP+WSqUTIyMjX1MCURSF7IMKHY2Wz3EWqVarlVdWVq5IGpTkK5XK3ex6arw2SrBE8huA8PQmm36QdJROrhxFJmwHr+tvwhS83TbciMyWCbSTZas9OwR6rsA/1URHgBIvXhAAAAAASUVORK5CYII=",class:h.img},null)])})]}),i("div",{class:[h.gridContainer,h.gridClass]},[e.selectOrchestra.classGroupIdList&&e.selectOrchestra.classGroupIdList.map((t=>i(f,{class:h.classCellGroup},{default:()=>[i(S,{center:!0,titleStyle:{flex:"0 auto"},valueClass:h.classCheckbox,border:!1,style:{paddingBottom:"0"}},{icon:()=>i(v,{src:t.teacherAvatar||p,class:h.img,fit:"cover"},null),title:()=>i("div",{class:h.content},[i("div",{class:h.teacherName},[i("span",{class:[h.name,"van-ellipsis"]},[t.teacherName]),i(O,{type:"primary",size:"medium"},{default:()=>[t.classGroupName]})])]),value:()=>i(v,{class:h.messageImg,src:m,onClick:()=>(async t=>{console.log(t),g({api:"joinChatGroup",content:{type:"multi",id:t.imGroupId}})})(t)},null)}),i(y,{border:!1,columnNum:3},{default:()=>[i(N,null,{default:()=>[i("p",{class:h.title},[t.completeCourseNum||0,n("/"),t.totalCourseNum||0]),i("p",{class:h.name},[n("课程")])]}),i(N,null,{default:()=>[i("p",{class:[h.title]},[t.completeTrainingNum||0,n("/"),t.totalTrainingNum||0]),i("p",{class:h.name},[n("课后练习")])]}),i(N,null,{default:()=>[i("p",{class:h.title},[t.completeUnitTestNum||0,n("/"),t.totalUnitTestNum||0]),i("p",{class:h.name},[n("单元测试")])]})]})]})))]),i("div",{class:h.title},[i("i",null,null),n("训练照片")]),e.listState.dataShow?i(C,{finished:e.listState.finished,finishedText:" ",onLoad:j,immediateCheck:!1},{default:()=>[i("div",{class:h.phoneContainer},[e.list.map((e=>i("div",{class:h.item,onClick:()=>(e=>{t.push({path:"/photo-detail",query:{photoId:e.id,name:e.name}})})(e)},[e.coverUrl?i(v,{class:h.img,src:e.coverUrl,fit:"cover"},null):i("div",{class:[h.img,h.default]},[i(v,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNSR0IArs4c6QAACRdJREFUeF7tnUtsU1cax7/v2nFCMK+UEErEK2AecZAC5SXeqN2guKPRjGZmW6mbdjUjNl10O5vZVO2q3VTqtq0qjYaAWMwovCQCUqCQODwMQTwDISFDMCHx45zqb8VVcn3te+zY5zrJ+STLUnLuPff87nfP9zjfuWYyooUAa+nFdEIGtCYlMKANaE0ENHVjNHqug5ZSvk9EXxDRx0S0lohqNI1JdzdJInpMRKeI6F/MPOh0ARXRaCnlISL6NxG9p3vUHvc3QkR/ZOZL9usoO+gpTe5dgJCzbAF7h12zKwH6ayL6u8ea5XX33zDzP6ZfRCVA3yeiFq9H6nH/A8y8qdKgE/PY8KnevyQzByoNWqpezXxux8wzZotKTB0GNBEZ0JoeIwO62kCfPXu2QQhxUgjxpykvolbTNVZFN5ZlUX19Pa1evZo2btxIgcAM2+Z6jUoaffr06XYpZScRNbuecQE0qK2tpb1799LSpUuVR+sKGpqcSqVuGsgzmQL2kSNHlDXbFfSZM2f+KYT4UvnWLaCGmzdvpq1btyqN2BV0Z2dnPxFtVzrbAmsUDAbp6NGjSqNWAT1BRAvK8CmRIyIYyBMnTig1VwFtAo4CKDs6OgxoJQKzbGRAuwBE6gE+cWNjI8GDSCaT9OrVK3r27BmlUill/AZ0AVRLliyhXbt2EYyZXRKJBN28eZNevHihBNuAzoMJcA8cOEA1NfmXLKWU1NPTowTbgM4D+uDBg7R8+XJXbYVmd3V1uU4jBrQDSgAGaFXp6+ujhw8fFmxu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w8qmPmOillLTPXYOFh6hvzPgwlvjNOx7QbmXE6plY8kJxPMXNaSoltDYmp70kpJYwgPu+klOOWZcEQZoyhlBKw3liWNcrMMIivpJTDgUDgZSKRGAqHwyUn+u2KUVbQHmjdnOnSgNZ0qwxoA1oTAU3dGI02oDUR0NTNb2QLa5d/JYlZAAAAAElFTkSuQmCC",class:h.defaultImg,fit:"cover"},null)]),i("p",{class:[h.name,"van-ellipsis"]},[e.name]),i("p",{class:h.num},[e.photoCount,n("张")])])))])]}):i(u,{btnStatus:!1,tips:"暂无训练相片"},null)]):i(u,{btnStatus:!1,tips:"暂无乐团"},null),i(d,{show:e.orchestraStatus,"onUpdate:show":t=>e.orchestraStatus=t,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[i(b,{columns:e.orchestraList,columnsFieldNames:{text:"orchestraName",value:"orchestraId"},onCancel:()=>e.orchestraStatus=!1,onConfirm:t=>{const s=t.selectedValues[0];s!==e.selectOrchestra.orchestraId?(e.orchestraList.forEach((t=>{t.orchestraId===s&&(e.selectOrchestra=t)})),e.orchestraStatus=!1,e.params.page=1,e.list=[],e.listState.dataShow=!0,e.listState.loading=!1,e.listState.finished=!1,j()):e.orchestraStatus=!1}},null)]})])}}))}}}));
|