1 |
- import{d as h,c as E,b as Q,r,U as I,f as e,v as y,br as S,k as o,j as u,dD as H,F as k,bs as p,w as C,V as g,R as m,l as N,dE as w}from"./index-9bb5784d-1708220053196.js";import{C as G,z as O}from"./index-343185d0-1708220053196.js";import{a as q}from"./urlUtils-080cac35-1708220053196.js";const b="_trainType_1v16k_1",K="_overflowBg_1v16k_10",L="_title_1v16k_26",P="_btn_1v16k_41",z="_iconDelete_1v16k_66",J="_preview_1v16k_93",Z="_previewBtn_1v16k_107",j="_disPreview_1v16k_113",W="_disPreviewDivide_1v16k_126",Y="_BProgress_1v16k_136",X="_type_1v16k_164",x="_operation_1v16k_167",_="_trainInfo_1v16k_177",$="_trainName_1v16k_180",ee="_PRACTICE_1v16k_202",te="_EVALUATION_1v16k_205",ie="_tagList_1v16k_208",ae="_offShelfBg_1v16k_221",se="_offShelfTips_1v16k_235",le="_offShelfBtn_1v16k_242",oe="_removeVisiable_1v16k_247",Ae="_studentRemove_1v16k_253",ne="_btnGroupModal_1v16k_265",re="_reportModel_1v16k_272",i={trainType:b,overflowBg:K,"train-header":"_train-header_1v16k_20",title:L,"title-tag":"_title-tag_1v16k_33","title-text":"_title-text_1v16k_38",btn:P,iconDelete:z,"train-content":"_train-content_1v16k_79",preview:J,previewBtn:Z,disPreview:j,disPreviewDivide:W,BProgress:Y,"train-footer":"_train-footer_1v16k_158",type:X,operation:x,trainInfo:_,trainName:$,PRACTICE:ee,EVALUATION:te,tagList:ie,offShelfBg:ae,offShelfTips:se,offShelfBtn:le,removeVisiable:oe,studentRemove:Ae,btnGroupModal:ne,reportModel:re},ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABGCAYAAAB12zK5AAAAAXNSR0IArs4c6QAACCNJREFUeF7tXGlMVUcU/sYYXCINWhfcGgxFm1hNBRdSi1HUBBJITEpTTcDWujUaVMCkSBOlsZDyA9BoDKA2rfzQpuAPSyKJcUUbTASqVi0qKQF3rRp3MDrljPc+7n3c++76Ho/kneT9gDs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m/fvq2E9E5qX1drOO3vUrQtLy/PAQslSxmdGwlpG0LTfHBwgOnpaaytkY8XfqH1zfnz55XFn0PRb0Oow0Z4o8qh8kjMpt+oUoHQoX2hrUyrlu3t7WF2dtY0FGiV1+x3Cibl5uYiMTHRSfZgeY5vZapQhDa7g2kgQ0uVp+EkU2hYEOSMDDpMLUXMN7tVIHSjQeg4RKAq9fb2orq6WkqNjYX09PSgqqpKVtmBj0PI7CW7u7tKRJ2OTMgUMqAzMzNISkqSUWzwAzMqEPJchY9UmdWO/JSNjQ2pNiQ1NdWpn2Gsor0jVSoU79CdPz7vWKZJf/cO7ppDobsx3tFuw/ChOzLe4X8DlGi+K6M1Rc71EK20KL8zYwsGtdXyvozJ8PGumBmgeJcQjROQd03VfEr2LjKbrVe8q+4B1pjeYwiBwXjPZQQYSt6DKsEiNn5P7tBzO/Tsjp0nd+i5HXp2J/qf3JERzjqJMv4Fq+ybxlEMybAAAAAASUVORK5CYII=",Be=h({name:"train-type",props:{type:{type:String,default:"homework"},item:{type:Object,default:()=>({})},isDelete:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},offShelf:{type:Boolean,default:!1},isCLassWork:{type:Boolean,default:!1}},emits:["click","delete","edit","offShelf"],setup(t,{emit:c}){const T=E(),f=Q(),n=r(!1),d=r(!1),A=r({type:"MUSIC",content:t.item.musicId,title:t.item.musicName}),D=()=>{A.value={type:"MUSIC",content:t.item.musicId,title:t.item.musicName},d.value=!0},U=r(""),v=r(!1),F=s=>{if(!s.id){f.error("暂无评测记录");return}const l=T.getToken;U.value=q()+"/instrument/#/evaluat-report?id=".concat(s.id,"&Authorization=").concat(l),v.value=!0},M=async()=>{var s;try{if(!((s=t.item)!=null&&s.recordId)){f.error("暂无数据");return}const{data:l}=await O({id:t.item.recordId});if(l.videoFilePath||l.recordFilePath){let a="";l.videoFilePath?a=w(l.videoFilePath):a=w(l.recordFilePath);const B=l.videoFilePath||l.recordFilePath;A.value.content=B,A.value.title=t.item.musicName,a==="video"?A.value.type="VIDEO":a==="audio"&&(A.value.type="SONG"),d.value=!0}else f.error("暂无数据")}catch(l){}},V=I(()=>{const s=t.item;return s?s.trainingType==="EVALUATION"?(s.trainingTimes||0)>=(s.allTimes||0)?"#6CFFC1":"#FF7794":(s.trainingTimes?parseInt(s.trainingTimes/60+""):0)>=(s.allTimes||0)?"#6CFFC1":"#FF7794":!1}),R=I(()=>!!(t.isDisabled&&!t.isCLassWork&&t.item.trainingType==="EVALUATION"));return()=>{var s,l;return e("div",{class:[i.trainType,t.item.trainingType==="EVALUATION"?i.evaluationType:""],onClick:()=>c("click",t.item)},[e("div",{class:i["train-content"]},[e(y,{src:t.item.coverImg,previewDisabled:!0,objectFit:"cover"},null),t.isDisabled&&!t.isCLassWork?e("div",{class:i.disPreview},[e(S,{percentage:t.item.trainingType==="EVALUATION"?Number(t.item.trainingTimes)/Number(t.item.allTimes)*100:Number(t.item.trainingTimes)/60/Number(t.item.allTimes)*100,"offset-degree":180,type:"circle","rail-color":"8b8b8b",color:V.value?"#6CFFC1":"#FF7794",style:"width: 120px; margin: 0 0 10px;"},{default:()=>[e("div",{class:i.BProgress},[t.item.trainingType==="EVALUATION"?e("h4",null,[t.item.trainingTimes,e("span",null,[o("分")])]):e("h4",null,[t.item.trainingTimes?parseInt(t.item.trainingTimes/60+""):0,e("span",null,[o("分钟")])]),e("p",null,[t.item.trainingType==="EVALUATION"?"学生分数":"实际练习"," "])])]}),e("p",{class:i.disPreviewDivide},[t.item.trainingType==="EVALUATION"?"合格分数":"练习时长要求",t.item.allTimes,t.item.trainingType==="EVALUATION"?"分":"分钟"])]):e("div",{class:i.preview},[e(u,{strong:!0,secondary:!0,class:i.previewBtn,onClick:D},{default:()=>[o("预览")]})])]),e("div",{class:i["train-footer"]},[e("div",{class:i.trainInfo},[e("div",{class:i.trainName},[e("span",{class:[i.type,i[t.item.trainingType]]},[t.item.trainingType==="EVALUATION"?"评测":"练习"]),e(H,{class:i["title-text"],tooltip:!1},{default:()=>[t.item.musicName]})]),e("div",{class:i.tagList},[(s=t.item.typeList)==null?void 0:s.map((a,B)=>e(k,null,[e("span",null,[a]),t.item.typeList.length-1>B&&e(p,{vertical:!0},null)]))])]),t.isDisabled?null:e(C,{size:12},{default:()=>[e(g("n-button"),{quaternary:!0,disabled:!t.isDelete,class:i.operation,onClick:a=>{a.stopPropagation(),c("edit",t.item)}},{default:()=>[e(m,{showArrow:!1},{trigger:()=>e("img",{src:ce},null),default:"编辑"})]}),e(g("n-button"),{quaternary:!0,disabled:!t.isDelete,class:i.operation,onClick:a=>{a.stopPropagation(),n.value=!0}},{default:()=>[e(m,{showArrow:!1},{trigger:()=>e("img",{src:de},null),default:"删除"})]})]}),t.isDisabled&&!t.isCLassWork&&t.item.trainingType==="EVALUATION"&&((l=t.item)!=null&&l.recordId)?e(k,null,[e(C,{size:12},{default:()=>[e(g("n-button"),{quaternary:!0,disabled:t.isDelete,class:i.operation,onClick:a=>{a.stopPropagation(),F({id:t.item.recordId})}},{default:()=>[e(m,{showArrow:!1},{trigger:()=>e("img",{src:ge},null),default:"评测报告"})]}),e(g("n-button"),{quaternary:!0,disabled:t.isDelete,class:i.operation,onClick:a=>{a.stopPropagation(),M()}},{default:()=>[e(m,{showArrow:!1},{trigger:()=>e("img",{src:ue},null),default:"查看回放"})]})]})]):""]),t.offShelf&&e("div",{class:i.offShelfBg},[e("p",{class:i.offShelfTips},[o("该资源已被下架")]),e(u,{type:"primary",class:i.offShelfBtn,onClick:()=>c("offShelf")},{default:()=>[o("确认")]})]),e(N,{show:n.value,"onUpdate:show":a=>n.value=a,preset:"card",class:["modalTitle",i.removeVisiable],title:"提示"},{default:()=>[e("div",{class:i.studentRemove},[e("p",null,[o("您确定是否删除?")]),e(C,{class:i.btnGroupModal,justify:"center"},{default:()=>[e(u,{round:!0,type:"primary",onClick:()=>{n.value=!1,c("delete",t.item)}},{default:()=>[o("确定")]}),e(u,{round:!0,onClick:()=>n.value=!1},{default:()=>[o("取消")]})]})])]}),e(G,{show:d.value,"onUpdate:show":a=>d.value=a,item:A.value,isDownload:R.value},null),e(N,{show:v.value,"onUpdate:show":a=>v.value=a,preset:"card",class:["modalTitle background",i.reportModel],title:"评测报告"},{default:()=>[e("div",{class:i.reportContainer,style:{lineHeight:0}},[e("iframe",{width:"100%",height:"450px",frameborder:"0",src:U.value},null)])]})])}}});export{Be as T};
|