import{_ as k,__tla as z}from"./ContentWrap-ce906d83.js";import{d as E,r as H,Q as T,o as f,c as g,g as _,f as t,w as a,t as l,x as j,v as F,n as e,a as P,F as q,i as G,E as N,C as Q,_ as R,__tla as S}from"./index-e1bb590d.js";import{E as A,a as B,__tla as I}from"./el-descriptions-item-73f247bb.js";import J,{__tla as K}from"./ContactForm-78dc99c5.js";import{f as L,__tla as M}from"./formatTime-f6897acb.js";import{__tla as O}from"./ContentWrap.vue_vue_type_script_setup_true_lang-329456e3.js";import{__tla as U}from"./el-card-535d49a1.js";import{__tla as V}from"./Dialog-36839ea0.js";import{__tla as W}from"./el-tree-select-5cb56fe1.js";import{__tla as X}from"./index-167f9973.js";import{__tla as Y}from"./dict-644a065b.js";import{__tla as Z}from"./index-0402937c.js";import{__tla as $}from"./index-9f629ef0.js";import{__tla as tt}from"./index-7d06427b.js";import"./tree-0af4953a.js";import{__tla as at}from"./useMessage-042ce74c.js";let p,rt=Promise.all([(()=>{try{return z}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})()]).then(async()=>{let o,n;o={class:"flex items-start justify-between"},n={class:"text-xl font-bold"},p=R(E({__name:"ContactDetailsHeader",props:{contact:{type:null,required:!0}},emits:["refresh"],setup(_t,{emit:d}){const m=H(),h=d;return(r,c)=>{const y=G,v=N,x=Q,s=A,b=B,w=k,C=T("hasPermi");return f(),g(q,null,[_("div",null,[_("div",o,[_("div",null,[t(v,null,{default:a(()=>[t(y,null,{default:a(()=>[_("span",n,l(r.contact.name),1)]),_:1})]),_:1})]),_("div",null,[j((f(),F(x,{onClick:c[0]||(c[0]=D=>{return u="update",i=r.contact.id,void m.value.open(u,i);var u,i})},{default:a(()=>[e(" \u7F16\u8F91 ")]),_:1})),[[C,["crm:contact:update"]]])])])]),t(w,{class:"mt-10px"},{default:a(()=>[t(b,{column:5,direction:"vertical"},{default:a(()=>[t(s,{label:"\u5BA2\u6237"},{default:a(()=>[e(l(r.contact.customerName),1)]),_:1}),t(s,{label:"\u804C\u52A1"},{default:a(()=>[e(l(r.contact.post),1)]),_:1}),t(s,{label:"\u624B\u673A"},{default:a(()=>[e(l(r.contact.mobile),1)]),_:1}),t(s,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:a(()=>[e(l(r.contact.createTime?P(L)(r.contact.createTime):"\u7A7A"),1)]),_:1})]),_:1})]),_:1}),t(J,{ref_key:"formRef",ref:m,onSuccess:c[1]||(c[1]=D=>h("refresh"))},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/crm/contact/detail/ContactDetailsHeader.vue"]])});export{rt as __tla,p as default};