evaluationRecords-87b09745-1731319840132.js 20 KB

1
  1. import{s as r}from"./index.module-622ebf5e-1731319840132.js";import{u as de}from"./useECharts-966ad2e5-1731319840132.js";import{c as me,d as pe,e as ge}from"./api-7fc192d9-1731319840132.js";import{s as he}from"./api-de5ca66f-1731319840132.js";import{g as B,a as Y,e as I,N as D,h as U,j as J,f as V,b as S,k as fe,i as ye,c as De,d as ve}from"./icon-sort-asc-022eea20-1731319840132.js";import{C as j}from"./index-3a8a6739-1731319840132.js";import{T as Z}from"./index-eedcb178-1731319840132.js";import{i as X,s as O}from"./use-async-44e3cc0a-1731319840132.js";import{d as $,a as _,r as F,e as m,q as ee,f as e,x as k,N as ae,g as f,j as v,k as s,aG as te,F as b,c as Te,b as Fe,h as Ae,y as Q,aP as q,l as Ce,m as we,G as be,V as Ie,aM as W,aQ as K,Q as Se}from"./index-6198d9d3-1731319840132.js";import{P as xe}from"./index-9710e333-1731319840132.js";import{v as Ee}from"./urlUtils-72ef455d-1731319840132.js";import{C as z}from"./index-108fa044-1731319840132.js";import{e as ke}from"./searchArray-3567ea02-1731319840132.js";import{u as Ne}from"./catchData-21a2ae20-1731319840132.js";import{T as Pe}from"./index-37b41ea0-1731319840132.js";import{C as Re,F as Me}from"./index-d85dbeb3-1731319840132.js";import{N as Ue}from"./Cascader-6acdac20-1731319840132.js";const _e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAqCAYAAACpxZteAAAAAXNSR0IArs4c6QAAA/NJREFUWEftll+IVGUYxp/nzOpsomUhpZvTjUZWFmsQFgrRRQltuRea3mQXc2a22tygbpozo3RA2zMGQmih685ZsKhwi93cLDIp+iNF/5QwwcqgEDIlWKGMnW3OeWJn251zZmd3ZnYxCJq7ec/7Pb/v/fO930dc4h8vsT6mBCi+Yx6MwfvgsxXUrQAXQZgD4iyAnwAdhsF+djvfT7bRigB17Iri4tnHQWQgXVU9SvaCytDNni73nQBQeyaGvHcQworqwkEPDoE06Xa+GrIG/6jNWgYPH0K6p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nnrXf/7mqjn2PI5LuyuWe/CgRYhN9Md2jtL50GXq8Bjd0BdhTKcDx80V0r6DMDMikhrxoiEn0WdokaaPLsDMR4sqrEc/6+iI67p7ThlzkANokrcoBDFcngmy7JoClHZKcgTUYheEq1ln6BJIziTKPh1zSHeKn1wSI6k3ZeiUHADc4EeyW9LQrRcsTIb5/TQBLWyWtdWmtY11EUUC5iiH4WiLM3JlcDchn6VDB8G9ivaUVaWmo3smfkyHeejXCV6pokpAp96rs2poaNnD6Nk3ov4izbgPBx92Xp0pgvogigkKu/P+YCHNeppvWRbQH0BOu3CUNcWdhZxwJ5I/pATuNA3mbJNcnQmzJAPyWbraFXwqiOGqq8Vipq7mztj6mR9M2dkMaN7QBdk6YjtnOIMrNA5+ljZI25e2SvEDAqjZoPRng0NURwPSobukXXoawApDJrSPTJBYngjyY+RayhkzTimIPpGXDUjF4S3OulacoeAU05nVe1wJjGIwHGRs6C5fx9lZVJy9gm6TVlRxsvg8HDNEcD3G7+33RmeyLaiWENyTVVQIi+YMzvxNh5ppm0QjcYr5WjdYFrCGwTMKCvDwPdstLAA6S2NUdwJ7sZbdwQ5XdTWMa329jBok6EakqIMnx6OxaycvlIvwH+wgy5cy9OxMAAAAASUVORK5CYII=",aa=$({name:"student-practiceData",props:{studentId:{type:String,default:""},classGroupId:{type:String,default:""}},setup(T){const p=_(),N=F(null),{setOptions:P}=de(N),R=F(!0),i=m({height:"360px",width:"100%",practiceDurationAvg:0,practiceDays:0,practiceDurationTotal:0,dateList:[],timeList:[]}),o=m({loading:!1,dayFlag:!0,pagination:{page:1,rows:10,pageTotal:4},tableList:[],goCourseVisiable:!1}),t=F([B(new Date().getTime()),Y(new Date().getTime())]),u=()=>[{title:"日期",key:"date"},{title:"学练时长",key:"practiceDuration",render(l){return e(b,null,[" ",e(b,null,[l.practiceDuration?V(l.practiceDuration,1):"0分钟"])])}}],A=async()=>{try{const l=await he({page:1,rows:999,dayFlag:o.dayFlag,studentId:T.studentId,classGroupId:T.classGroupId,...S(t.value,["startTime","endTime"],"YYYY-MM-DD")});o.tableList=l.data.rows}catch(l){console.log(l)}},C=()=>{P({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!1,selected:{"学练时长(分钟)":R.value}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{show:!0},data:i.dateList},yAxis:[{type:"value",axisLabel:{formatter:l=>l+"min"},axisTick:{show:!1},splitArea:{show:!1,areaStyle:{color:["rgba(255,255,255,0.2)"]}}}],grid:{left:"1%",right:"1%",top:"2%",bottom:0,containLabel:!0},series:[{data:i.timeList,type:"bar",barWidth:"48px",stack:"total",itemStyle:{normal:{barBorderRadius:[8,8,0,0],color:"#D5E9FF"},emphasis:{focus:"series",color:"#3583FA"}}}],formatter:l=>Array.isArray(l)?[l[0].axisValueLabel,...l.map(c=>{let y=V(c.value[2],1);return"<br/>".concat(c.marker,'<span style="margin-top:10px;margin-left:5px;font-size: 13px;font-weight: 500;\n color: #131415;font-weight: 600;\n margin-top:12px\n line-height: 18px;">学练时长: ').concat(y," </span>")})].join(""):l})},g=async()=>{try{const l=await me({studentId:T.studentId,dayFlag:o.dayFlag,classGroupId:T.classGroupId,...S(t.value,["startTime","endTime"],"YYYY-MM-DD")});i.practiceDays=l.data.practiceDays,i.practiceDurationAvg=l.data.practiceDurationAvg,i.practiceDurationTotal=l.data.practiceDurationTotal,i.dateList=l.data.trainingStatDetailList.map(c=>c.date),i.timeList=l.data.trainingStatDetailList.map((c,y)=>[y,fe(c.practiceDuration),c.practiceDuration]),C()}catch(l){console.log(l)}},h=()=>{o.pagination.page=1,g(),A(),O({current:{timer:t.value},saveKey:"classStudentRecordPracticeData"})},w=()=>{p.query.times?t.value=JSON.parse(p.query.times):t.value=[B(new Date().getTime()),Y(new Date().getTime())],h(),A(),O({current:{timer:t.value},saveKey:"classStudentRecordPracticeData"})};return X({current:{timer:t.value},saveKey:"classStudentRecordPracticeData",callBack:l=>{t.value=l.timer}}),ee(()=>{p.query.times&&(t.value=JSON.parse(p.query.times)),g(),A()}),()=>e(b,null,[e(k,{justify:"space-between"},{default:()=>[e(ae,{"label-placement":"left",inline:!0},{default:()=>[e(f,null,{default:()=>[e(j,{value:t.value,"onUpdate:value":l=>t.value=l,separator:"至",type:"daterange",timerValue:t.value},null)]}),e(f,null,{default:()=>[e(k,{justify:"end"},{default:()=>[e(v,{type:"primary",class:"searchBtn",onClick:h},{default:()=>[s("搜索")]}),e(v,{type:"primary",ghost:!0,class:"resetBtn",onClick:w},{default:()=>[s("重置")]})]})]})]}),e(k,null,{default:()=>[e(v,{type:"primary",class:o.dayFlag?"searchDate":"searchDateDefault",onClick:()=>{o.dayFlag=!0,h()}},{default:()=>[s("按天")]}),e(v,{type:"primary",class:o.dayFlag?"searchDateDefault":"searchDate",onClick:()=>{o.dayFlag=!1,h()}},{default:()=>[s("按月")]})]})]}),e("div",{class:[r.homeTrainData,r.homeTrainDataPractice]},[e("div",{class:r.TrainDataTop},[e("div",{class:r.TrainDataTopLeft},[e("div",{class:r.TrainDataItem},[e("p",{class:r.TrainDataItemTitle},[I(i.practiceDurationTotal)>0?e("div",null,[e("span",null,[e(D,{from:0,to:I(i.practiceDurationTotal)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("时"),e("i",{style:{width:"4px",display:"inline-block"}},null)]):null,I(i.practiceDurationAvg)>0||U(i.practiceDurationTotal)>0?e("div",null,[e("span",null,[e(D,{from:0,to:U(i.practiceDurationTotal)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("分"),e("i",{style:{width:"4px",display:"inline-block"}},null)]):null,e("div",null,[e("span",null,[e(D,{from:0,to:J(i.practiceDurationTotal)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("秒")])]),e("p",{class:r.TrainDataItemsubTitle},[s("累计练习时长")])]),e("div",{class:r.TrainDataItem},[e("p",{class:r.TrainDataItemTitle},[I(i.practiceDurationAvg)>0?e("div",null,[e("span",null,[e(D,{from:0,to:I(i.practiceDurationAvg)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("时"),e("i",{style:{width:"4px",display:"inline-block"}},null)]):null,I(i.practiceDurationAvg)>0||U(i.practiceDurationAvg)>0?e("div",null,[e("span",null,[e(D,{from:0,to:U(i.practiceDurationAvg)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("分"),e("i",{style:{width:"4px",display:"inline-block"}},null)]):null,e("div",null,[e("span",null,[e(D,{from:0,to:J(i.practiceDurationAvg)},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("秒")])]),e("p",{class:r.TrainDataItemsubTitle},[s("平均每天练习时长")])]),e("div",{class:r.TrainDataItem},[e("p",{class:r.TrainDataItemTitle},[e("div",null,[e("span",null,[e(D,{from:0,to:i.practiceDays},null)]),e("i",{style:{width:"4px",display:"inline-block"}},null),s("天")])]),e("p",{class:r.TrainDataItemsubTitle},[s("练习天数")])])]),e("div",{class:r.TrainDataTopRight},[e("div",{class:[r.DataTopRightItem,R.value?"":r.DataTopRightItemDis]},[e("div",{class:[r.DataTopRightDot,r.DataTopRightDotBlue]},null),e("p",null,[s("学练时长(分钟)")])])])]),e("div",{class:r.chatrs},[e("div",{ref:N,style:{height:i.height,width:i.width}},null)]),e("div",{class:[r.tableWrap,r.tableWrapEcharts]},[e(te,{class:r.classTable,loading:o.loading,columns:u(),data:o.tableList},{empty:()=>e(Z,null,null)})])])])}}),ta=$({name:"student-practiceData",props:{studentId:{type:String,default:""},classGroupId:{type:String,default:""}},setup(T){const p=_(),N=Te(),P=Ne(),R=Fe(),i=m({height:"360px",width:"100%",practiceDurationAvg:0,practiceDays:0,practiceDurationTotal:0,dateList:[],timeList:[],detailVisiable:!1}),o=F(""),t=m({loading:!1,pagination:{page:1,rows:10,pageTotal:4},asc:null,sortType:null,searchForm:{musicSheetName:"",instrumentId:null,heardLevel:null,userMusicFlag:null,minScore:null,maxScore:null,musicStartTime:[]},stat:{},tableList:[],goCourseVisiable:!1}),u=F([B(new Date().getTime()),Y(new Date().getTime())]),A=F(!1),C=F({type:"",content:"",title:""}),g=(a,n)=>e(Ie,{showArrow:!1,placement:"top-start"},{trigger:()=>e("div",{class:r.cell},[e("span",null,[a]),e("img",{class:r.sortIcon,src:n.sortOrder==="descend"?ye:n.sortOrder==="ascend"?De:ve},null)]),default:n.sortOrder==="descend"?"点击升序":n.sortOrder==="ascend"?"取消排序":"点击降序"}),h=m({title(){return g("评测时间",h)},key:"createTime",sorter:!0,sortOrder:!1}),w=m({title(){return g("评测进度",w)},key:"evaluationProgress",sorter:!0,sortOrder:!1}),l=m({title(){return g("评测分数",l)},key:"score",sorter:!0,sortOrder:!1}),c=m({title(){return g("音准",c)},key:"intonation",sorter:!0,sortOrder:!1,render(a){return a.rhythmFlag?"--":a.intonation}}),y=m({title(){return g("节奏",y)},key:"cadence",sorter:!0,sortOrder:!1}),x=m({title(){return g("完整度",x)},key:"integrity",sorter:!0,sortOrder:!1,render(a){return a.rhythmFlag?"--":a.integrity}}),E=m({title(){return g("发布时间",E)},key:"userMusicTime",sorter:!0,sortOrder:!1,render(a){return a.userMusicTime||"--"}}),re=()=>[h,{title(){return e("div",{class:r.minWidth},[s("评测曲目")])},key:"musicSheetName",render(a){return e(Pe,{maxWidth:120,showContentWidth:300,content:a.musicSheetName},null)}},{title:"评测难度",key:"heardLevel",render(a){return e(b,null,[a.heardLevel==null?e("span",null,[s("--")]):null,a.heardLevel=="BEGINNER"?e(W,{type:"info"},{default:()=>[s("入门级")]}):null,a.heardLevel=="ADVANCED"?e(W,{type:"warning"},{default:()=>[s("进阶级")]}):null,a.heardLevel=="PERFORMER"?e(W,{type:"error"},{default:()=>[s("大师级")]}):null])}},{title(){return e("div",{class:r.minWidth},[s("乐器")])},key:"instrumentName",render(a){return a.instrumentName||"--"}},w,l,c,y,x,{title(){return e("div",{class:r.minWidth},[s("发布作品")])},key:"userMusicFlag",render(a){return e("span",null,[a.userMusicFlag?"是":"否"])}},E,{title:"操作",fixed:"right",key:"id",render(a){return e(k,null,{default:()=>[e(v,{text:!0,type:"primary",onClick:()=>{se(a)}},{default:()=>[s("评测报告")]}),a.userMusicFlag?e(b,null,[a.videoFilePath||a.recordFilePath?e(b,null,[e(v,{text:!0,type:"primary",onClick:()=>{ie(a)}},{default:()=>[s("预览作品")]}),e(v,{text:!0,type:"primary",onClick:()=>{ne(a)}},{default:()=>[s("下载作品")]})]):""]):""]})}}],le=a=>{if(!a.order)t.asc=null,t.sortType=null,w.sortOrder=!1,l.sortOrder=!1,h.sortOrder=!1,c.sortOrder=!1,y.sortOrder=!1,x.sortOrder=!1,E.sortOrder=!1;else{const n={score:1,intonation:2,cadence:3,integrity:4,createTime:5,userMusicTime:6,evaluationProgress:7};t.sortType=n[a.columnKey],w.sortOrder=!1,l.sortOrder=!1,h.sortOrder=!1,c.sortOrder=!1,y.sortOrder=!1,x.sortOrder=!1,E.sortOrder=!1,a.columnKey=="score"&&(l.sortOrder=a.order),a.columnKey=="createTime"&&(h.sortOrder=a.order),a.columnKey=="intonation"&&(c.sortOrder=a.order),a.columnKey=="cadence"&&(y.sortOrder=a.order),a.columnKey==="integrity"&&(x.sortOrder=a.order),a.columnKey=="userMusicTime"&&(E.sortOrder=a.order),a.columnKey=="evaluationProgress"&&(w.sortOrder=a.order),t.asc=a.order=="ascend"}M()},M=async()=>{t.loading=!0;try{const{musicStartTime:a,...n}=t.searchForm,d=await pe({userId:T.studentId,...t.pagination,sortType:t.sortType,asc:t.asc,...n,...S(a,["userMusicStartTime","userMusicEndTime"],"YYYY-MM-DD"),...S(u.value,["startTime","endTime"],"YYYY-MM-DD"),classGroupId:T.classGroupId,...S(u.value,["startTime","endTime"],"YYYY-MM-DD")});t.tableList=d.data.rows,t.pagination.pageTotal=d.data.total}catch(a){}t.loading=!1},H=async()=>{t.loading=!0;try{const{musicStartTime:a,...n}=t.searchForm,{data:d}=await ge({userId:T.studentId,page:t.pagination.page,rows:t.pagination.rows,sortType:t.sortType,asc:t.asc,...n,...S(u.value,["startTime","endTime"],"YYYY-MM-DD")});t.stat={evaluateFrequency:d.evaluateFrequency||0,publishCount:d.publishCount||0}}catch(a){}t.loading=!1},se=a=>{const n=N.getToken;o.value=Ee()+"/instrument/?v=".concat(+new Date,"#/evaluat-report?v=").concat(+new Date,"&id=").concat(a.id,"&platform=webTeacher&Authorization=").concat(n),i.detailVisiable=!0},ie=a=>{let n="";a.videoFilePath?n=K(a.videoFilePath):n=K(a.recordFilePath);const d=a.videoFilePath||a.recordFilePath;C.value.content=d,C.value.title=a.musicSheetName,n==="video"?C.value.type="VIDEO":n==="audio"&&(C.value.type="SONG"),A.value=!0},ne=a=>{const n=a.videoFilePath||a.recordFilePath,d=a.musicSheetName+"-"+p.query.studentName+"-"+(a.userMusicTime?Se(a.userMusicTime).format("YYYYMMDDHHmmss"):""),ce=n.substring(n.lastIndexOf("."));fetch(n).then(L=>L.blob()).then(L=>{Me.saveAs(L,(d||new Date().getTime())+ce)}).catch(()=>{R.error("下载失败")})},G=()=>{t.pagination.page=1,H(),M(),O({current:{timer:u.value},saveKey:"classStudentRecordEvaluationRecords"})},ue=()=>{p.query.times?u.value=JSON.parse(p.query.times):u.value=[B(new Date().getTime()),Y(new Date().getTime())],t.searchForm={musicSheetName:"",heardLevel:null,userMusicFlag:null,minScore:null,maxScore:null,musicStartTime:[],instrumentId:null},G(),O({current:{timer:u.value},saveKey:"classStudentRecordEvaluationRecords"})};X({current:{timer:u.value},saveKey:"classStudentRecordEvaluationRecords",callBack:a=>{u.value=a.timer}});const oe=F();return ee(async()=>{t.loading=!0,p.query.times&&(u.value=JSON.parse(p.query.times)),await P.getSubjects(),await H(),await M()}),()=>e(b,null,[e(ae,{"label-placement":"left",inline:!0,style:"flex-wrap: wrap;"},{default:()=>[e(f,null,{default:()=>[e(j,{value:u.value,"onUpdate:value":a=>u.value=a,separator:"至",type:"daterange",class:r.datePicker,startPlaceholder:"评测开始时间",endPlaceholder:"评测结束时间",timerValue:u.value},null)]}),e(f,null,{default:()=>[e(Ae,{placeholder:"请输入曲目名称",value:t.searchForm.musicSheetName,"onUpdate:value":a=>t.searchForm.musicSheetName=a},null)]}),e(f,null,{default:()=>[e(z,Q({options:ke,placeholder:"请输入评测难度",clearable:!0,inline:!0},{value:t.searchForm.heardLevel,"onUpdate:value":a=>t.searchForm.heardLevel=a}),null)]}),e(f,null,{default:()=>[e("div",{class:r.inputRangeSection},[e(q,{placeholder:"最小分值",min:0,max:t.searchForm.maxScore||100,showButton:!1,precision:0,value:t.searchForm.minScore,"onUpdate:value":a=>t.searchForm.minScore=a},null),e("span",{class:r.pair},[s("-")]),e(q,{placeholder:"最大分值",min:t.searchForm.minScore||0,max:100,precision:0,showButton:!1,value:t.searchForm.maxScore,"onUpdate:value":a=>t.searchForm.maxScore=a},null)])]}),e(f,null,{default:()=>[e(Ue,{to:"body",placeholder:"选择乐器",options:[{value:"",label:"全部乐器"},...P.getSubjectList],childrenField:"instruments",checkStrategy:"child",expandTrigger:"hover",showPath:!1,clearable:!0,value:t.searchForm.instrumentId,"onUpdate:value":[a=>t.searchForm.instrumentId=a,(a,n,d)=>{console.log(a,n,d)}]},null)]}),e(f,null,{default:()=>[e(z,Q({options:[{label:"是",value:!0},{label:"否",value:!1}],placeholder:"请选择是否发布作品",clearable:!0,inline:!0},{value:t.searchForm.userMusicFlag,"onUpdate:value":a=>t.searchForm.userMusicFlag=a}),null)]}),e(f,null,{default:()=>[e(j,Q({value:t.searchForm.musicStartTime,"onUpdate:value":a=>t.searchForm.musicStartTime=a,separator:"至",class:r.datePicker,type:"daterange",startPlaceholder:"发布开始时间",endPlaceholder:"发布结束时间"},{clearable:!0},{timerValue:t.searchForm.musicStartTime}),null)]}),e(f,null,{default:()=>[e(k,{justify:"end"},{default:()=>[e(v,{type:"primary",class:"searchBtn",onClick:G},{default:()=>[s("搜索")]}),e(v,{type:"primary",ghost:!0,class:"resetBtn",onClick:ue},{default:()=>[s("重置")]})]})]})]}),e("div",{class:[r.TrainDataTop,r.TrainDataTopEvaluation]},[e("div",{class:r.TrainDataTopLeft},[e("div",{class:r.TrainDataItem},[e("p",{class:r.TrainDataItemTitle},[e("div",null,[e("span",null,[e(D,{from:0,to:t.stat.evaluateFrequency||0},null)])])]),e("p",{class:r.TrainDataItemsubTitle},[s("评测次数")])]),e("div",{class:r.TrainDataItem},[e("p",{class:r.TrainDataItemTitle},[e("div",null,[e("span",null,[e(D,{from:0,to:t.stat.publishCount||0},null)])])]),e("p",{class:r.TrainDataItemsubTitle},[s("作品数量")])])])]),e("div",{class:[r.tableWrap,r.noSort]},[e(te,{class:r.classTable,loading:t.loading,columns:re(),"onUpdate:sorter":le,data:t.tableList},{empty:()=>e(Z,null,null)}),e(xe,{page:t.pagination.page,"onUpdate:page":a=>t.pagination.page=a,pageSize:t.pagination.rows,"onUpdate:pageSize":a=>t.pagination.rows=a,pageTotal:t.pagination.pageTotal,"onUpdate:pageTotal":a=>t.pagination.pageTotal=a,onList:M,sync:!0,saveKey:"studentDetail-evaluationRecords"},null)]),e(Ce,{maskClosable:we,show:i.detailVisiable,"onUpdate:show":a=>i.detailVisiable=a,preset:"card",class:["modalTitle background",r.reportModel],title:"评测报告"},{default:()=>[e("div",{class:r.reportContainer,style:{lineHeight:0}},[e("iframe",{width:"100%",ref:oe,frameborder:"0",onLoad:a=>{be(a.target)},src:o.value},null)])]}),e(Re,{show:A.value,"onUpdate:show":a=>A.value=a,item:C.value,isDownload:!1},null)])}});export{ta as E,aa as P,_e as f,ea as m};