classStudentRecode-legacy-5f3e6e85-1726219372904.js 2.6 KB

1
  1. System.register(["./index.module-legacy-080f5ce6-1726219372904.js","./api-legacy-824e3227-1726219372904.js","./index-legacy-07b6971b-1726219372904.js","./index-legacy-2906d6ed-1726219372904.js","./teacherIcon-legacy-3eeb62c3-1726219372904.js","./evaluationRecords-legacy-7a8e5cfd-1726219372904.js","./index.module-legacy-d2eb233d-1726219372904.js","./useECharts-legacy-e4d396a7-1726219372904.js","./index-legacy-8904b81b-1726219372904.js","./api-legacy-5fd1c091-1726219372904.js","./dateFormat-legacy-7f1891b4-1726219372904.js","./index-legacy-383c219e-1726219372904.js","./index-legacy-783edf9f-1726219372904.js","./use-async-legacy-c454b906-1726219372904.js","./index-legacy-e9884031-1726219372904.js","./urlUtils-legacy-0ad6488a-1726219372904.js","./index-legacy-2c3bd9e3-1726219372904.js","./searchArray-legacy-8a773c31-1726219372904.js","./contants-legacy-5abbabb7-1726219372904.js"],(function(e,a){"use strict";var s,l,t,n,u,d,c,r,i,o,y,g,m,j,p,f,v;return{setters:[e=>{s=e.s},e=>{l=e.p},e=>{t=e.d,n=e.e,u=e.r,d=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=>{j=e.m,p=e.f,f=e.P,v=e.E},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){e("default",t({name:"classStudentRecode",setup(e,{emit:a}){const t=n({studentInfo:{avatar:"",nickname:"",gender:null,subjectNames:""}}),I=u("textRcode"),x=d(),h=u([{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 l({id:x.query.studentId});t.studentInfo={...e.data}}catch(e){console.log(e)}})()})),()=>r("div",null,[r(g,{list:h.value},null),r("div",{class:s.listWrap},[r("div",{class:s.teacherList},[r("div",{class:s.teacherHeader},[r("div",{class:s.teacherHeaderBorder},[r(i,{class:s.teacherHeaderImg,src:t.studentInfo.avatar?t.studentInfo.avatar:m,previewDisabled:!0},null)])]),r("div",{class:s.workafterInfo},[r("h4",{class:s.studentGender},[t.studentInfo.nickname," ",r(i,{src:t.studentInfo.gender?j:p},null)]),r("p",null,[x.query.name," ",t.studentInfo.subjectNames?"|"+t.studentInfo.subjectNames:""])])]),r(o,{class:s.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(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)]})]})])])}}))}}}));