classStudentRecode-1b8e4022-1737368742213.js 2.9 KB

1
  1. import{s as a}from"./index.module-f6e6cc97-1737368742213.js";import{p as m}from"./api-41b7ab3f-1737368742213.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-04fdf77b-1737368742213.js";import{C as g}from"./index-1c15fe3a-1737368742213.js";import{d as b}from"./teacherIcon-b8e3946d-1737368742213.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-793bf9bf-1737368742213.js";import"./index.module-622ebf5e-1737368742213.js";import"./useECharts-2b527d8a-1737368742213.js";import"./index-7ebf03b6-1737368742213.js";import"./api-92e95883-1737368742213.js";import"./icon-sort-asc-1ef511e7-1737368742213.js";import"./index-4a98dcd1-1737368742213.js";import"./index-164eef85-1737368742213.js";import"./use-async-b110996e-1737368742213.js";import"./index-307e296d-1737368742213.js";import"./urlUtils-b5855a3c-1737368742213.js";import"./index-4bebf9b7-1737368742213.js";import"./searchArray-55d9fdad-1737368742213.js";import"./contants-84ba384e-1737368742213.js";import"./catchData-f11f5957-1737368742213.js";import"./index-7e012aa3-1737368742213.js";import"./index-904ee0e4-1737368742213.js";import"./Slider-b0c85aac-1737368742213.js";import"./index-1b728eb8-1737368742213.js";import"./icon_default-d1bcaf5f-1737368742213.js";import"./useSpeak-4fbf538f-1737368742213.js";import"./api-4b7c79f3-1737368742213.js";import"./icon-pan-16e35a82-1737368742213.js";import"./Cascader-0a083e98-1737368742213.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};