import{s as a}from"./index.module-f5d3eb8e-1727674273374.js";import{p as l}from"./api-120f855c-1727674273374.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-d5d3228c-1727674273374.js";import{C as g}from"./index-ffb92c57-1727674273374.js";import{d as b}from"./teacherIcon-b8e3946d-1727674273374.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-01ce16fe-1727674273374.js";import"./index.module-622ebf5e-1727674273374.js";import"./useECharts-5fe96ca3-1727674273374.js";import"./index-7263344e-1727674273374.js";import"./api-c5c82eca-1727674273374.js";import"./icon-sort-asc-6b910b2b-1727674273374.js";import"./index-f5002baa-1727674273374.js";import"./index-4145c03e-1727674273374.js";import"./use-async-dbb29e0b-1727674273374.js";import"./index-98081e7b-1727674273374.js";import"./urlUtils-72ef455d-1727674273374.js";import"./index-b9fcf163-1727674273374.js";import"./searchArray-bdf4343a-1727674273374.js";import"./contants-32f8b17d-1727674273374.js";import"./catchData-3bf062f1-1727674273374.js";import"./index-5a593648-1727674273374.js";import"./index-45b944d3-1727674273374.js";import"./Slider-8389ab2c-1727674273374.js";import"./index-613361af-1727674273374.js";import"./icon_default-d1bcaf5f-1727674273374.js";import"./useSpeak-ccb2e947-1727674273374.js";import"./api-77454ac6-1727674273374.js";import"./icon-pan-16e35a82-1727674273374.js";import"./api-671e9128-1727674273374.js";import"./Cascader-1e4a19f6-1727674273374.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};
