classStudentRecode-legacy-87f39067.js 2.2 KB

1
  1. System.register(["./index.module-legacy-f2b0f9bd.js","./api-legacy-6ff284b8.js","./index-legacy-f073bf97.js","./index-legacy-47e74465.js","./teacherIcon-legacy-3eeb62c3.js","./maleIcon-legacy-f2aee668.js","./evaluationRecords-legacy-eb6686c6.js","./api-legacy-0f7a4b4d.js","./useECharts-legacy-b86d295c.js","./index-legacy-557685f7.js","./dateFormat-legacy-8633a26e.js","./index-legacy-44eebe37.js","./index-legacy-3b06cf1f.js","./index-legacy-fd682661.js","./urlUtils-legacy-b652a21b.js"],(function(e,a){"use strict";var t,s,n,l,d,u,c,r,i,o,y,g,m,p,I,f,j;return{setters:[e=>{t=e.s},e=>{s=e.p},e=>{n=e.d,l=e.e,d=e.r,u=e.a,c=e.n,r=e.f,i=e.t,o=e.p,y=e.q},e=>{g=e.C},e=>{m=e.d},e=>{p=e.m,I=e.f},e=>{f=e.P,j=e.E},null,null,null,null,null,null,null,null],execute:function(){e("default",n({name:"classStudentRecode",setup(e,{emit:a}){const n=l({studentInfo:{avatar:"",nickname:"",gender:null,subjectNames:""}}),v=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});n.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:n.studentInfo.avatar?n.studentInfo.avatar:m,previewDisabled:!0},null)])]),r("div",{class:t.workafterInfo},[r("h4",{class:t.studentGender},[n.studentInfo.nickname," ",r(i,{src:n.studentInfo.gender?p:I},null)]),r("p",null,[x.query.name," ",n.studentInfo.subjectNames?"|"+n.studentInfo.subjectNames:""])])]),r(o,{class:t.customTabs,value:v.value,"onUpdate:value":e=>v.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(f,{classGroupId:x.query.id,studentId:x.query.studentId},null)]}),r(y,{name:"evaluatingRcode",tab:"评测记录"},{default:()=>[r(j,{classGroupId:x.query.id,studentId:x.query.studentId},null)]})]})])])}}))}}}));