ContactDetailsHeader-3eaf0d30.js 2.6 KB

1
  1. import{_ as k,__tla as H}from"./ContentWrap-260746ab.js";import{d as z,r as E,a4 as T,o as f,c as j,B as _,f as t,A as a,E as l,k as A,C as F,D as e,a as P,F as g,K as q,H as B,J,_ as K,__tla as N}from"./index-54aa57d8.js";import{E as R,a as S,__tla as G}from"./el-descriptions-item-347c85ca.js";import I,{__tla as L}from"./ContactForm-32d0dc4d.js";import{f as M,__tla as O}from"./formatTime-e6197688.js";import{__tla as Q}from"./el-card-e7d6628c.js";import{__tla as U}from"./Dialog-7bb778a5.js";import{__tla as V}from"./el-tree-select-20b2a9f3.js";import{__tla as W}from"./index-81c82128.js";import{__tla as X}from"./dict-573b3b04.js";import{__tla as Y}from"./index-050fcf20.js";import{__tla as Z}from"./index-1c8cc962.js";import{__tla as $}from"./index-b75a8e96.js";import"./tree-0af4953a.js";import{__tla as tt}from"./useMessage-f56cafbb.js";let d,at=Promise.all([(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return Q}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{}})()]).then(async()=>{let o,n;o={class:"flex items-start justify-between"},n={class:"text-xl font-bold"},d=K(z({__name:"ContactDetailsHeader",props:{contact:{type:null,required:!0}},emits:["refresh"],setup(rt,{emit:p}){const m=E(),h=p;return(r,c)=>{const y=q,v=B,b=J,s=R,x=S,w=k,C=T("hasPermi");return f(),j(g,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,[A((f(),F(b,{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(x,{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(M)(r.contact.createTime):"\u7A7A"),1)]),_:1})]),_:1})]),_:1}),t(I,{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{at as __tla,d as default};