import{d as k,P as h,C as m,o as r,l as i,w as t,i as a,a as p,a2 as C,g as v,t as P,j as _,L as T,v as x,J as j,M as q,N as A,_ as V,__tla as B}from"./index-2c56227b.js";import E,{__tla as G}from"./main-319f3859.js";import{d as H,__tla as I}from"./formatTime-7f0ec2bf.js";let c,J=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return I}catch{}})()]).then(async()=>{c=V(k({__name:"VoiceTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(u,{emit:f}){const n=u,o=f;return(L,M)=>{const l=T,s=x,d=j,y=q,g=h("hasPermi"),w=A;return m((r(),i(y,{data:n.list,stripe:"",border:"",style:{"margin-top":"10px"}},{default:t(()=>[a(l,{label:"\u7F16\u53F7",align:"center",prop:"mediaId"}),a(l,{label:"\u6587\u4EF6\u540D",align:"center",prop:"name"}),a(l,{label:"\u8BED\u97F3",align:"center"},{default:t(e=>[e.row.url?(r(),i(p(E),{key:0,url:e.row.url},null,8,["url"])):C("",!0)]),_:1}),a(l,{label:"\u4E0A\u4F20\u65F6\u95F4",align:"center",prop:"createTime",formatter:p(H),width:"180"},{default:t(e=>[v("span",null,P(e.row.createTime),1)]),_:1},8,["formatter"]),a(l,{label:"\u64CD\u4F5C",align:"center","class-name":"small-padding fixed-width"},{default:t(e=>[a(d,{type:"primary",link:"",onClick:b=>o("delete",e.row.id)},{default:t(()=>[a(s,{icon:"ep:download"}),_("\u4E0B\u8F7D ")]),_:2},1032,["onClick"]),m((r(),i(d,{type:"primary",link:"",onClick:b=>o("delete",e.row.id)},{default:t(()=>[a(s,{icon:"ep:delete"}),_("\u5220\u9664 ")]),_:2},1032,["onClick"])),[[g,["mp:material:delete"]]])]),_:1})]),_:1},8,["data"])),[[w,n.loading]])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mp/material/components/VoiceTable.vue"]])});export{J as __tla,c as default};
