12345 |
- <<<<<<<< HEAD:dist/assets/detail-d365194a.js
- import{S as N,s as u,i as U}from"./skeleton-index-modal-661f60d4.js";import{d as m,O as b,o as f,w as O,g as s,I as g,h as o,T as y,W as k,a as h,S as M,N as R,F as _,P as C,X as W,R as q}from"./index-6ef77773.js";import{i as P}from"./icon-teacher-default-a5bec550.js";import{i as H}from"./icon-music-10132ef5.js";import{i as L}from"./icon-student-default-4c78efb2.js";import{g as X,a as x}from"./constant-a400d214.js";import{S as D,b as G,a as p}from"./index-54d65aa5.js";import{C as A}from"./index-2ab268f1.js";import{I}from"./index-6cce5316.js";import{i as v}from"./icon-check-active-15efb9a0.js";import{i as T}from"./icon-warn-15c4cc5c.js";import{R as S,C as d}from"./index-5313f793.js";import{C as j}from"./index-62b5de3e.js";import{T as J,a as w}from"./index-e5198b82.js";import"./use-tab-status-875823de.js";const z="_iconGroup_sc9pl_5",V="_iconStudent_sc9pl_10",Y="_iconMember_sc9pl_16",K="_userInfo_sc9pl_22",Q="_name_sc9pl_22",Z="_TRUANT_sc9pl_36",$="_LEAVE_sc9pl_40",ss="_QUIT_SCHOOL_sc9pl_44",ts="_DROP_OUT_sc9pl_48",as="_LATE_sc9pl_52",es="_after_sc9pl_60",ls="_standard_sc9pl_65",ns="_notStandard_sc9pl_69",cs="_noStatus_sc9pl_73",os="_txt_sc9pl_77",is="_error_sc9pl_80",rs="_success_sc9pl_83",us="_detailGroup_sc9pl_86",ds="_detailItem_sc9pl_93",As="_detailStatus_sc9pl_100",ps="_statusName_sc9pl_107",gs="_img_sc9pl_110",ms="_sign_sc9pl_114",bs="_locate_sc9pl_122",hs="_skeletonGroup_sc9pl_126",fs="_skeletonItem_sc9pl_135",Ss="_popup_sc9pl_173",Is="_emptyContainer_sc9pl_176",a={"student-list":"_student-list_sc9pl_1",iconGroup:z,iconStudent:V,iconMember:Y,userInfo:K,name:Q,TRUANT:Z,LEAVE:$,QUIT_SCHOOL:ss,DROP_OUT:ts,LATE:as,default:"_default_sc9pl_56",after:es,standard:ls,notStandard:ns,noStatus:cs,txt:os,error:is,success:rs,"teacher-list":"_teacher-list_sc9pl_86",detailGroup:us,detailItem:ds,detailStatus:As,statusName:ps,img:gs,sign:ms,locate:bs,skeletonGroup:hs,skeletonItem:fs,"practice-list":"_practice-list_sc9pl_143",popup:Ss,emptyContainer:Is},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAB+1BMVEUAAAD1y4b01ZnvxIX+5ajfpGL+56rgqmr/35/iqmr/26Tbtm3ms3PfpWP/6KzdoF/00ZLfomHwx4jswIHdoF/636H53Z/jrGviqmn/6KvxyYvrvn752pzjrm7105bmtXXfo2HyzI7rvH3eoV/946blsXDfpmX/6arz0JDqvHvfoWH/46Tjqmz446r11ZXouHfot3f+6Kv+56v74KT74KP42Jr22Jr/9eP/8uj/8+f/8er/9uL/8Oz/9eX/9t//8dP/7Mn/4bL/57//79D/6ML/5Lj/367/3qz/8tb/6sT/5r3/4LD/2qP/9dz/89j+7NP/7cv/5br/4rT/3an/2aD/68b/47b/26bgrkXfrUHdqDn/7s7/3Kf/153su3zeqjvdpjbaoy/Xnin/9+H66cT34bbuzIPryXvpxHLowW3luFnjtVXeqz7/8uP/9Nn+7tj/7s396sr74rb85Kvv0I7u0IvqxXflul3isUzhr0nbpTPZoS3/9Nv758f45L3337L3267736v03Kj12Kb+16D00JXz1JT1xonzw4XrvoLsyn/mr2/mvWPitFH+7uL+8N/55cL+6Lz64rn95rT74q/82ab32aT32qD206D81Jn0yY/tzIjotnfntHXnsnLjrGvnwGjfpGPVmyP337X73Kjz2J7wy5bwyI/v0o7fT6M2AAAAN3RSTlMADPz498iaJBgYBwf5+fj49PTq6uri4uLiyMjIx8ebm5uZmZmJiYlXV1dXLS0kJPT06urHx4mJH0k6TAAAApdJREFUOMtl0GdXGkEUBuBZpNh7771reiBsXEDsAgtWxIiCdESka+y9995L6s/MzO6STfQ9hy88e+97zwA2WAU/6218/JssfgUGXqaOz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gsdrKTHhUg5lZpC5H9HD6XG3iPyu2qLPZ7MvU6ni321H38HyAplrwvSlwx0gB7MHi4u17DbLGHzBCq3+ZPwBI2QrcBAeTAAAAAElFTkSuQmCC",ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAGBAMAAAArhUMgAAAAJFBMVEUAAAD1RkD0RkH/MTHzRkH0RUD0RUL0RUL0RUL0Q0P1Rz30RUF5jChtAAAAC3RSTlMAhvIEsDCnXUYuGYJdtjUAAAAwSURBVAjXY0ABQkpKSmoMzEpAoMkgvXv37i0MzLuBYCsqp1FQUFCcgVkQCKRQ9AMAZYkPx3rveqsAAAAASUVORK5CYII=",B=m({name:"skeleton-modal",props:{show:{type:Boolean,default:!1},showCount:{type:Array,default:()=>[1,2,3,4,5]}},setup(c,{slots:e}){const t=b({loading:!1});return f(()=>{t.loading=c.show}),O(()=>c.show,()=>{t.loading=c.show}),()=>s(D,{loading:t.loading,style:"flex-wrap: wrap"},{template:()=>s("div",{style:{height:"calc(100vh - var(--header-height))",overflow:"hidden",width:"100%"}},[c.showCount.map(()=>s(A,{center:!0},{icon:()=>s("div",{class:a.iconGroup},[s(G,{class:a.iconStudent},null)]),title:()=>s("div",{class:a.userInfo},[s(p,{class:a.name,rowWidth:"60%"},null),s(p,{rowWidth:"40%"},null)]),value:()=>s("div",{class:a.after,style:{width:"80px"}},[s(p,{rowWidth:"100%"},null)])}))]),default:()=>e.default&&e.default()})}}),ys=m({name:"student-list",setup(){const c=k(),e=b({courseId:c.query.courseId,dataShow:!0,loading:!0,list:[]}),t=async()=>{try{const{data:i}=await h.get("/api-web/schoolCourseSchedule/queryCourseStudentList",{params:{courseId:e.courseId}});e.list=i||[]}catch(i){}finally{e.dataShow=!!e.list.length,e.loading=!1}};return f(()=>{t()}),()=>s("div",{class:a["student-list"]},[s(B,{show:e.loading,"onUpdate:show":i=>e.loading=i},{default:()=>[e.dataShow?e.list.map(i=>s(A,{center:!0},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:i.studentAvatar||L,class:a.iconStudent,fit:"cover"},null),i.memberFlag&&s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[i.studentName]),i.courseStatus==="NOT_START"?s("span",null,[o("未点名")]):s("span",{class:a[i.attendanceStatus]},[X[i.attendanceStatus]])]),value:()=>s("div",{class:a.after},[i.courseStatus==="NOT_START"?s("img",{src:ws,class:a.noStatus},null):i.qualifiedFlag?s("img",{src:vs,class:a.standard},null):s("img",{src:Ts,class:a.notStandard},null),s("p",{class:a.txt},[o("课后评价")])])})):s("div",{class:a.emptyContainer},[s(y,{description:"暂无数据"},null)])]})])}}),Ls=m({name:"teacher-list",setup(){const c=k(),e=R(),t=b({courseId:c.query.courseId,teacherId:c.query.teacherId,detail:{},loading:!0}),i=r=>{e.push({path:"/amap-gps",query:{sLngLat:r.schoolLongitudeLatitude,inLngLat:r.signInLongitudeLatitude,outLngLat:r.signOutLongitudeLatitude}})},l=async()=>{try{const{data:r}=await h.get("/api-web/schoolTeacherAttendance/getCourseTeacherAttendance",{params:{courseId:t.courseId,teacherId:t.teacherId}});t.detail=r||{}}catch(r){}finally{t.loading=!1}};return f(()=>{l()}),()=>s("div",{class:a["teacher-list"]},[s(D,{loading:t.loading},{template:()=>s("div",{class:a.skeletonGroup},[s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null)]),default:()=>s(A,{center:!0},{default:()=>[s("div",{class:a.detailGroup},[s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signInStatus||t.detail.courseStatus==="NOT_START"?"":a.error]},[t.detail.courseStatus==="NOT_START"?"未开始":t.detail.signInStatus?"正常":"异常"]),s("img",{src:t.detail.signInStatus||t.detail.courseStatus==="NOT_START"?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签到时间")," ",t.detail.signInTime?M(t.detail.signInTime).format("HH:mm:ss"):"--"])])]),t.detail.teachMode==="OFFLINE"?s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signInAddressStatus?"":a.error]},[t.detail.signInAddressStatus?"正常":"异常"]),s("img",{src:t.detail.signInAddressStatus?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签到地点")]),s("span",{class:a.locate,onClick:()=>i(t.detail)},[o("查看定位"),s(g,{name:"arrow",class:a.iconArrow},null)])])]):"",s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signOutStatus||t.detail.courseStatus=="NOT_START"?"":a.error]},[t.detail.courseStatus==="NOT_START"?"未开始":t.detail.signOutStatus?"正常":"异常"]),s("img",{src:t.detail.signOutStatus||t.detail.courseStatus==="NOT_START"?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签退时间")," ",t.detail.signOutTime?M(t.detail.signOutTime).format("HH:mm:ss"):"--"])])]),t.detail.teachMode==="OFFLINE"?s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signOutAddressStatus?"":a.error]},[t.detail.signOutAddressStatus?"正常":"异常"]),s("img",{src:t.detail.signOutAddressStatus?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签退地点")]),s("span",{class:a.locate,onClick:()=>i(t.detail)},[o("查看定位"),s(g,{name:"arrow",class:a.iconArrow},null)])])]):""])]})})])}}),Es="_details_1r11k_1",_s="_userCell_1r11k_28",ks="_content_1r11k_32",Bs="_title_1r11k_37",Ms="_iconGroup_1r11k_45",Os="_iconStudent_1r11k_50",Cs="_iconMember_1r11k_56",Ds="_userInfo_1r11k_62",Fs="_name_1r11k_62",Ns="_after_1r11k_72",Us="_error_1r11k_76",Rs="_success_1r11k_79",Ws="_tables_1r11k_82",qs="_thead_1r11k_86",Ps="_tbody_1r11k_87",Hs="_tContainer_1r11k_95",Xs="_col2_1r11k_99",xs="_col3_1r11k_102",Gs="_img_1r11k_105",js="_col1_1r11k_112",n={details:Es,userCell:_s,content:ks,title:Bs,iconGroup:Ms,iconStudent:Os,iconMember:Cs,userInfo:Ds,name:Fs,after:Ns,error:Us,success:Rs,tables:Ws,thead:qs,tbody:Ps,tContainer:Hs,col2:Xs,col3:xs,img:Gs,col1:js},Js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAkCAMAAAA6qw28AAAAolBMVEUAAAABwbUBwbUBwbYAwrYA1aoAxrMBwbX////i+PdT1c3W9fP8/v6f5+Ne19AGwrbd9/UxzcMLw7gSxbrB8O1939mo6uVG0skYx7zr+vnP8/Fa18/1/Pzv+/pN08s+0Mc4zsUsy8EgyL7Z9fSU5eB53tj4/f3H8e607emI4tyD4dvo+fiZ5uFk2dInysC77uuv6+eO495p2tNt29RB0Mdx3NVnVw28AAAAB3RSTlMA8s/HbAYbEBOn0QAAAnFJREFUSMe1l9l2qkAQRUk0OQdtggwyg4DiHKck//9rlyZel5EAL2G/NfTa3V1VzSoURXkZDp7whzwNhi9Kyesz/pzn13K/PXhL84syRC8MlQF6YaA8oReeFPzELDzUMJwP/Ia5SNHEg1gPqOZ45MxlaZhpN7aoeKPIcZncGDWLYfgMTKC23MTEO2+MUbGiAxS8EbaIcYi5xyPZkhsY0yunq9ggDSB3C8au6yaCRptYns/APdopxVlodzOuYodrSBLuqmWWeqsYJ9q4R+UIZoaa2BDLDKHjIqRaDt+5Qru4INNHcUlNvOYGpsoCF87L4YLnDnFAOugWh/TTRONcR1GFIuB2NrNaxBkjirxbvGOFC2zIA0zBks8W8ZZ7m4tusSZUe0mZ0z35AcO2bTJvFusTzhJGXqfY1BFyJ89u8ztvLuctMf6Sb8fcdoglecwEJRF9ZlX69s1iK+ZUlk7sdYrNFRfQZ96BfKNzndgoXlSn01U6XWLvSH97jOi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c9+39n+22EcfMgMyf4VRpmSY5JN2Qiq1W66PbadMf0u50P1rM5z/6c/598nwb8LL5o9WlRui2OtQInVabGqHdKsdiw4h/hFJjQhV4q/5bc4U4BdIfIQc2TXsKj/tsIHQKX9H8V3FcId5BIZHhMQyiAF/49eI+kClNPfSl2NGYDY/WGJmCGTDj61EAO4oijVv1Yg3ie9OSYokODOnJAtOix17eZm7Wi324lWKTYXFsMiRNYkT5IuIBlkz4uLp4+aAggT14kr/EfSiMeMAUa/IsBHTEmZsrDKrFS1SwfC/2se9rE5w9CrCXlbw6TlYh3hgFNrAzCjaqWOg620+6LsV7SCKiNZBSJsDcanI8FFCzpYqfxZPiibAuc0weaz3S7HI5AHqNOMTchvO7ODPv2dhyj0Mxkwg9qhFfYKxh/C7mhg2NGBuuDKywrBHHArdYiFQVy09J7I1Z5DlxCvhYcMBCXiM2cOb8YWyqYn5GS+JhAveazBHlcGmME4UQ2/fiCDjy+DkCVRxgWi4eJLvREgn52G33XMm3Yu+McVHBviJOMCiJfbiXVT4kz0Z4L2APIn0rNhcQsi6sck9F0n0t4wWXxN7wuQMI/jUTKL95qhfXQteDO3s9gbb5JY5Pt68NO8sNLUFy78Li8J04Y++KCnQLrkaSrcvhl9gFRMbF09ZcOkyeLx8TVItz6+VlUm4uvcc63O1LPJzYFtc3w53zSuBAzg7onaaAsS2LTY6LKynoB2BnkscXNrKH+W0/dt1pMKMlRD8EcBjKjta2POM1dif6hrkWbPQWOFKBKtbl980OaOi6R5OYq1hTWWyGJv1k9BislCEIPFKRfuc5z76piBuisQNLY0esxg6FjR1jGzt4N/ZX4T8z9nxdJiB/+AAAAABJRU5ErkJggg==",F=m({name:"detail-modal",props:{type:{type:String,default:"proctice"},title:{type:String,default:"学员练习详情"},detail:{type:Object,default:()=>({})}},setup(c){const e=b({detail:c.detail});return O(()=>c.detail,()=>{e.detail=c.detail}),()=>s("div",{class:n.details},[s("div",{class:n.content},[s("div",{class:n.title},[c.title]),s(A,{center:!0,class:n.userCell},{icon:()=>s("div",{class:n.iconGroup},[s(I,{src:e.detail.avatar||L,class:n.iconStudent,fit:"cover"},null),e.detail.memberFlag&&s(g,{name:E,class:n.iconMember},null)]),title:()=>s("div",{class:n.userInfo},[s("p",{class:n.name},[e.detail.username]),s("span",null,[e.detail.subjectName])]),value:()=>c.type==="proctice"?s("div",{class:[n.after,e.detail.finishFlag?n.success:n.error]},[e.detail.finishFlag?"完成":"未完成"]):s("div",{class:[n.after,e.detail.trainingScore>=60?n.success:n.error]},[e.detail.trainingScore||"--",o("分")])}),s("div",{class:n.tables},[c.type==="proctice"?s(_,null,[s(S,{class:n.thead},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[o("练习曲目")]}),s(d,{span:6,class:n.col2},{default:()=>[o("练习速度")]}),s(d,{span:6,class:n.col3},{default:()=>[o("次数/总计")]})]}),s("div",{class:n.tContainer},[e.detail.list.map(t=>s(S,{class:[n.tbody,"van-hairline--top"]},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[t.musicScoreName]}),s(d,{span:6,class:n.col2},{default:()=>[s("span",{class:n.success},[t.trainingSpeed]),o("速度")]}),s(d,{span:6,class:n.col3},{default:()=>[s("span",{class:t.trainingTimes<t.times?n.error:n.success},[t.trainingTimes]),o("/"),t.times,o("次")]})]})),e.detail.list.length<=0&&s(y,{description:"暂无练习",style:{paddingBottom:0}},null)])]):s(_,null,[s(S,{class:n.thead},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[o("评测曲目")]}),s(d,{span:6,class:n.col2},{default:()=>[o("难度")]}),s(d,{span:6,class:n.col3},{default:()=>[o("得分/达标")]})]}),s("div",{class:n.tContainer},[e.detail.list.map(t=>s(S,{class:[n.tbody,"van-hairline--top"]},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[t.musicScoreName]}),s(d,{span:6,class:n.col2},{default:()=>[t.heardLevel==="BEGINNER"&&s("img",{src:Js,class:n.img},null),t.heardLevel==="ADVANCED"&&s("img",{src:zs,class:n.img},null),t.heardLevel==="PERFORMER"&&s("img",{src:Vs,class:n.img},null)]}),s(d,{span:6,class:n.col3},{default:()=>[s("span",{class:(t.actualAvgScore<t.standardScore,n.error)},[t.actualAvgScore||"--"]),o("/"),t.standardScore,o("分")]})]})),e.detail.list.length<=0&&s(y,{description:"暂无评测",style:{paddingBottom:0}},null)])])])])])}});function Ys(c){return typeof c=="function"||Object.prototype.toString.call(c)==="[object Object]"&&!W(c)}const Ks=m({name:"practice-list",props:{courseId:{type:String,default:null}},setup(c){const e=b({showPopup:!1,list:[],dataShow:!0,detail:{},loading:!0}),t=async()=>{try{const{data:l}=await h.post("/api-web/schoolStudentHomework/findCourseStudentsPublic/v2",{data:{courseScheduleId:c.courseId,type:"HOMEWORK"}});e.list=l||[]}catch(l){}finally{e.dataShow=!!e.list.length,e.loading=!1}},i=async l=>{try{e.detail={avatar:l.avatar,memberFlag:l.vipFlag,username:l.userName,subjectName:l.subjectName,finishFlag:l.finishFlag,list:l.studentLessonTrainingDetail||[]},e.showPopup=!0}catch(r){}};return f(()=>{t()}),()=>{let l;return s("div",{class:a["practice-list"]},[s(B,{loading:e.loading,"onUpdate:loading":r=>e.loading=r},Ys(l=e.list.map(r=>s(A,{center:!0,isLink:!0,onClick:()=>i(r)},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:r.avatar||L,class:a.iconStudent,fit:"cover"},null),s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[r.userName]),s("span",null,[r.subjectName])]),value:()=>s("div",{class:[a.after,r.finishFlag?a.success:a.error]},[r.finishFlag?"完成":"未完成"])})))?l:{default:()=>[l]}),s(C,{show:e.showPopup,"onUpdate:show":r=>e.showPopup=r,position:"bottom",round:!0,closeable:!0,class:a.popup},{default:()=>[s(F,{detail:e.detail},null)]})])}}}),Qs=m({name:"evaluating-list",props:{lessonExaminationId:{type:Number,default:null}},setup(c){const e=b({showPopup:!1,list:[],dataShow:!0,detail:{},loading:!1}),t=async()=>{try{const{data:l}=await h.post("/api-web/schoolStudentHomework/queryLessonStudent",{data:{lessonExaminationId:c.lessonExaminationId}});e.list=l.rows||[]}catch(l){}finally{e.dataShow=!!e.list.length,e.loading=!1}},i=async l=>{try{if(e.detail.userId!=l.userId){const{data:r}=await h.post("/api-web/schoolStudentHomework/queryStudentLessonDetail",{hideLoading:!1,data:{lessonExaminationId:c.lessonExaminationId,userId:l.userId}});e.detail={userId:l.userId,avatar:l.avatar,memberFlag:l.memberFlag,username:l.username,subjectName:l.subjectName,trainingScore:l.trainingScore,list:r||[]}}e.showPopup=!0}catch(r){}};return f(()=>{t()}),()=>s("div",{class:a["practice-list"]},[s(B,{show:e.loading,"onUpdate:show":l=>e.loading=l},{default:()=>[e.dataShow?e.list.map(l=>s(A,{center:!0,isLink:!0,onClick:()=>i(l)},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:l.avatar||L,class:a.iconStudent,fit:"cover"},null),l.memberFlag&&s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[l.username]),s("span",null,[l.subjectName])]),value:()=>s("div",{class:[a.after,l.trainingScore>=60?a.success:a.error]},[l.trainingScore||"--",o("分")])})):s("div",{class:a.emptyContainer},[s(y,{description:"暂无数据"},null)])]}),s(C,{show:e.showPopup,"onUpdate:show":l=>e.showPopup=l,position:"bottom",round:!0,closeable:!0,class:a.popup},{default:()=>[s(F,{type:"evaluating",detail:e.detail},null)]})])}}),pt=m({name:"lesson-list-detail",setup(){const c=k(),e=sessionStorage.getItem("lesson-detail-tab-value"),t=b({courseId:c.query.courseId,tabs:e||"student",loading:!0,headerDetail:{}}),i=async()=>{try{const{data:l}=await h.get("/api-web/schoolCourseSchedule/getCourseDetail",{params:{courseId:t.courseId}});t.headerDetail=l||{}}catch(l){}finally{t.loading=!1}};return f(()=>{i()}),()=>s(_,null,[s(q,null,null),s(N,{show:t.loading,"onUpdate:show":l=>t.loading=l,showCount:[1]},{default:()=>[s(j,{inset:!0,class:u.lessonCellGroup},{default:()=>[s(A,{center:!0,class:u.timeCell},{title:()=>s("span",null,[t.headerDetail.classDate]),value:()=>s("span",null,[x[t.headerDetail.courseStatus]])}),s(A,{center:!0,border:!1},{icon:()=>s(I,{src:t.headerDetail.teacherAvatar||P,fit:"cover",class:u.iconStudent},null),title:()=>s("div",{class:u.userInfo},[s("p",{class:u.name},[t.headerDetail.teacherName]),s("p",{class:u.subject},[t.headerDetail.courseName])]),value:()=>s("div",{class:u.people},[s("img",{src:U,class:u.iconPeople},null),t.headerDetail.studentNum,o("人")])}),s(A,{center:!0,class:u.musicCell},{title:()=>s("div",{class:u.musicInfo},[s(g,{name:H,class:u.iconMusic},null),s("span",{class:"van-ellipsis"},[t.headerDetail.musicGroupName])]),label:()=>s(S,{class:u.rowGroup},{default:()=>[s(d,null,{default:()=>[o("正常出勤")," ",s("span",null,[t.headerDetail.attendanceNormalNum])]}),s(d,null,{default:()=>[o("迟到"),s("span",{class:u.c},[t.headerDetail.attendanceLateNum])]}),s(d,null,{default:()=>[o("请假"),s("span",{class:u.q},[t.headerDetail.attendanceLeaveNum])]}),s(d,null,{default:()=>[o("旷课"),s("span",{class:u.k},[t.headerDetail.attendanceTruantNum])]})]})})]})]}),t.headerDetail.courseId&&s("div",{class:u.tabs},[s(J,{active:t.tabs,"onUpdate:active":l=>t.tabs=l,lazyRender:!0,onChange:()=>{sessionStorage.setItem("lesson-detail-tab-value",t.tabs)}},{default:()=>[s(w,{title:"学员考勤",name:"student"},{default:()=>[s(ys,null,null)]}),s(w,{title:"老师考勤",name:"teacher"},{default:()=>[s(Ls,null,null)]}),t.headerDetail.homeworkType==="HOMEWORK"&&s(w,{title:"练习内容",name:"practice"},{default:()=>[s(Ks,{courseId:t.courseId},null)]}),t.headerDetail.homeworkType==="LESSON"&&s(w,{title:"评测内容",name:"evaluating"},{default:()=>[s(Qs,{lessonExaminationId:t.headerDetail.homeworkId},null)]})]})])])}});export{pt as default};
- ========
- import{S as N,s as u,i as U}from"./skeleton-index-modal-e15d9dd5.js";import{d as m,O as b,o as f,w as O,g as s,I as g,h as o,T as y,W as k,a as h,S as M,N as R,F as _,P as C,X as W,R as q}from"./index-dbd58bee.js";import{i as P}from"./icon-teacher-default-a5bec550.js";import{i as H}from"./icon-music-10132ef5.js";import{i as L}from"./icon-student-default-4c78efb2.js";import{g as X,a as x}from"./constant-a400d214.js";import{S as D,b as G,a as p}from"./index-8ef299c2.js";import{C as A}from"./index-56f3e976.js";import{I}from"./index-56f13818.js";import{i as v}from"./icon-check-active-15efb9a0.js";import{i as T}from"./icon-warn-15c4cc5c.js";import{R as S,C as d}from"./index-1c7ef11d.js";import{C as j}from"./index-372c1fbe.js";import{T as J,a as w}from"./index-96c8c221.js";import"./use-tab-status-855575aa.js";const z="_iconGroup_sc9pl_5",V="_iconStudent_sc9pl_10",Y="_iconMember_sc9pl_16",K="_userInfo_sc9pl_22",Q="_name_sc9pl_22",Z="_TRUANT_sc9pl_36",$="_LEAVE_sc9pl_40",ss="_QUIT_SCHOOL_sc9pl_44",ts="_DROP_OUT_sc9pl_48",as="_LATE_sc9pl_52",es="_after_sc9pl_60",ls="_standard_sc9pl_65",ns="_notStandard_sc9pl_69",cs="_noStatus_sc9pl_73",os="_txt_sc9pl_77",is="_error_sc9pl_80",rs="_success_sc9pl_83",us="_detailGroup_sc9pl_86",ds="_detailItem_sc9pl_93",As="_detailStatus_sc9pl_100",ps="_statusName_sc9pl_107",gs="_img_sc9pl_110",ms="_sign_sc9pl_114",bs="_locate_sc9pl_122",hs="_skeletonGroup_sc9pl_126",fs="_skeletonItem_sc9pl_135",Ss="_popup_sc9pl_173",Is="_emptyContainer_sc9pl_176",a={"student-list":"_student-list_sc9pl_1",iconGroup:z,iconStudent:V,iconMember:Y,userInfo:K,name:Q,TRUANT:Z,LEAVE:$,QUIT_SCHOOL:ss,DROP_OUT:ts,LATE:as,default:"_default_sc9pl_56",after:es,standard:ls,notStandard:ns,noStatus:cs,txt:os,error:is,success:rs,"teacher-list":"_teacher-list_sc9pl_86",detailGroup:us,detailItem:ds,detailStatus:As,statusName:ps,img:gs,sign:ms,locate:bs,skeletonGroup:hs,skeletonItem:fs,"practice-list":"_practice-list_sc9pl_143",popup:Ss,emptyContainer:Is},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAB+1BMVEUAAAD1y4b01ZnvxIX+5ajfpGL+56rgqmr/35/iqmr/26Tbtm3ms3PfpWP/6KzdoF/00ZLfomHwx4jswIHdoF/636H53Z/jrGviqmn/6KvxyYvrvn752pzjrm7105bmtXXfo2HyzI7rvH3eoV/946blsXDfpmX/6arz0JDqvHvfoWH/46Tjqmz446r11ZXouHfot3f+6Kv+56v74KT74KP42Jr22Jr/9eP/8uj/8+f/8er/9uL/8Oz/9eX/9t//8dP/7Mn/4bL/57//79D/6ML/5Lj/367/3qz/8tb/6sT/5r3/4LD/2qP/9dz/89j+7NP/7cv/5br/4rT/3an/2aD/68b/47b/26bgrkXfrUHdqDn/7s7/3Kf/153su3zeqjvdpjbaoy/Xnin/9+H66cT34bbuzIPryXvpxHLowW3luFnjtVXeqz7/8uP/9Nn+7tj/7s396sr74rb85Kvv0I7u0IvqxXflul3isUzhr0nbpTPZoS3/9Nv758f45L3337L3267736v03Kj12Kb+16D00JXz1JT1xonzw4XrvoLsyn/mr2/mvWPitFH+7uL+8N/55cL+6Lz64rn95rT74q/82ab32aT32qD206D81Jn0yY/tzIjotnfntHXnsnLjrGvnwGjfpGPVmyP337X73Kjz2J7wy5bwyI/v0o7fT6M2AAAAN3RSTlMADPz498iaJBgYBwf5+fj49PTq6uri4uLiyMjIx8ebm5uZmZmJiYlXV1dXLS0kJPT06urHx4mJH0k6TAAAApdJREFUOMtl0GdXGkEUBuBZpNh7771reiBsXEDsAgtWxIiCdESka+y9995L6s/MzO6STfQ9hy88e+97zwA2WAU/6218/JssfgUGXqaOz/Udeki3m/Qc+rj8umccXco9JsWfmYjIY25p9L8e+d5HMiimQ/re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AplrwvSlwx0gB7MHi4u17DbLGHzBCq3+ZPwBI2QrcBAeTAAAAAElFTkSuQmCC",ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAGBAMAAAArhUMgAAAAJFBMVEUAAAD1RkD0RkH/MTHzRkH0RUD0RUL0RUL0RUL0Q0P1Rz30RUF5jChtAAAAC3RSTlMAhvIEsDCnXUYuGYJdtjUAAAAwSURBVAjXY0ABQkpKSmoMzEpAoMkgvXv37i0MzLuBYCsqp1FQUFCcgVkQCKRQ9AMAZYkPx3rveqsAAAAASUVORK5CYII=",B=m({name:"skeleton-modal",props:{show:{type:Boolean,default:!1},showCount:{type:Array,default:()=>[1,2,3,4,5]}},setup(c,{slots:e}){const t=b({loading:!1});return f(()=>{t.loading=c.show}),O(()=>c.show,()=>{t.loading=c.show}),()=>s(D,{loading:t.loading,style:"flex-wrap: wrap"},{template:()=>s("div",{style:{height:"calc(100vh - var(--header-height))",overflow:"hidden",width:"100%"}},[c.showCount.map(()=>s(A,{center:!0},{icon:()=>s("div",{class:a.iconGroup},[s(G,{class:a.iconStudent},null)]),title:()=>s("div",{class:a.userInfo},[s(p,{class:a.name,rowWidth:"60%"},null),s(p,{rowWidth:"40%"},null)]),value:()=>s("div",{class:a.after,style:{width:"80px"}},[s(p,{rowWidth:"100%"},null)])}))]),default:()=>e.default&&e.default()})}}),ys=m({name:"student-list",setup(){const c=k(),e=b({courseId:c.query.courseId,dataShow:!0,loading:!0,list:[]}),t=async()=>{try{const{data:i}=await h.get("/api-web/schoolCourseSchedule/queryCourseStudentList",{params:{courseId:e.courseId}});e.list=i||[]}catch(i){}finally{e.dataShow=!!e.list.length,e.loading=!1}};return f(()=>{t()}),()=>s("div",{class:a["student-list"]},[s(B,{show:e.loading,"onUpdate:show":i=>e.loading=i},{default:()=>[e.dataShow?e.list.map(i=>s(A,{center:!0},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:i.studentAvatar||L,class:a.iconStudent,fit:"cover"},null),i.memberFlag&&s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[i.studentName]),i.courseStatus==="NOT_START"?s("span",null,[o("未点名")]):s("span",{class:a[i.attendanceStatus]},[X[i.attendanceStatus]])]),value:()=>s("div",{class:a.after},[i.courseStatus==="NOT_START"?s("img",{src:ws,class:a.noStatus},null):i.qualifiedFlag?s("img",{src:vs,class:a.standard},null):s("img",{src:Ts,class:a.notStandard},null),s("p",{class:a.txt},[o("课后评价")])])})):s("div",{class:a.emptyContainer},[s(y,{description:"暂无数据"},null)])]})])}}),Ls=m({name:"teacher-list",setup(){const c=k(),e=R(),t=b({courseId:c.query.courseId,teacherId:c.query.teacherId,detail:{},loading:!0}),i=r=>{e.push({path:"/amap-gps",query:{sLngLat:r.schoolLongitudeLatitude,inLngLat:r.signInLongitudeLatitude,outLngLat:r.signOutLongitudeLatitude}})},l=async()=>{try{const{data:r}=await h.get("/api-web/schoolTeacherAttendance/getCourseTeacherAttendance",{params:{courseId:t.courseId,teacherId:t.teacherId}});t.detail=r||{}}catch(r){}finally{t.loading=!1}};return f(()=>{l()}),()=>s("div",{class:a["teacher-list"]},[s(D,{loading:t.loading},{template:()=>s("div",{class:a.skeletonGroup},[s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null),s(p,{class:a.skeletonItem,rowWidth:"50%"},null)]),default:()=>s(A,{center:!0},{default:()=>[s("div",{class:a.detailGroup},[s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signInStatus||t.detail.courseStatus==="NOT_START"?"":a.error]},[t.detail.courseStatus==="NOT_START"?"未开始":t.detail.signInStatus?"正常":"异常"]),s("img",{src:t.detail.signInStatus||t.detail.courseStatus==="NOT_START"?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签到时间")," ",t.detail.signInTime?M(t.detail.signInTime).format("HH:mm:ss"):"--"])])]),t.detail.teachMode==="OFFLINE"?s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signInAddressStatus?"":a.error]},[t.detail.signInAddressStatus?"正常":"异常"]),s("img",{src:t.detail.signInAddressStatus?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签到地点")]),s("span",{class:a.locate,onClick:()=>i(t.detail)},[o("查看定位"),s(g,{name:"arrow",class:a.iconArrow},null)])])]):"",s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signOutStatus||t.detail.courseStatus=="NOT_START"?"":a.error]},[t.detail.courseStatus==="NOT_START"?"未开始":t.detail.signOutStatus?"正常":"异常"]),s("img",{src:t.detail.signOutStatus||t.detail.courseStatus==="NOT_START"?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签退时间")," ",t.detail.signOutTime?M(t.detail.signOutTime).format("HH:mm:ss"):"--"])])]),t.detail.teachMode==="OFFLINE"?s("div",{class:a.detailItem},[s("div",{class:a.detailStatus},[s("span",{class:[a.statusName,t.detail.signOutAddressStatus?"":a.error]},[t.detail.signOutAddressStatus?"正常":"异常"]),s("img",{src:t.detail.signOutAddressStatus?v:T,class:a.img},null)]),s("div",{class:a.sign},[s("span",{class:a.signTime},[o("签退地点")]),s("span",{class:a.locate,onClick:()=>i(t.detail)},[o("查看定位"),s(g,{name:"arrow",class:a.iconArrow},null)])])]):""])]})})])}}),Es="_details_1r11k_1",_s="_userCell_1r11k_28",ks="_content_1r11k_32",Bs="_title_1r11k_37",Ms="_iconGroup_1r11k_45",Os="_iconStudent_1r11k_50",Cs="_iconMember_1r11k_56",Ds="_userInfo_1r11k_62",Fs="_name_1r11k_62",Ns="_after_1r11k_72",Us="_error_1r11k_76",Rs="_success_1r11k_79",Ws="_tables_1r11k_82",qs="_thead_1r11k_86",Ps="_tbody_1r11k_87",Hs="_tContainer_1r11k_95",Xs="_col2_1r11k_99",xs="_col3_1r11k_102",Gs="_img_1r11k_105",js="_col1_1r11k_112",n={details:Es,userCell:_s,content:ks,title:Bs,iconGroup:Ms,iconStudent:Os,iconMember:Cs,userInfo:Ds,name:Fs,after:Ns,error:Us,success:Rs,tables:Ws,thead:qs,tbody:Ps,tContainer:Hs,col2:Xs,col3:xs,img:Gs,col1:js},Js="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAkCAMAAAA6qw28AAAAolBMVEUAAAABwbUBwbUBwbYAwrYA1aoAxrMBwbX////i+PdT1c3W9fP8/v6f5+Ne19AGwrbd9/UxzcMLw7gSxbrB8O1939mo6uVG0skYx7zr+vnP8/Fa18/1/Pzv+/pN08s+0Mc4zsUsy8EgyL7Z9fSU5eB53tj4/f3H8e607emI4tyD4dvo+fiZ5uFk2dInysC77uuv6+eO495p2tNt29RB0Mdx3NVnVw28AAAAB3RSTlMA8s/HbAYbEBOn0QAAAnFJREFUSMe1l9l2qkAQRUk0OQdtggwyg4DiHKck//9rlyZel5EAL2G/NfTa3V1VzSoURXkZDp7whzwNhi9Kyesz/pzn13K/PXhL84syRC8MlQF6YaA8oReeFPzELDzUMJwP/Ia5SNHEg1gPqOZ45MxlaZhpN7aoeKPIcZncGDWLYfgMTKC23MTEO2+MUbGiAxS8EbaIcYi5xyPZkhsY0yunq9ggDSB3C8au6yaCRptYns/APdopxVlodzOuYodrSBLuqmWWeqsYJ9q4R+UIZoaa2BDLDKHjIqRaDt+5Qru4INNHcUlNvOYGpsoCF87L4YLnDnFAOugWh/TTRONcR1GFIuB2NrNaxBkjirxbvGOFC2zIA0zBks8W8ZZ7m4tusSZUe0mZ0z35AcO2bTJvFusTzhJGXqfY1BFyJ89u8ztvLuctMf6Sb8fcdoglecwEJRF9ZlX69s1iK+ZUlk7sdYrNFRfQZ96BfKNzndgoXlSn01U6XWLvSH97jOiG9BEIo9zN0moUz5Z8Q8mITLqSR4kIsj3XCBlYO2poEh/8/9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z/6c/598nwb8LL5o9WlRui2OtQInVabGqHdKsdiw4h/hFJjQhV4q/5bc4U4BdIfIQc2TXsKj/tsIHQKX9H8V3FcId5BIZHhMQyiAF/49eI+kClNPfSl2NGYDY/WGJmCGTDj61EAO4oijVv1Yg3ie9OSYokODOnJAtOix17eZm7Wi324lWKTYXFsMiRNYkT5IuIBlkz4uLp4+aAggT14kr/EfSiMeMAUa/IsBHTEmZsrDKrFS1SwfC/2se9rE5w9CrCXlbw6TlYh3hgFNrAzCjaqWOg620+6LsV7SCKiNZBSJsDcanI8FFCzpYqfxZPiibAuc0weaz3S7HI5AHqNOMTchvO7ODPv2dhyj0Mxkwg9qhFfYKxh/C7mhg2NGBuuDKywrBHHArdYiFQVy09J7I1Z5DlxCvhYcMBCXiM2cOb8YWyqYn5GS+JhAveazBHlcGmME4UQ2/fiCDjy+DkCVRxgWi4eJLvREgn52G33XMm3Yu+McVHBviJOMCiJfbiXVT4kz0Z4L2APIn0rNhcQsi6sck9F0n0t4wWXxN7wuQMI/jUTKL95qhfXQteDO3s9gbb5JY5Pt68NO8sNLUFy78Li8J04Y++KCnQLrkaSrcvhl9gFRMbF09ZcOkyeLx8TVItz6+VlUm4uvcc63O1LPJzYFtc3w53zSuBAzg7onaaAsS2LTY6LKynoB2BnkscXNrKH+W0/dt1pMKMlRD8EcBjKjta2POM1dif6hrkWbPQWOFKBKtbl980OaOi6R5OYq1hTWWyGJv1k9BislCEIPFKRfuc5z76piBuisQNLY0esxg6FjR1jGzt4N/ZX4T8z9nxdJiB/+AAAAABJRU5ErkJggg==",F=m({name:"detail-modal",props:{type:{type:String,default:"proctice"},title:{type:String,default:"学员练习详情"},detail:{type:Object,default:()=>({})}},setup(c){const e=b({detail:c.detail});return O(()=>c.detail,()=>{e.detail=c.detail}),()=>s("div",{class:n.details},[s("div",{class:n.content},[s("div",{class:n.title},[c.title]),s(A,{center:!0,class:n.userCell},{icon:()=>s("div",{class:n.iconGroup},[s(I,{src:e.detail.avatar||L,class:n.iconStudent,fit:"cover"},null),e.detail.memberFlag&&s(g,{name:E,class:n.iconMember},null)]),title:()=>s("div",{class:n.userInfo},[s("p",{class:n.name},[e.detail.username]),s("span",null,[e.detail.subjectName])]),value:()=>c.type==="proctice"?s("div",{class:[n.after,e.detail.finishFlag?n.success:n.error]},[e.detail.finishFlag?"完成":"未完成"]):s("div",{class:[n.after,e.detail.trainingScore>=60?n.success:n.error]},[e.detail.trainingScore||"--",o("分")])}),s("div",{class:n.tables},[c.type==="proctice"?s(_,null,[s(S,{class:n.thead},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[o("练习曲目")]}),s(d,{span:6,class:n.col2},{default:()=>[o("练习速度")]}),s(d,{span:6,class:n.col3},{default:()=>[o("次数/总计")]})]}),s("div",{class:n.tContainer},[e.detail.list.map(t=>s(S,{class:[n.tbody,"van-hairline--top"]},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[t.musicScoreName]}),s(d,{span:6,class:n.col2},{default:()=>[s("span",{class:n.success},[t.trainingSpeed]),o("速度")]}),s(d,{span:6,class:n.col3},{default:()=>[s("span",{class:t.trainingTimes<t.times?n.error:n.success},[t.trainingTimes]),o("/"),t.times,o("次")]})]})),e.detail.list.length<=0&&s(y,{description:"暂无练习",style:{paddingBottom:0}},null)])]):s(_,null,[s(S,{class:n.thead},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[o("评测曲目")]}),s(d,{span:6,class:n.col2},{default:()=>[o("难度")]}),s(d,{span:6,class:n.col3},{default:()=>[o("得分/达标")]})]}),s("div",{class:n.tContainer},[e.detail.list.map(t=>s(S,{class:[n.tbody,"van-hairline--top"]},{default:()=>[s(d,{span:12,class:n.col1},{default:()=>[t.musicScoreName]}),s(d,{span:6,class:n.col2},{default:()=>[t.heardLevel==="BEGINNER"&&s("img",{src:Js,class:n.img},null),t.heardLevel==="ADVANCED"&&s("img",{src:zs,class:n.img},null),t.heardLevel==="PERFORMER"&&s("img",{src:Vs,class:n.img},null)]}),s(d,{span:6,class:n.col3},{default:()=>[s("span",{class:(t.actualAvgScore<t.standardScore,n.error)},[t.actualAvgScore||"--"]),o("/"),t.standardScore,o("分")]})]})),e.detail.list.length<=0&&s(y,{description:"暂无评测",style:{paddingBottom:0}},null)])])])])])}});function Ys(c){return typeof c=="function"||Object.prototype.toString.call(c)==="[object Object]"&&!W(c)}const Ks=m({name:"practice-list",props:{courseId:{type:String,default:null}},setup(c){const e=b({showPopup:!1,list:[],dataShow:!0,detail:{},loading:!0}),t=async()=>{try{const{data:l}=await h.post("/api-web/schoolStudentHomework/findCourseStudentsPublic/v2",{data:{courseScheduleId:c.courseId,type:"HOMEWORK"}});e.list=l||[]}catch(l){}finally{e.dataShow=!!e.list.length,e.loading=!1}},i=async l=>{try{e.detail={avatar:l.avatar,memberFlag:l.vipFlag,username:l.userName,subjectName:l.subjectName,finishFlag:l.finishFlag,list:l.studentLessonTrainingDetail||[]},e.showPopup=!0}catch(r){}};return f(()=>{t()}),()=>{let l;return s("div",{class:a["practice-list"]},[s(B,{loading:e.loading,"onUpdate:loading":r=>e.loading=r},Ys(l=e.list.map(r=>s(A,{center:!0,isLink:!0,onClick:()=>i(r)},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:r.avatar||L,class:a.iconStudent,fit:"cover"},null),s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[r.userName]),s("span",null,[r.subjectName])]),value:()=>s("div",{class:[a.after,r.finishFlag?a.success:a.error]},[r.finishFlag?"完成":"未完成"])})))?l:{default:()=>[l]}),s(C,{show:e.showPopup,"onUpdate:show":r=>e.showPopup=r,position:"bottom",round:!0,closeable:!0,class:a.popup},{default:()=>[s(F,{detail:e.detail},null)]})])}}}),Qs=m({name:"evaluating-list",props:{lessonExaminationId:{type:Number,default:null}},setup(c){const e=b({showPopup:!1,list:[],dataShow:!0,detail:{},loading:!1}),t=async()=>{try{const{data:l}=await h.post("/api-web/schoolStudentHomework/queryLessonStudent",{data:{lessonExaminationId:c.lessonExaminationId}});e.list=l.rows||[]}catch(l){}finally{e.dataShow=!!e.list.length,e.loading=!1}},i=async l=>{try{if(e.detail.userId!=l.userId){const{data:r}=await h.post("/api-web/schoolStudentHomework/queryStudentLessonDetail",{hideLoading:!1,data:{lessonExaminationId:c.lessonExaminationId,userId:l.userId}});e.detail={userId:l.userId,avatar:l.avatar,memberFlag:l.memberFlag,username:l.username,subjectName:l.subjectName,trainingScore:l.trainingScore,list:r||[]}}e.showPopup=!0}catch(r){}};return f(()=>{t()}),()=>s("div",{class:a["practice-list"]},[s(B,{show:e.loading,"onUpdate:show":l=>e.loading=l},{default:()=>[e.dataShow?e.list.map(l=>s(A,{center:!0,isLink:!0,onClick:()=>i(l)},{icon:()=>s("div",{class:a.iconGroup},[s(I,{src:l.avatar||L,class:a.iconStudent,fit:"cover"},null),l.memberFlag&&s(g,{name:E,class:a.iconMember},null)]),title:()=>s("div",{class:a.userInfo},[s("p",{class:a.name},[l.username]),s("span",null,[l.subjectName])]),value:()=>s("div",{class:[a.after,l.trainingScore>=60?a.success:a.error]},[l.trainingScore||"--",o("分")])})):s("div",{class:a.emptyContainer},[s(y,{description:"暂无数据"},null)])]}),s(C,{show:e.showPopup,"onUpdate:show":l=>e.showPopup=l,position:"bottom",round:!0,closeable:!0,class:a.popup},{default:()=>[s(F,{type:"evaluating",detail:e.detail},null)]})])}}),pt=m({name:"lesson-list-detail",setup(){const c=k(),e=sessionStorage.getItem("lesson-detail-tab-value"),t=b({courseId:c.query.courseId,tabs:e||"student",loading:!0,headerDetail:{}}),i=async()=>{try{const{data:l}=await h.get("/api-web/schoolCourseSchedule/getCourseDetail",{params:{courseId:t.courseId}});t.headerDetail=l||{}}catch(l){}finally{t.loading=!1}};return f(()=>{i()}),()=>s(_,null,[s(q,null,null),s(N,{show:t.loading,"onUpdate:show":l=>t.loading=l,showCount:[1]},{default:()=>[s(j,{inset:!0,class:u.lessonCellGroup},{default:()=>[s(A,{center:!0,class:u.timeCell},{title:()=>s("span",null,[t.headerDetail.classDate]),value:()=>s("span",null,[x[t.headerDetail.courseStatus]])}),s(A,{center:!0,border:!1},{icon:()=>s(I,{src:t.headerDetail.teacherAvatar||P,fit:"cover",class:u.iconStudent},null),title:()=>s("div",{class:u.userInfo},[s("p",{class:u.name},[t.headerDetail.teacherName]),s("p",{class:u.subject},[t.headerDetail.courseName])]),value:()=>s("div",{class:u.people},[s("img",{src:U,class:u.iconPeople},null),t.headerDetail.studentNum,o("人")])}),s(A,{center:!0,class:u.musicCell},{title:()=>s("div",{class:u.musicInfo},[s(g,{name:H,class:u.iconMusic},null),s("span",{class:"van-ellipsis"},[t.headerDetail.musicGroupName])]),label:()=>s(S,{class:u.rowGroup},{default:()=>[s(d,null,{default:()=>[o("正常出勤")," ",s("span",null,[t.headerDetail.attendanceNormalNum])]}),s(d,null,{default:()=>[o("迟到"),s("span",{class:u.c},[t.headerDetail.attendanceLateNum])]}),s(d,null,{default:()=>[o("请假"),s("span",{class:u.q},[t.headerDetail.attendanceLeaveNum])]}),s(d,null,{default:()=>[o("旷课"),s("span",{class:u.k},[t.headerDetail.attendanceTruantNum])]})]})})]})]}),t.headerDetail.courseId&&s("div",{class:u.tabs},[s(J,{active:t.tabs,"onUpdate:active":l=>t.tabs=l,lazyRender:!0,onChange:()=>{sessionStorage.setItem("lesson-detail-tab-value",t.tabs)}},{default:()=>[s(w,{title:"学员考勤",name:"student"},{default:()=>[s(ys,null,null)]}),s(w,{title:"老师考勤",name:"teacher"},{default:()=>[s(Ls,null,null)]}),t.headerDetail.homeworkType==="HOMEWORK"&&s(w,{title:"练习内容",name:"practice"},{default:()=>[s(Ks,{courseId:t.courseId},null)]}),t.headerDetail.homeworkType==="LESSON"&&s(w,{title:"评测内容",name:"evaluating"},{default:()=>[s(Qs,{lessonExaminationId:t.headerDetail.homeworkId},null)]})]})])])}});export{pt as default};
- >>>>>>>> 87d4d1b1 (更新):dist/assets/detail-84c0f516.js
|