Demo03GradeList-dc66b2d8.js 1.5 KB

1
  1. import{d as y,n as h,r as n,B as v,o as _,l as o,w as i,C as w,a as l,i as t,L as b,M as g,N as G,_ as L,__tla as j}from"./index-390579cd.js";import{_ as x,__tla as D}from"./ContentWrap-a04cd098.js";import{d as I,__tla as P}from"./formatTime-926628b1.js";import{b as q,__tla as A}from"./index-cd13939d.js";import{u as B,__tla as C}from"./useMessage-6684a162.js";import{__tla as E}from"./el-card-f2f59395.js";let u,H=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{u=L(y({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(c){h(),B();const m=c,e=n(!1),s=n([]);return v(()=>{(async()=>{e.value=!0;try{const r=await q(m.studentId);if(!r)return;s.value.push(r)}finally{e.value=!1}})()}),(r,M)=>{const a=b,p=g,f=x,d=G;return _(),o(f,null,{default:i(()=>[w((_(),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(I),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[d,l(e)]])]),_:1})}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue"]])});export{H as __tla,u as default};