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