classStudentRecode-73b22c52-1731319840132.js 2.9 KB

1
  1. import{s as a}from"./index.module-f5d3eb8e-1731319840132.js";import{p as l}from"./api-de5ca66f-1731319840132.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-6198d9d3-1731319840132.js";import{C as g}from"./index-e298ada2-1731319840132.js";import{d as b}from"./teacherIcon-b8e3946d-1731319840132.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-87b09745-1731319840132.js";import"./index.module-622ebf5e-1731319840132.js";import"./useECharts-966ad2e5-1731319840132.js";import"./index-2b1ee5b2-1731319840132.js";import"./api-7fc192d9-1731319840132.js";import"./icon-sort-asc-022eea20-1731319840132.js";import"./index-3a8a6739-1731319840132.js";import"./index-eedcb178-1731319840132.js";import"./use-async-44e3cc0a-1731319840132.js";import"./index-9710e333-1731319840132.js";import"./urlUtils-72ef455d-1731319840132.js";import"./index-108fa044-1731319840132.js";import"./searchArray-3567ea02-1731319840132.js";import"./contants-333a16ae-1731319840132.js";import"./catchData-21a2ae20-1731319840132.js";import"./index-37b41ea0-1731319840132.js";import"./index-d85dbeb3-1731319840132.js";import"./Slider-25b157fd-1731319840132.js";import"./index-114185ea-1731319840132.js";import"./icon_default-d1bcaf5f-1731319840132.js";import"./useSpeak-f6847790-1731319840132.js";import"./api-70d4d585-1731319840132.js";import"./icon-pan-16e35a82-1731319840132.js";import"./api-5a9c06c7-1731319840132.js";import"./Cascader-6acdac20-1731319840132.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};