1 |
- import{d as h,r as w,aM as y,o as x,x as v,w as n,f as e,a as l,y as I,I as k,G as N,J as T,_ as B,__tla as L}from"./index-8dc1e40a.js";import{d as i,__tla as C}from"./formatTime-8a155b2e.js";import{e as U,__tla as q}from"./index-09f6e183.js";let p,z=Promise.all([(()=>{try{return L}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return q}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([]);y(()=>d.businessIds,r=>{r&&r.length!==0&&(t.value=U(r))});const m=c;return(r,A)=>{const a=k,_=N,f=T;return x(),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:D=>(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","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/crm/followup/components/BusinessList.vue"]])});export{z as __tla,p as default};
|