Demo03GradeList-573eee9e.js 1.5 KB

1
  1. import{d as h,h as y,r as _,l as v,o as n,v as o,w as i,x as w,a as l,f as t,G as x,H as b,I as g,_ as D,__tla as G}from"./index-25fa91b6.js";import{_ as I,__tla as z}from"./ContentWrap-2e1aa962.js";import{d as L,__tla as j}from"./formatTime-178fdbff.js";import{b as q,__tla as H}from"./index-ccf45dba.js";import{u as P,__tla as T}from"./useMessage-bd1c0501.js";import{__tla as k}from"./el-card-63face33.js";let u,A=Promise.all([(()=>{try{return G}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{u=D(h({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(c){y(),P();const m=c,e=_(!1),s=_([]);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,B)=>{const a=x,p=b,d=I,f=g;return n(),o(d,null,{default:i(()=>[w((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"])),[[f,l(e)]])]),_:1})}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue"]])});export{A as __tla,u as default};