classStudentRecode-legacy-a51e1d10-1694072377806.js 2.4 KB

1
  1. System.register(["./index.module-legacy-f2b0f9bd-1694072377806.js","./api-legacy-59b62e8c-1694072377806.js","./index-legacy-0f6676d3-1694072377806.js","./index-legacy-7e319a6e-1694072377806.js","./teacherIcon-legacy-3eeb62c3-1694072377806.js","./maleIcon-legacy-f2aee668-1694072377806.js","./evaluationRecords-legacy-499c2613-1694072377806.js","./api-legacy-df487334-1694072377806.js","./useECharts-legacy-b71efafe-1694072377806.js","./index-legacy-13bf181b-1694072377806.js","./dateFormat-legacy-4ed1a4c9-1694072377806.js","./index-legacy-aa1c2810-1694072377806.js","./index-legacy-0b6e7f38-1694072377806.js","./index-legacy-ea32d2de-1694072377806.js","./urlUtils-legacy-b652a21b-1694072377806.js"],(function(e,a){"use strict";var t,s,n,l,d,u,c,r,i,o,y,g,m,p,I,f,v;return{setters:[e=>{t=e.s},e=>{s=e.o},e=>{n=e.d,l=e.e,d=e.r,u=e.a,c=e.n,r=e.f,i=e.v,o=e.q,y=e.t},e=>{g=e.C},e=>{m=e.d},e=>{p=e.m,I=e.f},e=>{f=e.P,v=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:""}}),j=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:j.value,"onUpdate:value":e=>j.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(v,{classGroupId:x.query.id,studentId:x.query.studentId},null)]})]})])])}}))}}}));