1 |
- import{s as a}from"./index.module-f5d3eb8e-1734950731618.js";import{p as l}from"./api-23af9df8-1734950731618.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-efb66432-1734950731618.js";import{C as g}from"./index-4b5fede7-1734950731618.js";import{d as b}from"./teacherIcon-b8e3946d-1734950731618.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-c31ed375-1734950731618.js";import"./index.module-622ebf5e-1734950731618.js";import"./useECharts-7b15901d-1734950731618.js";import"./index-5585b177-1734950731618.js";import"./api-5d798bfa-1734950731618.js";import"./icon-sort-asc-a578314f-1734950731618.js";import"./index-6c0d6268-1734950731618.js";import"./index-043f1db0-1734950731618.js";import"./use-async-65954bcc-1734950731618.js";import"./index-4013b1bc-1734950731618.js";import"./urlUtils-7f82c85e-1734950731618.js";import"./index-c7074e8f-1734950731618.js";import"./searchArray-e332cd94-1734950731618.js";import"./contants-84ba384e-1734950731618.js";import"./catchData-e017bf09-1734950731618.js";import"./index-c8d64418-1734950731618.js";import"./index-1071cbc8-1734950731618.js";import"./Slider-f8e18c57-1734950731618.js";import"./index-b40f8126-1734950731618.js";import"./icon_default-d1bcaf5f-1734950731618.js";import"./useSpeak-591a8844-1734950731618.js";import"./api-9f0dec79-1734950731618.js";import"./icon-pan-16e35a82-1734950731618.js";import"./api-d3492aaa-1734950731618.js";import"./Cascader-500c8137-1734950731618.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};
|