classStudentRecode-legacy-dae96875-1720699367816.js 2.5 KB

1
  1. System.register(["./index.module-legacy-1ef1eaf5-1720699367816.js","./api-legacy-7bb326ea-1720699367816.js","./index-legacy-e0181e36-1720699367816.js","./index-legacy-3b86c891-1720699367816.js","./teacherIcon-legacy-3eeb62c3-1720699367816.js","./maleIcon-legacy-f2aee668-1720699367816.js","./evaluationRecords-legacy-67f54fb2-1720699367816.js","./index.module-legacy-85d3d2e3-1720699367816.js","./useECharts-legacy-72d5aac4-1720699367816.js","./index-legacy-ba4d191d-1720699367816.js","./api-legacy-18f140e4-1720699367816.js","./dateFormat-legacy-ae8504f8-1720699367816.js","./index-legacy-ef18eacf-1720699367816.js","./index-legacy-de40bbb0-1720699367816.js","./use-async-legacy-f3df0cba-1720699367816.js","./index-legacy-c8cbce8c-1720699367816.js","./urlUtils-legacy-0ad6488a-1720699367816.js"],(function(e,a){"use strict";var s,t,l,n,d,u,c,r,i,o,y,g,m,p,j,I,f;return{setters:[e=>{s=e.s},e=>{t=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,j=e.f},e=>{I=e.P,f=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:""}}),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 t({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:s.listWrap},[r("div",{class:s.teacherList},[r("div",{class:s.teacherHeader},[r("div",{class:s.teacherHeaderBorder},[r(i,{class:s.teacherHeaderImg,src:l.studentInfo.avatar?l.studentInfo.avatar:m,previewDisabled:!0},null)])]),r("div",{class:s.workafterInfo},[r("h4",{class:s.studentGender},[l.studentInfo.nickname," ",r(i,{src:l.studentInfo.gender?p:j},null)]),r("p",null,[x.query.name," ",l.studentInfo.subjectNames?"|"+l.studentInfo.subjectNames:""])])]),r(o,{class:s.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(I,{classGroupId:x.query.id,studentId:x.query.studentId},null)]}),r(y,{name:"evaluatingRcode",tab:"评测记录"},{default:()=>[r(f,{classGroupId:x.query.id,studentId:x.query.studentId},null)]})]})])])}}))}}}));