import{s as a}from"./index.module-f6e6cc97-1740456180783.js";import{p as m}from"./api-89d41630-1740456180783.js";import{d as c,e as p,r as n,a as f,q as I,f as e,w as d,t as v,v as u}from"./index-5b69f37f-1740456180783.js";import{C as g}from"./index-58a18ab7-1740456180783.js";import{d as b}from"./teacherIcon-b8e3946d-1740456180783.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-6edcce80-1740456180783.js";import"./index.module-622ebf5e-1740456180783.js";import"./useECharts-f4235c03-1740456180783.js";import"./index-ca84afb1-1740456180783.js";import"./api-9cf3adf8-1740456180783.js";import"./icon-sort-asc-6ad1cdb5-1740456180783.js";import"./index-ad4648ef-1740456180783.js";import"./index-95c26756-1740456180783.js";import"./use-async-fb2328ef-1740456180783.js";import"./index-e1d9be68-1740456180783.js";import"./urlUtils-b5855a3c-1740456180783.js";import"./index-27411736-1740456180783.js";import"./searchArray-0cd7090d-1740456180783.js";import"./contants-84ba384e-1740456180783.js";import"./catchData-e89f3c75-1740456180783.js";import"./index-5a175117-1740456180783.js";import"./index-a5bb27e1-1740456180783.js";import"./Slider-2125e184-1740456180783.js";import"./index-a92c27b8-1740456180783.js";import"./icon_default-d1bcaf5f-1740456180783.js";import"./useSpeak-b3d48acc-1740456180783.js";import"./api-311e333b-1740456180783.js";import"./icon-pan-16e35a82-1740456180783.js";import"./Cascader-ac2409b9-1740456180783.js";const ee=c({name:"classStudentRecode",setup(B,{emit:N}){const s=p({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"}]),l=async()=>{console.log(t.query.studentId);try{const r=await m({id:t.query.studentId});s.studentInfo={...r.data}}catch(r){console.log(r)}};return I(()=>{l()}),()=>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{ee as default};
