Demo03GradeList-ae8e20b8.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 g,M as b,N as G,_ as L,__tla as x}from"./index-82e357b2.js";import{_ as D,__tla as I}from"./ContentWrap-084be354.js";import{d as P,__tla as j}from"./formatTime-e098e56b.js";import{b as q,__tla as A}from"./index-d681ca82.js";import{u as B,__tla as C}from"./useMessage-84d39096.js";import{__tla as E}from"./el-card-9a8d6f1c.js";let u,H=Promise.all([(()=>{try{return x}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return j}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=g,p=b,f=D,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(P),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};