import{s as a}from"./index.module-93d17816-1742362401929.js";import{p as l}from"./api-ba6621ec-1742362401929.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-ab183db6-1742362401929.js";import{C as g}from"./index-9b571a18-1742362401929.js";import{d as b}from"./teacherIcon-b8e3946d-1742362401929.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-7fc94966-1742362401929.js";import"./index.module-622ebf5e-1742362401929.js";import"./useECharts-ad54ef63-1742362401929.js";import"./index-46c00744-1742362401929.js";import"./api-c54437f8-1742362401929.js";import"./icon-sort-asc-0b62055f-1742362401929.js";import"./index-78fc1cd2-1742362401929.js";import"./index-ed5621e1-1742362401929.js";import"./use-async-ea67ecda-1742362401929.js";import"./index-2e3a5241-1742362401929.js";import"./urlUtils-b5855a3c-1742362401929.js";import"./index-6bce0973-1742362401929.js";import"./searchArray-304a828f-1742362401929.js";import"./contants-84ba384e-1742362401929.js";import"./catchData-02ec674f-1742362401929.js";import"./deep-clone-c0d00fc2-1742362401929.js";import"./index-2d1d3791-1742362401929.js";import"./index-6b78136d-1742362401929.js";import"./Slider-046dd607-1742362401929.js";import"./index-1fc2bab9-1742362401929.js";import"./icon_default-d1bcaf5f-1742362401929.js";import"./useSpeak-7cfb822a-1742362401929.js";import"./api-47fe0d40-1742362401929.js";import"./icon-pan-16e35a82-1742362401929.js";import"./Cascader-b81c64ba-1742362401929.js";const te=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"}]),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{te as default};
