import{s as a}from"./index.module-cf5dfb1b-1763717014417.js";import{p as l}from"./api-6c318bb9-1763717014417.js";import{d as p,e as c,r as n,a as f,q as I,f as e,w as d,t as v,v as u}from"./index-8ca08701-1763717014417.js";import{C as g}from"./index-383689e6-1763717014417.js";import{d as b}from"./teacherIcon-b8e3946d-1763717014417.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-606c2717-1763717014417.js";import"./index.module-e80d7fa2-1763717014417.js";import"./useECharts-0e07dc99-1763717014417.js";import"./index-2ed9b35c-1763717014417.js";import"./api-55cdcdf4-1763717014417.js";import"./icon-sort-asc-f1dc2419-1763717014417.js";import"./index-4266beee-1763717014417.js";import"./index-a6ea1792-1763717014417.js";import"./use-async-285d3ea0-1763717014417.js";import"./index-dad835bc-1763717014417.js";import"./urlUtils-b5855a3c-1763717014417.js";import"./index-71afb794-1763717014417.js";import"./searchArray-270162af-1763717014417.js";import"./contants-461a5862-1763717014417.js";import"./catchData-c1b0e2a9-1763717014417.js";import"./deep-clone-c0d00fc2-1763717014417.js";import"./index-38db39a7-1763717014417.js";import"./index-496228d2-1763717014417.js";import"./Slider-68367410-1763717014417.js";import"./detail-8f396fd9-1763717014417.js";import"./index-7e8c9fbd-1763717014417.js";import"./icon_default-d1bcaf5f-1763717014417.js";import"./useSpeak-ec7f661b-1763717014417.js";import"./api-250d420d-1763717014417.js";import"./icon-pan-16e35a82-1763717014417.js";import"./Cascader-3ede19e6-1763717014417.js";const ae=p({name:"classStudentRecode",setup(B,{emit:N}){const s=c({studentInfo:{avatar:"",nickname:"",gender:null,subjectNames:""}}),o=n("textRcode"),t=f(),i=n([{name:"班级管理",path:"/classList"},{name:t.query.name,path:"/classDetail"},{name:t.query.studentName,path:"/classStudentRecode"}]),m=async()=>{console.log(t.query.studentId);try{const r=await l({id:t.query.studentId});s.studentInfo={...r.data}}catch(r){console.log(r)}};return I(()=>{m()}),()=>e("div",null,[e(g,{list:i.value},null),e("div",{class:a.listWrap},[e("div",{class:a.teacherList},[e("div",{class:a.teacherHeader},[e("div",{class:a.teacherHeaderBorder},[e(d,{class:a.teacherHeaderImg,src:s.studentInfo.avatar?s.studentInfo.avatar:b,previewDisabled:!0},null)])]),e("div",{class:a.workafterInfo},[e("h4",{class:a.studentGender},[s.studentInfo.nickname," ",e(d,{src:s.studentInfo.gender?y:h},null)]),e("p",null,[t.query.name," ",s.studentInfo.subjectNames?"|"+s.studentInfo.subjectNames:""])])]),e(v,{class:a.customTabs,value:o.value,"onUpdate:value":r=>o.value=r,size:"large",animated:!1,"pane-wrapper-style":"margin: 0 -4px","pane-style":"padding-left: 4px; padding-right: 4px; box-sizing: border-box;"},{default:()=>[e(u,{name:"textRcode",tab:"练习记录"},{default:()=>[e(q,{classGroupId:t.query.id,studentId:t.query.studentId},null)]}),e(u,{name:"evaluatingRcode",tab:"评测记录"},{default:()=>[e(x,{classGroupId:t.query.id,studentId:t.query.studentId},null)]})]})])])}});export{ae as default};