import{d as h,r as w,M as x,o as y,x as v,w as n,g as e,a as l,q as I,H as N,D as k,I as T,_ as B,__tla as L}from"./index-7d5b26d3.js";import{d as i,__tla as q}from"./formatTime-5152c108.js";import{e as z,__tla as C}from"./index-6bcf0bb3.js";let p,D=Promise.all([(()=>{try{return L}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{p=B(h({name:"BusinessList",__name:"BusinessList",props:{businessIds:{type:Array,required:!0,default:()=>[]}},emits:["update:businessIds"],setup(u,{emit:c}){const d=u,t=w([]);x(()=>d.businessIds,r=>{r&&r.length!==0&&(t.value=z(r))});const m=c;return(r,A)=>{const a=N,_=k,f=T;return y(),v(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:H=>(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","D:/zx/mall-newfeifan-zx-business/src/views/crm/followup/components/BusinessList.vue"]])});export{D as __tla,p as default};
