import{d as v,o as n,c as m,k as h,C as s,f as a,B as t,G as r,aN as x,a as C,E as _,F as E,L as g,I as D,Z as L,__tla as w}from"./index-92ad187a.js";import{_ as B,__tla as H}from"./ContentWrap.vue_vue_type_script_setup_true_lang-c7ede7df.js";import{E as R,a as j,__tla as M}from"./el-descriptions-item-809b8296.js";import{_ as N,__tla as S}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as U,__tla as k}from"./dict-221f3e01.js";let c,F=Promise.all([(()=>{try{return w}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{let u,o;u={class:"flex items-start justify-between"},o={class:"text-xl font-bold"},c=v({name:"CustomerDetailsHeader",__name:"CustomerDetailsHeader",props:{customer:{},loading:{type:Boolean}},setup:G=>(l,I)=>{const d=g,i=D,f=N,e=R,p=j,y=B,b=L;return n(),m(E,null,[h((n(),m("div",null,[s("div",u,[s("div",null,[a(i,null,{default:t(()=>[a(d,null,{default:t(()=>[s("span",o,r(l.customer.name),1)]),_:1})]),_:1})]),s("div",null,[x(l.$slots,"default")])])])),[[b,l.loading]]),a(y,{class:"mt-10px"},{default:t(()=>[a(p,{column:5,direction:"vertical"},{default:t(()=>[a(e,{label:"\u5BA2\u6237\u7EA7\u522B"},{default:t(()=>[a(f,{type:C(U).CRM_CUSTOMER_LEVEL,value:l.customer.level},null,8,["type","value"])]),_:1}),a(e,{label:"\u6210\u4EA4\u72B6\u6001"},{default:t(()=>[_(r(l.customer.dealStatus?"\u5DF2\u6210\u4EA4":"\u672A\u6210\u4EA4"),1)]),_:1}),a(e,{label:"\u8D1F\u8D23\u4EBA"},{default:t(()=>[_(r(l.customer.ownerUserName),1)]),_:1}),a(e,{label:"\u9996\u8981\u8054\u7CFB\u4EBA"}),a(e,{label:"\u9996\u8981\u8054\u7CFB\u4EBA\u7535\u8BDD"},{default:t(()=>[_(r(l.customer.mobile),1)]),_:1})]),_:1})]),_:1})],64)}})});export{c as _,F as __tla};
