1 |
- import{d as k,T as h,D as p,o as r,k as i,w as l,i as e,a as m,S as x,j as T,t as C,l as _,K as q,n as v,s as j,L as z,M as D,_ as P,__tla as V}from"./index-66208f93.js";import A,{__tla as B}from"./main-1ea38fbd.js";import{d as I,__tla as K}from"./formatTime-54a7e363.js";let c,L=Promise.all([(()=>{try{return V}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return K}catch{}})()]).then(async()=>{c=P(k({__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(M,S)=>{const t=q,o=v,d=j,y=z,w=h("hasPermi"),b=D;return p((r(),i(y,{data:s.list,stripe:"",border:"",style:{"margin-top":"10px"}},{default:l(()=>[e(t,{label:"\u7F16\u53F7",align:"center",prop:"mediaId"}),e(t,{label:"\u6587\u4EF6\u540D",align:"center",prop:"name"}),e(t,{label:"\u8BED\u97F3",align:"center"},{default:l(a=>[a.row.url?(r(),i(m(A),{key:0,url:a.row.url},null,8,["url"])):x("",!0)]),_:1}),e(t,{label:"\u4E0A\u4F20\u65F6\u95F4",align:"center",prop:"createTime",formatter:m(I),width:"180"},{default:l(a=>[T("span",null,C(a.row.createTime),1)]),_:1},8,["formatter"]),e(t,{label:"\u64CD\u4F5C",align:"center","class-name":"small-padding fixed-width"},{default:l(a=>[e(d,{type:"primary",link:"",onClick:g=>n("delete",a.row.id)},{default:l(()=>[e(o,{icon:"ep:download"}),_("\u4E0B\u8F7D ")]),_:2},1032,["onClick"]),p((r(),i(d,{type:"primary",link:"",onClick:g=>n("delete",a.row.id)},{default:l(()=>[e(o,{icon:"ep:delete"}),_("\u5220\u9664 ")]),_:2},1032,["onClick"])),[[w,["mp:material:delete"]]])]),_:1})]),_:1},8,["data"])),[[b,s.loading]])}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/mp/material/components/VoiceTable.vue"]])});export{L as __tla,c as default};
|