train-detail-7c35f78a.js 16 KB

1
  1. import{M as b}from"./index-cf657a5b.js";import{d as C,O as p,o as S,w as B,g as e,F as D,S as A,R as F,I as h,h as l,P as R,ab as I,T as j,W as E,a as U,M as v,f as G}from"./index-e362c2e8.js";import{i as L}from"./icon-student-default-4c78efb2.js";import{M as N}from"./index-04aee2cb.js";import{S as P,a as c}from"./index-5276fe86.js";import{C as T}from"./index-7571fa92.js";import{C as u}from"./index-5c45ec33.js";import{G as y,a as n}from"./index-f2403653.js";import{R as K,C as d}from"./index-275a0d7a.js";import{D as M}from"./index-b3ca6985.js";import{L as z}from"./index-7861a26d.js";import"./index-85ccd873.js";import"./utils-1d8dfadf.js";import"./index-14b5dea2.js";import"./index-f57b4c5f.js";import"./use-tab-status-92e284d0.js";const q="_trainDetail_874pd_1",W="_evaluation_874pd_6",X="_teacher_info_874pd_15",V="_username_874pd_25",O="_musicGroupName_874pd_29",Y="_scoreImg_874pd_41",J="_scoreName_874pd_83",H="_dataSearch_874pd_90",Z="_flexCenter_874pd_105",r={trainDetail:q,evaluation:W,teacher_info:X,username:V,musicGroupName:O,"search-icon":"_search-icon_874pd_37",scoreImg:Y,"data-content":"_data-content_874pd_45","van-row-item":"_van-row-item_874pd_53",scoreName:J,dataSearch:H,flexCenter:Z,"btn-search":"_btn-search_874pd_110","button-group":"_button-group_874pd_118","van-button--primary":"_van-button--primary_874pd_126"},x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAMAAACKYC6uAAAAAXNSR0IArs4c6QAAAEhQTFRFAAAAAICAAKqqAL+/AMK2AMK1AMK2AMC2AMK2AsG1AsG3AsG0AsG2AsG1AcO2AcK1AcG2AcG2AcG2AcG1AcK1AcG1AcK2AcG1O14pgAAAABd0Uk5TAAIGDBVTVGl+lJSdnam6u8rN5vz9/v7bavJDAAAAR0lEQVQIHVXBBw6AIAAEsGMoOFCGcv//qQQJgRbny8FzIHISsSQO0gqYzC4bFJadRbWx2fETjpUTaOTF4pbolCe9wkCHoFF9mzAIgiL1rk4AAAAASUVORK5CYII=",_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAAAyCAMAAACqCYP9AAACglBMVEUAAAD39/f4+Pj4+Pj4+Pj4+Pj5+fn////4+Pj39/f/2gEBwbX/2QLz9vb39/XZ8O/U7+7+2QP/3QH+2gH29vZx2tMYxrv+2gb/3AH39vHc8e9a1M3J7ev/3gL+2QF0YwC+6ucGwrf94DMex70Lw7j+3Bj+2xPw9fW26eb39OH84j3/4ADt9PTm8/LR7+3O7uyV4d2K39p93NZf1s775Fl6aADq9PPp9PPh8vH39u666uf39OWC3dhs2dIkyb8QxLn66Xv93zD+3iX/3QaiigHRtAD39eyw5+Sj5eGe49+O4Nt329X48tBU08tO0spK0cn48sY2zcP47rj66Hb1j2v/3jH93iD+3A7+2Qr21gLoygL/2ACwmACCbwDe8vDX7+6a496F3tj38tQ5zcQwy8Iuy8H48bv577D57qr57KP66o/654j664b1j3L0inD/XC3/YSv/4QXx0QThwwH+2ACQewCIdAB8agB4ZgDF7OrB6+n39eep5uL/+uH389tY1Mz57qX57J357Zj66oP4nXn66nH75m776Wr2mWb75WX75V/7ckD8azr/Zin+zx793Rz/1gnz2Ab42gPx1gP84ALkxgGulAFxYQBwYAD97ej/+9z39Nb39NVk19BCz8f47LwVxbr831L84k/84Ur840j+4Dn/qBr/sRb+1hT/ywvgxwr02wju0ATavQGwlQCZgwD95eD/89T729R22tT48cz47sj7yr/93b748b0Txbr5tqj56Kf5u4r2n4f2lXHzjWb2kmT1mV/4glb4qlP5f1L5rU/4rU36m037wDn7wzb7tjb8xiv+1in/dij/lhj+uBb+1w64nwa4nQL72wFvXwBtXQDKH0iSAAAACXRSTlMA/PLUk48rBrwi5+XgAAAFtUlEQVRYw82Z9XcTQRCAW0qBvUnS5C6NQJMQa0ukbZpQ6kopRSpQ3N2hQHF3d3d3d3d3/3/YSzZ3IXfwDnj32u+XTbJ5L9/t7MzeTWJYWsTHNUONQLO4+BYxIVo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39eiw5+RL0ckZxrz477v66Yf75mj83zz65Qn54Af53ATewgKpkAH39eT389/389ksysAIwrf665Px2wj+3Qfs0wf+2gb/4APLsQKXgQDa8O/39uu56ean5eFBz8b477b576r5657753T93zb93ir92xn94wj/4Aj22gXw1AOLdgFlVQDX8O7Q7uzL7evB6+mN4Np73Nb488z48cMxy8L477H76W775Fr840384EX840P94TH+5wnkxgLYvQG0mwGtlQBfUAC86ueU4d2G3tn389Vx2dNu2dJm19BR08v478f57KT67Iv76Xr75F3841T94ST+5QjrzgTRtwTBpwK7oQKPegGTfQCFcQCBbgDv9fW26eaC3ddh1s9c1c1F0Mc4zcT664D743HawwXTugR12tR02tT489H49Mgcx73+3hXgzArCqABcTQBUnyR/AAAACnRSTlMA/PLUk48rBry8sP0VtwAABaFJREFUWMPNmVdXGkEUgDVqyuzdQokkoAQSEpCEIioqKlIExd5j74mm2DWxRNN77733/Mo4OwtxgZyz5Jw95ntgGOaBjzv3zgyzaZjtWRnb0BawLSNrexphR2Y62jLSM3fwDjvRlrILW2SiLSZzIx/S0RaTvj0tC205WWkZKBmssaJ+5kbg3bvAgP9SrTUPyUlGWrLazKuYaVqo0rZxNE3rR5YWA/5aOTW2paFErNdvVTkYhqF4GBVjXgr2VbBINhIl2LqbQ2aOEqPRBqdlC0aihPH6ollPJaIf7u+SKxjxEkb/GZpKCn23SaYpiZcw9g1pqL/AaZu6UBxySLAzVRz1N2j67oARiZBFol48F/Hkj/Qln5CDV3u9SIxbnV3wTxLWeX30R8cFgZSrijt7CSVlFiqRmAtgw433QIwiSRJ5/rv8lzG0RkMxVAyG0rQJXUfAikQc3cNzFQw95F05IhwhWhchxilJErXBNvK7NWNjOkpYrHCrGxvTkNhwVdfFE7Ib4tiPCNkwhZsXRwhqgKNSJNi+YRKIluqOSI0Jx4Io6T5GHoRbiIU5YIyTMGT/4a0gcdrrVcBlr9dbiAinG+GlpJywvtfwE68KdXgmSpwmSsBU45ko/TiqIrl5pi5OQrE5QQWJbBDYI0ya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D4QsEmxXk5YjwWhTtut0LTqdUti9OMe8TA4o/rqItc4t6YVlUkVeGeKgDdTK5LAt8eIs72tQyyUs247FfiuSiYwkV4hs3Y2FEVokYT5z84sRyUVWsstU1ljr37g6M+t5zI7h4FydkUVykb49+bUym9d1yd80GLy9cHv+Zv90BVaQjcz/5YL9v3jU8B88dPkNsQjY1t3t4UIAAAAASUVORK5CYII=",ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAAAyCAMAAACqCYP9AAACBFBMVEUAAAD4+Pj4+Pj4+Pj4+Pj5+fn////4+Pj39/f/2gEBwbX/2QL/2wMXxrub49/19/c+z8Y3zcT/3wL+2QQPxLn/3QLy9vaT4dzI7eqx6OX39/aH3tkLw7j+2gNc1c7+3iD/3wdDz8cFwrb/4QVrWwC+6ue56uceyL3/6Af/4QL/3gLu9fXr9PTo9PPd8fDa8O+t5+OB3ddv2tMkyb/+3BL/3QT/5AP39eSe49+Y494ty8ETxbr+2gj/4gX+3gJoWAD39vH39N1229Vi1s9M0slG0Mj85VX+6gz/5AmCbwC06OWn5uKj5eE7zsX66YP94Dn+4gT94wP/5gK3nwKymgF+bABwXwBtXQDh8vHO7uz39uq76ueK39r489Nr2dL48M1T1Mv48cP576/675z66ov76HL84ET93zH93yn+2Q354gfy1ALWugKehgCNeADW8O/S7+236eas5+OF3th73NYyzMMoysD58br67JT84lH+4x7x2QTpywHlyQHgxAFzYgHZvACIcwBfUADj8/Jl19D48sr48sD57bv57aT66Zf67I/75nr75Wr85U785Ef95D7/7Af/3Ab01wLKrwKulQLStgHEqwGTfAHf8fDC6+mM4Nr763v85WD+1xf13Ab23AT53gPtzwOnkAFZTAG9pACZggB3ZgCN4Nv65Ir64YP83wGXgADISwU/AAAACHRSTlMA89WUjysGveasGXIAAAXwSURBVFjDzdlpVxJRGMBxU6uHh0FyADNCIDARcUkjUFFxz9yzxTLNfU/NfSsr2/d93/ftS3bvdQaGBsg6Z479ekFjL+bfnfswc8YYanN87CbYAJti4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ah8iBqNGcCBRB2AdsKl1Z5Es5YCwQwZ5SgR1dxfRuxJBhpB1LoA2KhkAWGuSmAb8yKiC/LQDFKV2BUt4qZhXRGDECREXMKqJEmEVpiOKdQAidAkErXiPdSGCdEirq0voloekWZDsyRCHNFy3EsjmHzx+QP1rmgRnRZpRUqKivzhCPJ36UNeozwCChCn5RGzdHbysOoEcQyYbB9egmgRbcFNoVZba5qbmw8yzTV2lS7Q4J4PEwF5jhOyiDpEm6kuZE9oG9CXHTXCuGAVx5LLOHOeOEU9fvxwxbBPjChe9IaL0Gayexi6hCtPIlwONCcg+rDqeE7WxRz6LJdkplMTNQI6B3lhIayesdXW1lTG7/84/iPwhOO5bgwXAVMaxxxiA1DlDj1i9gyankG7DQUOci0SEfPgDxGljSXiovMPPzw6TByiDj+2iivB3ymDsBHH2InqhO8jRDNM6qfpJkgwNxQ69Da6FXLm8Cv8KQI6hsSlUHn2pzP7qfQinRBnvWYEqbS6CfGRd/fuZPGWkpZ2kd5KkmRP2WkQtD3C0zb0DXPiruB5PoPYRwV+yA20gQJCI7y37YFnbDKjbDglE2pYugohFImAy4PNEb+81fzrXpBRIAI67zrVESJSlshkyCgRAZebrFy4xeBKLL2loAz566LOancJx8kSigbJYChjU5gXZ94bTdaSkALuvtVyqwOUEhv2FWJZ493hksBMpJRYh25dMYJi4sO/TDV29L5qcg8XEcPDQ4t93W2goM0RXyu3lc333mhs7Fvo6fAaQUlx/8sL9v/iVw3/wS9dfgFC7b3o5yiX7AAAAABJRU5ErkJggg==",ae=C({name:"skeleton-modal",props:{show:{type:Boolean,default:!1},showCount:{type:Array,default:()=>[1,2,3,4,5]}},setup(i,{slots:s}){const a=p({loading:!1});return S(()=>{a.loading=i.show}),B(()=>i.show,()=>{a.loading=i.show}),()=>e(P,{loading:a.loading,style:"flex-wrap: wrap"},{template:()=>e("div",{style:{height:"calc(100vh - var(--header-height))",overflow:"hidden",width:"100%"}},[i.showCount.map(()=>e(T,{class:r["data-content"],border:!1},{default:()=>[e(u,{style:{padding:"10px 12px 12px"},border:!0,center:!0,"title-style":"flex-basis: 45%;"},{title:()=>e(D,null,[e("span",{class:r.scoreName},[e(c,{rowWidth:"60%"},null)]),e("p",{style:"font-size: 14px; color: #808080;"},[e(c,{rowWidth:"50%"},null)])]),value:()=>e("p",null,[e(c,null,null)])}),e(u,{isLink:!0,clickable:!1,center:!0,style:"padding: 12px 12px 16px"},{title:()=>e(y,{border:!1,columnNum:4,clickable:!0},{default:()=>[e(n,null,{text:()=>e(c,{rowWidth:"50%"},null)}),e(n,null,{text:()=>e(c,{rowWidth:"50%"},null)}),e(n,null,{text:()=>e(c,{rowWidth:"50%"},null)}),e(n,null,{text:()=>e(c,{rowWidth:"50%"},null)})]})})]}))]),default:()=>s.default&&s.default()})}}),he=C({name:"train-detail",setup(){const i=E(),s=p({headerStatus:!0,show:!0,avatar:i.query.avatar,username:i.query.username,musicGroupName:i.query.musicGroupName,visitFlag:Number(i.query.visitFlag)||0,dataForm:{type:null,status:!1,minDate:new Date(2e3,0,1),maxDate:new Date(2030,11,31),currentDate:[A().format("YYYY"),A().format("MM"),A().format("DD")]},dataList:[],loading:!1,finished:!1}),a=p({isClick:!1,listState:{dataShow:!0,loading:!0,finished:!1,refreshing:!1},params:{startTime:null,endTime:null,userId:i.query.userId,page:1,rows:20},list:[]}),f=t=>{t=="showEnd"&&a.params.startTime?(s.dataForm.minDate=new Date(A(a.params.startTime).valueOf()),s.dataForm.maxDate=new Date(2030,11,31),setTimeout(()=>{s.dataForm.currentDate=a.params.endTime?new Date(A(a.params.endTime).valueOf()):new Date},500)):t=="showStart"&&a.params.endTime&&(s.dataForm.minDate=new Date(2e3,0,1),s.dataForm.maxDate=new Date(A(a.params.endTime).valueOf()),setTimeout(()=>{s.dataForm.currentDate=a.params.startTime?new Date(A(a.params.startTime).valueOf()):new Date},500)),s.dataForm.status=!0,s.dataForm.type=t},m=async()=>{try{if(a.isClick)return;a.isClick=!0;const{data:t}=await U.get("/api-web/schoolCloudStudy/queryMusicCompareRecord",{params:{...a.params}}),o=t||{};a.listState.refreshing?a.list=o.rows||[]:a.list=a.list.concat(o.rows||[]),a.listState.finished=o.pageNo>=o.totalPage,a.params.page=o.pageNo+1}catch(t){a.listState.finished=!0}finally{setTimeout(()=>{a.listState.dataShow=a.list.length>0,a.listState.refreshing=!1,a.listState.loading=!1,a.isClick=!1},500)}},g=t=>{let o=3;return t>60&&t<=80?o=2:t>80&&(o=1),o},w=()=>{a.params.page=1,m()},k=()=>{a.list=[],a.params.page=1,a.listState.dataShow=!0,a.listState.loading=!0,a.listState.finished=!1,a.listState.refreshing=!0,w()},Q=t=>{t.notesDataIndex>0?v({api:"openWebView",content:{url:location.origin+`/gym-music-score/#/evaluat-report?id=${t.id}&systemType=web&school=1`,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}}):G("本次评测未生成报告")};return S(()=>{m()}),()=>e("div",{class:r.trainDetail},[e(b,{position:"top"},{default:()=>[e(F,null,null),e("div",{style:{backgroundColor:"#f5f5f5",overflow:"hidden"}},[e("div",{class:r.evaluation},[e(u,{style:"padding: 16px 12px; background-color: transparent",center:!0},{title:()=>e("div",{class:r.teacher_info},[e("img",{class:r.logo,src:s.avatar||L,alt:""},null),e("div",{class:r.teacher_content},[e("p",{class:r.username},[s.username]),e("p",{class:r.musicGroupName},[s.musicGroupName])])])})]),!s.visitFlag&&e(K,{class:r.dataSearch,align:"center",justify:"center"},{default:()=>[e(d,{span:9,offset:1},{default:()=>[e(u,{isLink:!0,onClick:()=>f("showStart")},{"right-icon":()=>e(h,{name:x,class:r["search-icon"],size:10},null),title:()=>a.params.startTime?a.params.startTime:e("span",{style:{color:"#adadad"}},[l("开始日期")])})]}),e(d,{span:1,style:{"text-align":"center"}},{default:()=>[l("-")]}),e(d,{span:9},{default:()=>[e(u,{onClick:()=>f("showEnd")},{"right-icon":()=>e(h,{name:x,class:r["search-icon"],size:10},null),title:()=>a.params.endTime?a.params.endTime:e("span",{style:{color:"#adadad"}},[l("结束日期")])})]}),e(d,{span:4},{default:()=>[e("span",{class:r["btn-search"],onClick:()=>k()},[l("搜索")])]})]})])]}),e(R,{show:s.dataForm.status,"onUpdate:show":t=>s.dataForm.status=t,position:"bottom",round:!0},{default:()=>[e(M,{modelValue:s.dataForm.currentDate,"onUpdate:modelValue":t=>s.dataForm.currentDate=t,formatter:I,minDate:s.dataForm.minDate,maxDate:s.dataForm.maxDate,onCancel:()=>s.dataForm.status=!1,onConfirm:({selectedValues:t})=>{let o=s.dataForm;o.type=="showStart"?a.params.startTime=t.join("-"):o.type=="showEnd"&&(a.params.endTime=t.join("-")),s.dataForm.status=!1}},null)]}),e(ae,{show:a.listState.loading,"onUpdate:show":t=>a.listState.loading=t},{default:()=>[e(N,{modelValue:a.listState.refreshing,"onUpdate:modelValue":t=>a.listState.refreshing=t,onRefresh:()=>w(),style:{minHeight:"calc(100vh - var(--header-height))"}},{default:()=>[e(z,{finished:a.listState.finished,finishedText:" ",style:{overflow:"hidden",marginBottom:"18px"},onLoad:m,immediateCheck:!1},{default:()=>[a.listState.dataShow?a.list.map(t=>e(T,{class:r["data-content"],border:!1,onClick:()=>Q(t)},{default:()=>[e(u,{style:{padding:"10px 12px 12px"},border:!0,center:!0,"title-style":"flex-basis: 45%;"},{title:()=>e(D,null,[e("span",{class:r.scoreName},[t.sysMusicScoreName]),e("p",{style:"font-size: 14px; color: #808080;"},[t.createTime])]),value:()=>e("p",null,[g(t.score)===1&&e("img",{class:r.scoreImg,src:_,alt:""},null),g(t.score)===2&&e("img",{class:r.scoreImg,src:$,alt:""},null),g(t.score)===3&&e("img",{class:r.scoreImg,src:ee,alt:""},null)])}),e(u,{isLink:!0,clickable:!1,center:!0,style:"padding: 12px 12px 16px"},{title:()=>e(y,{border:!1,columnNum:4,clickable:!0},{default:()=>[e(n,{text:"综合得分"},{icon:()=>e("span",null,[t.score,l("分")])}),e(n,{text:"音准"},{icon:()=>e("span",{style:"color: #01C1B5"},[t.intonation,l("分")])}),e(n,{text:"节奏"},{icon:()=>e("span",{style:"color: #FF802C"},[t.cadence,l("分")])}),e(n,{text:"完成度"},{icon:()=>e("span",{style:"color: #F79C00"},[t.integrity,l("分")])})]})})]})):e(j,{style:{minHeight:"calc(100vh - var(--header-height))"},description:"暂无训练详情"},null)]})]})]})])}});export{he as default};