Demo03GradeList-e5a10ae9.js 1.5 KB

1
  1. import{d as h,P as y,r as _,b,o as n,C as o,A as i,k as v,a as l,f as t,X as w,Y as g,Z as x,_ as D,__tla as j}from"./index-0b2503c4.js";import{_ as z,__tla as G}from"./ContentWrap-b5913fb6.js";import{d as I,__tla as L}from"./formatTime-9069dda3.js";import{b as P,__tla as k}from"./index-9ac80d51.js";import{u as q,__tla as A}from"./useMessage-d05433ee.js";import{__tla as C}from"./el-card-fa060bc4.js";let c,T=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{c=D(h({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(m){y(),q();const u=m,e=_(!1),s=_([]);return b(()=>{(async()=>{e.value=!0;try{const r=await P(u.studentId);if(!r)return;s.value.push(r)}finally{e.value=!1}})()}),(r,X)=>{const a=w,p=g,f=z,d=x;return n(),o(f,null,{default:i(()=>[v((n(),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","D:/zx/mall-newfeifan-zx-admin/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue"]])});export{T as __tla,c as default};