1 |
- import{s as a}from"./index.module-f6e6cc97-1741251658006.js";import{p as m}from"./api-4fed5d3d-1741251658006.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-ead12a7d-1741251658006.js";import{C as g}from"./index-d243f556-1741251658006.js";import{d as b}from"./teacherIcon-b8e3946d-1741251658006.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-56913bcc-1741251658006.js";import"./index.module-622ebf5e-1741251658006.js";import"./useECharts-acfab140-1741251658006.js";import"./index-12f708ed-1741251658006.js";import"./api-403b1e55-1741251658006.js";import"./icon-sort-asc-9e23fc68-1741251658006.js";import"./index-9d16794f-1741251658006.js";import"./index-01b58c81-1741251658006.js";import"./use-async-3c157c41-1741251658006.js";import"./index-23a8e23b-1741251658006.js";import"./urlUtils-b5855a3c-1741251658006.js";import"./index-8d49e34a-1741251658006.js";import"./searchArray-7cd6a1f2-1741251658006.js";import"./contants-84ba384e-1741251658006.js";import"./catchData-7246acf6-1741251658006.js";import"./index-c6bd139e-1741251658006.js";import"./index-da82bf89-1741251658006.js";import"./Slider-8fdc0c7b-1741251658006.js";import"./index-00517aab-1741251658006.js";import"./icon_default-d1bcaf5f-1741251658006.js";import"./useSpeak-4432bd51-1741251658006.js";import"./api-f1cd10c7-1741251658006.js";import"./icon-pan-16e35a82-1741251658006.js";import"./Cascader-d8d65883-1741251658006.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};
|