import{s as a}from"./index.module-eed6ff4d-1776006071491.js";import{p as l}from"./api-f361bb3e-1776006071491.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-8c26cc43-1776006071491.js";import{C as g}from"./index-43602c73-1776006071491.js";import{d as b}from"./teacherIcon-b8e3946d-1776006071491.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-c18e85a4-1776006071491.js";import"./index.module-e80d7fa2-1776006071491.js";import"./useECharts-d59a6b7a-1776006071491.js";import"./index-672e58e2-1776006071491.js";import"./api-412a5c57-1776006071491.js";import"./icon-sort-asc-0ab0ae98-1776006071491.js";import"./index-c8d151ce-1776006071491.js";import"./index-7b9d4885-1776006071491.js";import"./use-async-109850fc-1776006071491.js";import"./index-36a9fdea-1776006071491.js";import"./urlUtils-b5855a3c-1776006071491.js";import"./index-a1e6dc56-1776006071491.js";import"./searchArray-dffe7741-1776006071491.js";import"./contants-461a5862-1776006071491.js";import"./catchData-b0d27a71-1776006071491.js";import"./deep-clone-c0d00fc2-1776006071491.js";import"./index-99ce7d51-1776006071491.js";import"./index-84e7e176-1776006071491.js";import"./Slider-dce37945-1776006071491.js";import"./detail-119bb6bd-1776006071491.js";import"./index-02b5b5fa-1776006071491.js";import"./icon_default-d1bcaf5f-1776006071491.js";import"./useSpeak-a28373f5-1776006071491.js";import"./api-e21ff237-1776006071491.js";import"./icon-pan-16e35a82-1776006071491.js";import"./Cascader-f80df73e-1776006071491.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};
