Demo03GradeList-e6b43ef1.js 1.5 KB

1
  1. import{d as h,n as y,r as n,B as w,o as _,l as o,w as i,C as v,a as l,i as t,L as b,M as g,N as x,_ as D,__tla as L}from"./index-b2b3c6c4.js";import{_ as G,__tla as I}from"./ContentWrap-e91b2b5a.js";import{d as j,__tla as k}from"./formatTime-7e07ce72.js";import{b as q,__tla as z}from"./index-86d9e7b3.js";import{u as B,__tla as C}from"./useMessage-a5edbb0f.js";import{__tla as H}from"./el-card-bd6e27c9.js";let u,M=Promise.all([(()=>{try{return L}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return H}catch{}})()]).then(async()=>{u=D(h({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(c){y(),B();const m=c,e=n(!1),s=n([]);return w(()=>{(async()=>{e.value=!0;try{const r=await q(m.studentId);if(!r)return;s.value.push(r)}finally{e.value=!1}})()}),(r,N)=>{const a=b,p=g,f=G,d=x;return _(),o(f,null,{default:i(()=>[v((_(),o(p,{data:l(s),stripe:!0,"show-overflow-tooltip":!0},{default:i(()=>[t(a,{label:"\u7F16\u53F7",align:"center",prop:"id"}),t(a,{label:"\u540D\u5B57",align:"center",prop:"name"}),t(a,{label:"\u73ED\u4E3B\u4EFB",align:"center",prop:"teacher"}),t(a,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:l(j),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[d,l(e)]])]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue"]])});export{M as __tla,u as default};