import{d as h,r as w,aP as y,o as v,l as x,w as n,i as e,a as l,j as k,L as I,J as N,M as L,_ as T,__tla as B}from"./index-b2b3c6c4.js";import{d as i,__tla as C}from"./formatTime-7e07ce72.js";import{e as P,__tla as U}from"./index-db472324.js";let p,j=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return U}catch{}})()]).then(async()=>{p=T(h({name:"BusinessList",__name:"BusinessList",props:{businessIds:{type:Array,required:!0,default:()=>[]}},emits:["update:businessIds"],setup(u,{emit:c}){const d=u,t=w([]);y(()=>d.businessIds,r=>{r&&r.length!==0&&(t.value=P(r))});const m=c;return(r,q)=>{const a=I,_=N,f=L;return v(),x(f,{data:l(t),"show-overflow-tooltip":!0,stripe:!0,height:"200"},{default:n(()=>[e(a,{align:"center",label:"\u5546\u673A\u540D\u79F0",prop:"name"}),e(a,{align:"center",label:"\u5BA2\u6237\u540D\u79F0",prop:"customerName"}),e(a,{align:"center",label:"\u5546\u673A\u91D1\u989D",prop:"price"}),e(a,{formatter:l(i),align:"center",label:"\u9884\u8BA1\u6210\u4EA4\u65E5\u671F",prop:"dealTime",width:"120px"},null,8,["formatter"]),e(a,{align:"center",label:"\u5546\u673A\u72B6\u6001\u7C7B\u578B",prop:"statusTypeName",width:"120"}),e(a,{align:"center",label:"\u5546\u673A\u72B6\u6001",prop:"statusName"}),e(a,{formatter:l(i),align:"center",label:"\u66F4\u65B0\u65F6\u95F4",prop:"updateTime",width:"180px"},null,8,["formatter"]),e(a,{formatter:l(i),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180px"},null,8,["formatter"]),e(a,{align:"center",label:"\u8D1F\u8D23\u4EBA",prop:"ownerUserName",width:"120"}),e(a,{align:"center",label:"\u521B\u5EFA\u4EBA",prop:"creatorName",width:"120"}),e(a,{align:"center",label:"\u5907\u6CE8",prop:"remark"}),e(a,{align:"center",fixed:"right",label:"\u64CD\u4F5C",width:"130"},{default:n(b=>[e(_,{link:"",type:"danger",onClick:z=>(g=>{const o=t.value.findIndex(s=>s.id===g);o!==-1&&t.value.splice(o,1),m("update:businessIds",t.value.map(s=>s.id))})(b.row.id)},{default:n(()=>[k(" \u79FB\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/crm/followup/components/BusinessList.vue"]])});export{j as __tla,p as default};
