Demo03GradeList-2690f98a.js 1.5 KB

1
  1. import{d as h,h as y,r as _,q as v,o as n,x as o,w as i,z as w,a as l,f as t,I as b,J as x,K as g,_ as D,__tla as I}from"./index-8dc1e40a.js";import{_ as j,__tla as q}from"./ContentWrap-0aca5216.js";import{d as z,__tla as G}from"./formatTime-8a155b2e.js";import{b as L,__tla as k}from"./index-01f0fd0c.js";import{u as H,__tla as J}from"./useMessage-7a27dd80.js";import{__tla as K}from"./el-card-18df90f0.js";let u,P=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return k}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return K}catch{}})()]).then(async()=>{u=D(h({__name:"Demo03GradeList",props:{studentId:{type:null,required:!0}},setup(c){y(),H();const m=c,e=_(!1),s=_([]);return v(()=>{(async()=>{e.value=!0;try{const r=await L(m.studentId);if(!r)return;s.value.push(r)}finally{e.value=!1}})()}),(r,R)=>{const a=b,p=x,f=j,d=g;return n(),o(f,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(z),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[d,l(e)]])]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/infra/demo/demo03/inner/components/Demo03GradeList.vue"]])});export{P as __tla,u as default};