classStudentRecode-legacy-333074c6-1725962701482.js 2.4 KB

1
  1. System.register(["./index.module-legacy-080f5ce6-1725962701482.js","./api-legacy-19fd7dfd-1725962701482.js","./index-legacy-f8e66744-1725962701482.js","./index-legacy-c66d766c-1725962701482.js","./teacherIcon-legacy-3eeb62c3-1725962701482.js","./evaluationRecords-legacy-cac102de-1725962701482.js","./index.module-legacy-85d3d2e3-1725962701482.js","./useECharts-legacy-38d78974-1725962701482.js","./index-legacy-8320ffad-1725962701482.js","./api-legacy-3788cb1c-1725962701482.js","./dateFormat-legacy-29f86ef3-1725962701482.js","./index-legacy-3013e11b-1725962701482.js","./index-legacy-f75a67e8-1725962701482.js","./use-async-legacy-803b1971-1725962701482.js","./index-legacy-a9c0d11a-1725962701482.js","./urlUtils-legacy-0ad6488a-1725962701482.js"],(function(e,a){"use strict";var t,s,l,n,d,u,c,r,i,o,y,g,m,p,f,j,v;return{setters:[e=>{t=e.s},e=>{s=e.p},e=>{l=e.d,n=e.e,d=e.r,u=e.a,c=e.q,r=e.f,i=e.w,o=e.t,y=e.v},e=>{g=e.C},e=>{m=e.d},e=>{p=e.m,f=e.f,j=e.P,v=e.E},null,null,null,null,null,null,null,null,null,null],execute:function(){e("default",l({name:"classStudentRecode",setup(e,{emit:a}){const l=n({studentInfo:{avatar:"",nickname:"",gender:null,subjectNames:""}}),I=d("textRcode"),x=u(),h=d([{name:"班级管理",path:"/classList"},{name:x.query.name,path:"/classDetail"},{name:x.query.studentName,path:"/classStudentRecode"}]);return c((()=>{(async()=>{console.log(x.query.studentId);try{const e=await s({id:x.query.studentId});l.studentInfo={...e.data}}catch(e){console.log(e)}})()})),()=>r("div",null,[r(g,{list:h.value},null),r("div",{class:t.listWrap},[r("div",{class:t.teacherList},[r("div",{class:t.teacherHeader},[r("div",{class:t.teacherHeaderBorder},[r(i,{class:t.teacherHeaderImg,src:l.studentInfo.avatar?l.studentInfo.avatar:m,previewDisabled:!0},null)])]),r("div",{class:t.workafterInfo},[r("h4",{class:t.studentGender},[l.studentInfo.nickname," ",r(i,{src:l.studentInfo.gender?p:f},null)]),r("p",null,[x.query.name," ",l.studentInfo.subjectNames?"|"+l.studentInfo.subjectNames:""])])]),r(o,{class:t.customTabs,value:I.value,"onUpdate:value":e=>I.value=e,size:"large",animated:!1,"pane-wrapper-style":"margin: 0 -4px","pane-style":"padding-left: 4px; padding-right: 4px; box-sizing: border-box;"},{default:()=>[r(y,{name:"textRcode",tab:"练习记录"},{default:()=>[r(j,{classGroupId:x.query.id,studentId:x.query.studentId},null)]}),r(y,{name:"evaluatingRcode",tab:"评测记录"},{default:()=>[r(v,{classGroupId:x.query.id,studentId:x.query.studentId},null)]})]})])])}}))}}}));