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 I,L as N,J as k,M as L,_ as T,__tla as B}from"./index-2c56227b.js";import{d as i,__tla as P}from"./formatTime-7f0ec2bf.js";import{e as A,__tla as C}from"./index-a94bc895.js";let p,j=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{p=T(h({name:"BusinessList",__name:"BusinessList",props:{businessIds:{type:Array,required:!0,default:()=>[]}},emits:["update:businessIds"],setup(u,{emit:d}){const c=u,t=w([]);y(()=>c.businessIds,r=>{r&&r.length!==0&&(t.value=A(r))});const m=d;return(r,q)=>{const a=N,_=k,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:E=>(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(()=>[I(" \u79FB\u9664")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/crm/followup/components/BusinessList.vue"]])});export{j as __tla,p as default};
