import{_ as E,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-c7ede7df.js";import{d as w,r as A,a3 as B,o as i,c as F,C as l,f as t,B as a,G as s,k as P,A as S,E as r,a as g,F as D,L as G,I as H,K as I,__tla as K}from"./index-92ad187a.js";import{E as L,a as N,__tla as R}from"./el-descriptions-item-809b8296.js";import{_ as W,__tla as q}from"./ContactForm.vue_vue_type_script_setup_true_lang-fa106458.js";import{f as z,__tla as J}from"./formatTime-c7f253d6.js";let d,M=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return R}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return J}catch{}})()]).then(async()=>{let n,o;n={class:"flex items-start justify-between"},o={class:"text-xl font-bold"},d=w({__name:"ContactDetailsHeader",props:{contact:{}},emits:["refresh"],setup(O,{emit:p}){const u=A(),h=p;return(e,c)=>{const v=G,y=H,b=I,_=L,x=N,k=E,C=B("hasPermi");return i(),F(D,null,[l("div",null,[l("div",n,[l("div",null,[t(y,null,{default:a(()=>[t(v,null,{default:a(()=>[l("span",o,s(e.contact.name),1)]),_:1})]),_:1})]),l("div",null,[P((i(),S(b,{onClick:c[0]||(c[0]=T=>{return m="update",f=e.contact.id,void u.value.open(m,f);var m,f})},{default:a(()=>[r(" \u7F16\u8F91 ")]),_:1})),[[C,["crm:contact:update"]]])])])]),t(k,{class:"mt-10px"},{default:a(()=>[t(x,{column:5,direction:"vertical"},{default:a(()=>[t(_,{label:"\u5BA2\u6237"},{default:a(()=>[r(s(e.contact.customerName),1)]),_:1}),t(_,{label:"\u804C\u52A1"},{default:a(()=>[r(s(e.contact.post),1)]),_:1}),t(_,{label:"\u624B\u673A"},{default:a(()=>[r(s(e.contact.mobile),1)]),_:1}),t(_,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:a(()=>[r(s(e.contact.createTime?g(z)(e.contact.createTime):"\u7A7A"),1)]),_:1})]),_:1})]),_:1}),t(W,{ref_key:"formRef",ref:u,onSuccess:c[1]||(c[1]=T=>h("refresh"))},null,512)],64)}}})});export{d as _,M as __tla};
