evaluationRecords-legacy-e9dac865-1734950731618.js 20 KB

1
  1. System.register(["./index.module-legacy-6f3d4809-1734950731618.js","./useECharts-legacy-17bfbead-1734950731618.js","./api-legacy-ffcfe147-1734950731618.js","./api-legacy-37b6770f-1734950731618.js","./icon-sort-asc-legacy-3e69fa82-1734950731618.js","./index-legacy-4143c402-1734950731618.js","./index-legacy-e3a3b720-1734950731618.js","./use-async-legacy-6ec257e8-1734950731618.js","./index-legacy-4630884d-1734950731618.js","./index-legacy-a561af25-1734950731618.js","./urlUtils-legacy-47a65e18-1734950731618.js","./index-legacy-cd7fea03-1734950731618.js","./searchArray-legacy-6b8f6cdf-1734950731618.js","./catchData-legacy-786f1507-1734950731618.js","./index-legacy-149b8374-1734950731618.js","./index-legacy-d4e0b22b-1734950731618.js","./Cascader-legacy-24e30d03-1734950731618.js"],(function(e,a){"use strict";var t,l,r,i,s,n,o,c,u,d,p,m,g,y,h,v,D,T,A,f,w,F,x,b,I,k,S,C,N,O,Y,P,U,E,j,M,L,R,W,B,Q,H,G,J,q,V,z,K,Z,X,$,_,ee,ae,te,le;return{setters:[e=>{t=e.s},e=>{l=e.u},e=>{r=e.c,i=e.d,s=e.e},e=>{n=e.s},e=>{o=e.g,c=e.a,u=e.e,d=e.N,p=e.h,m=e.j,g=e.f,y=e.b,h=e.k,v=e.i,D=e.c,T=e.d},e=>{A=e.C},e=>{f=e.T},e=>{w=e.i,F=e.s},e=>{x=e.d,b=e.a,I=e.r,k=e.e,S=e.q,C=e.f,N=e.x,O=e.N,Y=e.g,P=e.j,U=e.k,E=e.aG,j=e.F,M=e.c,L=e.b,R=e.h,W=e.y,B=e.aP,Q=e.l,H=e.m,G=e.G,J=e.V,q=e.aM,V=e.aQ,z=e.Q},e=>{K=e.P},e=>{Z=e.v},e=>{X=e.C},e=>{$=e.e},e=>{_=e.u},e=>{ee=e.T},e=>{ae=e.C,te=e.F},e=>{le=e.N}],execute:function(){e("f","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA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8n83RQ0xje9LY4kxaLJtNbm+kRSJNkPsG1ePQx1PMTVSFEWryBFO2dgAoVlQTakUADxtDF69aR7e/WIhBwp9hwF8lhYI+NDd3EoDrljJbz3E0u4g4yM2u3pLy2xhlyBvRaIFTiST1QYPngzw12HNblpUd6SFw5Jq89fxJImdENpNLU5LMEzhRltYIuHZ/OaYmdcnjMH87iDP5VrFzBaN6k3hKKAZro4pCq+P9mLz8Wb2FYuocbsmX+zFdsBdABnZD5JhPpkD+CyFJW1xixgPn4kH+F65VEmiz8I2QC/krSfvjof4NTdJptVCEtDkrIMh34qHGCgnnrXf/7mqjn2PI5LuyuWe/CgRYhN9Md2jtL50GXq8Bjd0BdhTKcDx80V0r6DMDMikhrxoiEn0WdokaaPLsDMR4sqrEc/6+iI67p7ThlzkANokrcoBDFcngmy7JoClHZKcgTUYheEq1ln6BJIziTKPh1zSHeKn1wSI6k3ZeiUHADc4EeyW9LQrRcsTIb5/TQBLWyWtdWmtY11EUUC5iiH4WiLM3JlcDchn6VDB8G9ivaUVaWmo3smfkyHeejXCV6pokpAp96rs2poaNnD6Nk3ov4izbgPBx92Xp0pgvogigkKu/P+YCHNeppvWRbQH0BOu3CUNcWdhZxwJ5I/pATuNA3mbJNcnQmzJAPyWbraFXwqiOGqq8Vipq7mztj6mR9M2dkMaN7QBdk6YjtnOIMrNA5+ljZI25e2SvEDAqjZoPRng0NURwPSobukXXoawApDJrSPTJBYngjyY+RayhkzTimIPpGXDUjF4S3OulacoeAU05nVe1wJjGIwHGRs6C5fx9lZVJy9gm6TVlRxsvg8HDNEcD3G7+33RmeyLaiWENyTVVQIi+YMzvxNh5ppm0QjcYr5WjdYFrCGwTMKCvDwPdstLAA6S2NUdwJ7sZbdwQ5XdTWMa329jBok6EakqIMnx6OxaycvlIvwH+wgy5cy9OxMAAAAASUVORK5CYII="),e("P",x({name:"student-practiceData",props:{studentId:{type:String,default:""},classGroupId:{type:String,default:""}},setup(e){const a=b(),i=I(null),{setOptions:s}=l(i),v=I(!0),D=k({height:"360px",width:"100%",practiceDurationAvg:0,practiceDays:0,practiceDurationTotal:0,dateList:[],timeList:[]}),T=k({loading:!1,dayFlag:!0,pagination:{page:1,rows:10,pageTotal:4},tableList:[],goCourseVisiable:!1}),x=I([o((new Date).getTime()),c((new Date).getTime())]),M=async()=>{try{const a=await n({page:1,rows:999,dayFlag:T.dayFlag,studentId:e.studentId,classGroupId:e.classGroupId,...y(x.value,["startTime","endTime"],"YYYY-MM-DD")});T.tableList=a.data.rows}catch(a){console.log(a)}},L=async()=>{try{const a=await r({studentId:e.studentId,dayFlag:T.dayFlag,classGroupId:e.classGroupId,...y(x.value,["startTime","endTime"],"YYYY-MM-DD")});D.practiceDays=a.data.practiceDays,D.practiceDurationAvg=a.data.practiceDurationAvg,D.practiceDurationTotal=a.data.practiceDurationTotal,D.dateList=a.data.trainingStatDetailList.map((e=>e.date)),D.timeList=a.data.trainingStatDetailList.map(((e,a)=>[a,h(e.practiceDuration),e.practiceDuration])),s({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!1,selected:{"学练时长(分钟)":v.value}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{show:!0},data:D.dateList},yAxis:[{type:"value",axisLabel:{formatter:e=>e+"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:D.timeList,type:"bar",barWidth:"48px",stack:"total",itemStyle:{normal:{barBorderRadius:[8,8,0,0],color:"#D5E9FF"},emphasis:{focus:"series",color:"#3583FA"}}}],formatter:e=>Array.isArray(e)?[e[0].axisValueLabel,...e.map((e=>{let a=g(e.value[2],1);return`<br/>${e.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;">学练时长: ${a} </span>`}))].join(""):e})}catch(a){console.log(a)}},R=()=>{T.pagination.page=1,L(),M(),F({current:{timer:x.value},saveKey:"classStudentRecordPracticeData"})},W=()=>{a.query.times?x.value=JSON.parse(a.query.times):x.value=[o((new Date).getTime()),c((new Date).getTime())],R(),M(),F({current:{timer:x.value},saveKey:"classStudentRecordPracticeData"})};return w({current:{timer:x.value},saveKey:"classStudentRecordPracticeData",callBack:e=>{x.value=e.timer}}),S((()=>{a.query.times&&(x.value=JSON.parse(a.query.times)),L(),M()})),()=>C(j,null,[C(N,{justify:"space-between"},{default:()=>[C(O,{"label-placement":"left",inline:!0},{default:()=>[C(Y,null,{default:()=>[C(A,{value:x.value,"onUpdate:value":e=>x.value=e,separator:"至",type:"daterange",timerValue:x.value},null)]}),C(Y,null,{default:()=>[C(N,{justify:"end"},{default:()=>[C(P,{type:"primary",class:"searchBtn",onClick:R},{default:()=>[U("搜索")]}),C(P,{type:"primary",ghost:!0,class:"resetBtn",onClick:W},{default:()=>[U("重置")]})]})]})]}),C(N,null,{default:()=>[C(P,{type:"primary",class:T.dayFlag?"searchDate":"searchDateDefault",onClick:()=>{T.dayFlag=!0,R()}},{default:()=>[U("按天")]}),C(P,{type:"primary",class:T.dayFlag?"searchDateDefault":"searchDate",onClick:()=>{T.dayFlag=!1,R()}},{default:()=>[U("按月")]})]})]}),C("div",{class:[t.homeTrainData,t.homeTrainDataPractice]},[C("div",{class:t.TrainDataTop},[C("div",{class:t.TrainDataTopLeft},[C("div",{class:t.TrainDataItem},[C("p",{class:t.TrainDataItemTitle},[u(D.practiceDurationTotal)>0?C("div",null,[C("span",null,[C(d,{from:0,to:u(D.practiceDurationTotal)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("时"),C("i",{style:{width:"4px",display:"inline-block"}},null)]):null,u(D.practiceDurationAvg)>0||p(D.practiceDurationTotal)>0?C("div",null,[C("span",null,[C(d,{from:0,to:p(D.practiceDurationTotal)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("分"),C("i",{style:{width:"4px",display:"inline-block"}},null)]):null,C("div",null,[C("span",null,[C(d,{from:0,to:m(D.practiceDurationTotal)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("秒")])]),C("p",{class:t.TrainDataItemsubTitle},[U("累计练习时长")])]),C("div",{class:t.TrainDataItem},[C("p",{class:t.TrainDataItemTitle},[u(D.practiceDurationAvg)>0?C("div",null,[C("span",null,[C(d,{from:0,to:u(D.practiceDurationAvg)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("时"),C("i",{style:{width:"4px",display:"inline-block"}},null)]):null,u(D.practiceDurationAvg)>0||p(D.practiceDurationAvg)>0?C("div",null,[C("span",null,[C(d,{from:0,to:p(D.practiceDurationAvg)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("分"),C("i",{style:{width:"4px",display:"inline-block"}},null)]):null,C("div",null,[C("span",null,[C(d,{from:0,to:m(D.practiceDurationAvg)},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("秒")])]),C("p",{class:t.TrainDataItemsubTitle},[U("平均每天练习时长")])]),C("div",{class:t.TrainDataItem},[C("p",{class:t.TrainDataItemTitle},[C("div",null,[C("span",null,[C(d,{from:0,to:D.practiceDays},null)]),C("i",{style:{width:"4px",display:"inline-block"}},null),U("天")])]),C("p",{class:t.TrainDataItemsubTitle},[U("练习天数")])])]),C("div",{class:t.TrainDataTopRight},[C("div",{class:[t.DataTopRightItem,v.value?"":t.DataTopRightItemDis]},[C("div",{class:[t.DataTopRightDot,t.DataTopRightDotBlue]},null),C("p",null,[U("学练时长(分钟)")])])])]),C("div",{class:t.chatrs},[C("div",{ref:i,style:{height:D.height,width:D.width}},null)]),C("div",{class:[t.tableWrap,t.tableWrapEcharts]},[C(E,{class:t.classTable,loading:T.loading,columns:[{title:"日期",key:"date"},{title:"学练时长",key:"practiceDuration",render:e=>C(j,null,[" ",C(j,null,[e.practiceDuration?g(e.practiceDuration,1):"0分钟"])])}],data:T.tableList},{empty:()=>C(f,null,null)})])])])}})),e("E",x({name:"student-practiceData",props:{studentId:{type:String,default:""},classGroupId:{type:String,default:""}},setup(e){const a=b(),l=M(),r=_(),n=L(),u=k({height:"360px",width:"100%",practiceDurationAvg:0,practiceDays:0,practiceDurationTotal:0,dateList:[],timeList:[],detailVisiable:!1}),p=I(""),m=k({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}),g=I([o((new Date).getTime()),c((new Date).getTime())]),h=I(!1),x=I({type:"",content:"",title:""}),re=(e,a)=>C(J,{showArrow:!1,placement:"top-start"},{trigger:()=>C("div",{class:t.cell},[C("span",null,[e]),C("img",{class:t.sortIcon,src:"descend"===a.sortOrder?v:"ascend"===a.sortOrder?D:T},null)]),default:"descend"===a.sortOrder?"点击升序":"ascend"===a.sortOrder?"取消排序":"点击降序"}),ie=k({title:()=>re("评测时间",ie),key:"createTime",sorter:!0,sortOrder:!1}),se=k({title:()=>re("评测进度",se),key:"evaluationProgress",sorter:!0,sortOrder:!1}),ne=k({title:()=>re("评测分数",ne),key:"score",sorter:!0,sortOrder:!1}),oe=k({title:()=>re("音准",oe),key:"intonation",sorter:!0,sortOrder:!1,render:e=>e.rhythmFlag?"--":e.intonation}),ce=k({title:()=>re("节奏",ce),key:"cadence",sorter:!0,sortOrder:!1}),ue=k({title:()=>re("完整度",ue),key:"integrity",sorter:!0,sortOrder:!1,render:e=>e.rhythmFlag?"--":e.integrity}),de=k({title:()=>re("发布时间",de),key:"userMusicTime",sorter:!0,sortOrder:!1,render:e=>e.userMusicTime||"--"}),pe=e=>{if(e.order){const a={score:1,intonation:2,cadence:3,integrity:4,createTime:5,userMusicTime:6,evaluationProgress:7};m.sortType=a[e.columnKey],se.sortOrder=!1,ne.sortOrder=!1,ie.sortOrder=!1,oe.sortOrder=!1,ce.sortOrder=!1,ue.sortOrder=!1,de.sortOrder=!1,"score"==e.columnKey&&(ne.sortOrder=e.order),"createTime"==e.columnKey&&(ie.sortOrder=e.order),"intonation"==e.columnKey&&(oe.sortOrder=e.order),"cadence"==e.columnKey&&(ce.sortOrder=e.order),"integrity"===e.columnKey&&(ue.sortOrder=e.order),"userMusicTime"==e.columnKey&&(de.sortOrder=e.order),"evaluationProgress"==e.columnKey&&(se.sortOrder=e.order),m.asc="ascend"==e.order}else m.asc=null,m.sortType=null,se.sortOrder=!1,ne.sortOrder=!1,ie.sortOrder=!1,oe.sortOrder=!1,ce.sortOrder=!1,ue.sortOrder=!1,de.sortOrder=!1;me()},me=async()=>{m.loading=!0;try{const{musicStartTime:a,...t}=m.searchForm,l=await i({userId:e.studentId,...m.pagination,sortType:m.sortType,asc:m.asc,...t,...y(a,["userMusicStartTime","userMusicEndTime"],"YYYY-MM-DD"),...y(g.value,["startTime","endTime"],"YYYY-MM-DD"),classGroupId:e.classGroupId,...y(g.value,["startTime","endTime"],"YYYY-MM-DD")});m.tableList=l.data.rows,m.pagination.pageTotal=l.data.total}catch{}m.loading=!1},ge=async()=>{m.loading=!0;try{const{musicStartTime:a,...t}=m.searchForm,{data:l}=await s({userId:e.studentId,page:m.pagination.page,rows:m.pagination.rows,sortType:m.sortType,asc:m.asc,...t,...y(g.value,["startTime","endTime"],"YYYY-MM-DD")});m.stat={evaluateFrequency:l.evaluateFrequency||0,publishCount:l.publishCount||0}}catch{}m.loading=!1},ye=e=>{const a=l.getToken;p.value=Z()+`/instrument/?v=${+new Date}#/evaluat-report?v=${+new Date}&id=${e.id}&platform=webTeacher&Authorization=${a}`,u.detailVisiable=!0},he=e=>{let a="";a=e.videoFilePath?V(e.videoFilePath):V(e.recordFilePath);const t=e.videoFilePath||e.recordFilePath;x.value.content=t,x.value.title=e.musicSheetName,"video"===a?x.value.type="VIDEO":"audio"===a&&(x.value.type="SONG"),h.value=!0},ve=e=>{const t=e.videoFilePath||e.recordFilePath,l=e.musicSheetName+"-"+a.query.studentName+"-"+(e.userMusicTime?z(e.userMusicTime).format("YYYYMMDDHHmmss"):""),r=t.substring(t.lastIndexOf("."));fetch(t).then((e=>e.blob())).then((e=>{te.saveAs(e,(l||(new Date).getTime())+r)})).catch((()=>{n.error("下载失败")}))},De=()=>{m.pagination.page=1,ge(),me(),F({current:{timer:g.value},saveKey:"classStudentRecordEvaluationRecords"})},Te=()=>{a.query.times?g.value=JSON.parse(a.query.times):g.value=[o((new Date).getTime()),c((new Date).getTime())],m.searchForm={musicSheetName:"",heardLevel:null,userMusicFlag:null,minScore:null,maxScore:null,musicStartTime:[],instrumentId:null},De(),F({current:{timer:g.value},saveKey:"classStudentRecordEvaluationRecords"})};w({current:{timer:g.value},saveKey:"classStudentRecordEvaluationRecords",callBack:e=>{g.value=e.timer}});const Ae=I();return S((async()=>{m.loading=!0,a.query.times&&(g.value=JSON.parse(a.query.times)),await r.getSubjects(),await ge(),await me()})),()=>C(j,null,[C(O,{"label-placement":"left",inline:!0,style:"flex-wrap: wrap;"},{default:()=>[C(Y,null,{default:()=>[C(A,{value:g.value,"onUpdate:value":e=>g.value=e,separator:"至",type:"daterange",class:t.datePicker,startPlaceholder:"评测开始时间",endPlaceholder:"评测结束时间",timerValue:g.value},null)]}),C(Y,null,{default:()=>[C(R,{placeholder:"请输入曲目名称",value:m.searchForm.musicSheetName,"onUpdate:value":e=>m.searchForm.musicSheetName=e},null)]}),C(Y,null,{default:()=>[C(X,W({options:$,placeholder:"请输入评测难度",clearable:!0,inline:!0},{value:m.searchForm.heardLevel,"onUpdate:value":e=>m.searchForm.heardLevel=e}),null)]}),C(Y,null,{default:()=>[C("div",{class:t.inputRangeSection},[C(B,{placeholder:"最小分值",min:0,max:m.searchForm.maxScore||100,showButton:!1,precision:0,value:m.searchForm.minScore,"onUpdate:value":e=>m.searchForm.minScore=e},null),C("span",{class:t.pair},[U("-")]),C(B,{placeholder:"最大分值",min:m.searchForm.minScore||0,max:100,precision:0,showButton:!1,value:m.searchForm.maxScore,"onUpdate:value":e=>m.searchForm.maxScore=e},null)])]}),C(Y,null,{default:()=>[C(le,{to:"body",placeholder:"选择乐器",options:[{value:"",label:"全部乐器"},...r.getSubjectList],childrenField:"instruments",checkStrategy:"child",expandTrigger:"hover",showPath:!1,clearable:!0,value:m.searchForm.instrumentId,"onUpdate:value":[e=>m.searchForm.instrumentId=e,(e,a,t)=>{console.log(e,a,t)}]},null)]}),C(Y,null,{default:()=>[C(X,W({options:[{label:"是",value:!0},{label:"否",value:!1}],placeholder:"请选择是否发布作品",clearable:!0,inline:!0},{value:m.searchForm.userMusicFlag,"onUpdate:value":e=>m.searchForm.userMusicFlag=e}),null)]}),C(Y,null,{default:()=>[C(A,W({value:m.searchForm.musicStartTime,"onUpdate:value":e=>m.searchForm.musicStartTime=e,separator:"至",class:t.datePicker,type:"daterange",startPlaceholder:"发布开始时间",endPlaceholder:"发布结束时间"},{clearable:!0},{timerValue:m.searchForm.musicStartTime}),null)]}),C(Y,null,{default:()=>[C(N,{justify:"end"},{default:()=>[C(P,{type:"primary",class:"searchBtn",onClick:De},{default:()=>[U("搜索")]}),C(P,{type:"primary",ghost:!0,class:"resetBtn",onClick:Te},{default:()=>[U("重置")]})]})]})]}),C("div",{class:[t.TrainDataTop,t.TrainDataTopEvaluation]},[C("div",{class:t.TrainDataTopLeft},[C("div",{class:t.TrainDataItem},[C("p",{class:t.TrainDataItemTitle},[C("div",null,[C("span",null,[C(d,{from:0,to:m.stat.evaluateFrequency||0},null)])])]),C("p",{class:t.TrainDataItemsubTitle},[U("评测次数")])]),C("div",{class:t.TrainDataItem},[C("p",{class:t.TrainDataItemTitle},[C("div",null,[C("span",null,[C(d,{from:0,to:m.stat.publishCount||0},null)])])]),C("p",{class:t.TrainDataItemsubTitle},[U("作品数量")])])])]),C("div",{class:[t.tableWrap,t.noSort]},[C(E,{class:t.classTable,loading:m.loading,columns:[ie,{title:()=>C("div",{class:t.minWidth},[U("评测曲目")]),key:"musicSheetName",render:e=>C(ee,{maxWidth:120,showContentWidth:300,content:e.musicSheetName},null)},{title:"评测难度",key:"heardLevel",render:e=>C(j,null,[null==e.heardLevel?C("span",null,[U("--")]):null,"BEGINNER"==e.heardLevel?C(q,{type:"info"},{default:()=>[U("入门级")]}):null,"ADVANCED"==e.heardLevel?C(q,{type:"warning"},{default:()=>[U("进阶级")]}):null,"PERFORMER"==e.heardLevel?C(q,{type:"error"},{default:()=>[U("大师级")]}):null])},{title:()=>C("div",{class:t.minWidth},[U("乐器")]),key:"instrumentName",render:e=>e.instrumentName||"--"},se,ne,oe,ce,ue,{title:()=>C("div",{class:t.minWidth},[U("发布作品")]),key:"userMusicFlag",render:e=>C("span",null,[e.userMusicFlag?"是":"否"])},de,{title:"操作",fixed:"right",key:"id",render:e=>C(N,null,{default:()=>[C(P,{text:!0,type:"primary",onClick:()=>{ye(e)}},{default:()=>[U("评测报告")]}),e.userMusicFlag?C(j,null,[e.videoFilePath||e.recordFilePath?C(j,null,[C(P,{text:!0,type:"primary",onClick:()=>{he(e)}},{default:()=>[U("预览作品")]}),C(P,{text:!0,type:"primary",onClick:()=>{ve(e)}},{default:()=>[U("下载作品")]})]):""]):""]})}],"onUpdate:sorter":pe,data:m.tableList},{empty:()=>C(f,null,null)}),C(K,{page:m.pagination.page,"onUpdate:page":e=>m.pagination.page=e,pageSize:m.pagination.rows,"onUpdate:pageSize":e=>m.pagination.rows=e,pageTotal:m.pagination.pageTotal,"onUpdate:pageTotal":e=>m.pagination.pageTotal=e,onList:me,sync:!0,saveKey:"studentDetail-evaluationRecords"},null)]),C(Q,{maskClosable:H,show:u.detailVisiable,"onUpdate:show":e=>u.detailVisiable=e,preset:"card",class:["modalTitle background",t.reportModel],title:"评测报告"},{default:()=>[C("div",{class:t.reportContainer,style:{lineHeight:0}},[C("iframe",{width:"100%",ref:Ae,frameborder:"0",onLoad:e=>{G(e.target)},src:p.value},null)])]}),C(ae,{show:h.value,"onUpdate:show":e=>h.value=e,item:x.value,isDownload:!1},null)])}}))}}}));