Demo03GradeList-8c7ea09c.js 1.5 KB

1
  1. import{d as y,i as h,r as _,l as w,o as n,x as o,w as i,y as b,a as l,g as t,H as g,I as v,J as x,_ as D,__tla as I}from"./index-7f4f8816.js";import{_ as z,__tla as G}from"./ContentWrap-822c0c92.js";import{d as L,__tla as q}from"./formatTime-493a15fe.js";import{b as H,__tla as J}from"./index-307d0fa8.js";import{u as P,__tla as T}from"./useMessage-be94405d.js";import{__tla as j}from"./el-card-2f69572a.js";let c,k=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return j}catch{}})()]).then(async()=>{c=D(y({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(m){h(),P();const u=m,e=_(!1),s=_([]);return w(()=>{(async()=>{e.value=!0;try{const r=await H(u.studentId);if(!r)return;s.value.push(r)}finally{e.value=!1}})()}),(r,A)=>{const a=g,p=v,f=z,d=x;return n(),o(f,null,{default:i(()=>[b((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(L),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{k as __tla,c as default};