1 |
- import{s as a}from"./index.module-7d86a2ea-1726219372904.js";import{p as c}from"./api-0e5ba9bf-1726219372904.js";import{d as m,e as p,r as o,a as f,q as I,f as e,w as d,t as v,v as u}from"./index-1ec0a32d-1726219372904.js";import{C as g}from"./index-fc860229-1726219372904.js";import{d as b}from"./teacherIcon-b8e3946d-1726219372904.js";import{m as y,f as h,P as q,E as x}from"./evaluationRecords-05d1bafb-1726219372904.js";import"./index.module-54c73193-1726219372904.js";import"./useECharts-c319041a-1726219372904.js";import"./index-ff9a89ac-1726219372904.js";import"./api-b3e2f6f8-1726219372904.js";import"./dateFormat-0341fa65-1726219372904.js";import"./index-6fc10175-1726219372904.js";import"./index-2727764b-1726219372904.js";import"./use-async-9f56226e-1726219372904.js";import"./index-be61723a-1726219372904.js";import"./urlUtils-72ef455d-1726219372904.js";import"./index-c5832142-1726219372904.js";import"./searchArray-26034d65-1726219372904.js";import"./contants-32f8b17d-1726219372904.js";const A=m({name:"classStudentRecode",setup(B,{emit:N}){const s=p({studentInfo:{avatar:"",nickname:"",gender:null,subjectNames:""}}),r=o("textRcode"),t=f(),l=o([{name:"班级管理",path:"/classList"},{name:t.query.name,path:"/classDetail"},{name:t.query.studentName,path:"/classStudentRecode"}]),i=async()=>{console.log(t.query.studentId);try{const n=await c({id:t.query.studentId});s.studentInfo={...n.data}}catch(n){console.log(n)}};return I(()=>{i()}),()=>e("div",null,[e(g,{list:l.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:r.value,"onUpdate:value":n=>r.value=n,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{A as default};
|