import{aN as e,a1 as t,aO as a,$ as l,n as s,q as u,c as o,w as r,i,o as n,t as m,v as c,x as d,H as f}from"./index-DL8B2Mxu.js";import{_ as p}from"./u-avatar.oTnux-Fl.js";import{r as h}from"./uni-app.es.BSVEa1f2.js";import{_,a as D}from"./u-cell-group.CfkIpmNS.js";import{_ as y}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./u-icon.CLOPtL2B.js";const v=y({data:()=>({userData:{},titleStyle:{color:"#303133"},userDetal:{}}),computed:{baseURL(){return this.define.baseURL}},onLoad(e){let t=e.userId;this.getUserDetail(t)},methods:{getUserDetail(a){e(a).then((e=>{this.userData=e.data,t({title:"联系人"})}))},call(){this.userData.mobilePhone&&a({phoneNumber:this.userData.mobilePhone})},toIm(){const e=this.userData,t=e.realName+"/"+e.account;l("updateMsgNum",e.id),s({url:"/pages/message/im/index?name="+t+"&formUserId="+e.id+"&headIcon="+e.headIcon})}}},[["render",function(e,t,a,l,s,y){const v=h(u("u-avatar"),p),b=i,g=f,I=h(u("u-cell-item"),_),N=h(u("u-cell-group"),D);return n(),o(b,{class:"userDetail-v"},{default:r((()=>[m(b,{class:"userDetail-hd u-flex-col"},{default:r((()=>[m(b,{class:"u-m-t-60"},{default:r((()=>[m(v,{src:e.define.baseURL+s.userData.headIcon,size:"120"},null,8,["src"])])),_:1}),m(b,{class:"u-m-t-32 u-font-32 name"},{default:r((()=>[m(g,null,{default:r((()=>[c(d(s.userData.realName)+"/"+d(s.userData.account),1)])),_:1})])),_:1}),m(b,{class:"u-m-t-20 u-font-24 positionName"},{default:r((()=>[m(g,null,{default:r((()=>[c(d(s.userData.organizeName),1)])),_:1})])),_:1}),m(b,{class:"u-m-t-32 u-flex userDetail-hd-btn"},{default:r((()=>[m(b,{class:"u-m-r-40 btn",onClick:t[0]||(t[0]=e=>y.call())},{default:r((()=>[m(g,{class:"ym-custom ym-custom-phone u-font-40"})])),_:1}),m(b,{class:"u-m-l-40 btn",onClick:t[1]||(t[1]=e=>y.toIm())},{default:r((()=>[m(g,{class:"ym-custom ym-custom-comment u-font-40"})])),_:1})])),_:1})])),_:1}),m(b,{class:"u-p-l-20 u-p-r-20"},{default:r((()=>[m(N,null,{default:r((()=>[m(I,{title:"手机号",value:s.userData.mobilePhone||"未填写",arrow:!1,"title-style":s.titleStyle},null,8,["value","title-style"]),m(I,{title:"座机号",value:s.userData.telePhone||"未填写",arrow:!1,"title-style":s.titleStyle},null,8,["value","title-style"]),m(I,{title:"邮箱",value:s.userData.email||"未填写",arrow:!1,"title-style":s.titleStyle},null,8,["value","title-style"]),m(I,{title:"岗位",value:s.userData.positionName||"未填写",arrow:!1,"title-style":s.titleStyle},null,8,["value","title-style"])])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-2df695be"]]);export{v as default};
