You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
8.5KB

  1. import{x as V,y as D,r as x,o as R,b as I,c as f,d,f as a,h as l,i,t as n,e as S,F as b,H as c,k as A}from"./index-dd5fae99.js";import{g as T}from"./expertVerify-436f4e27.js";import{_ as v}from"./index-33a0e6e3.js";const U={class:""},E=A({name:"expertDetail"}),W=Object.assign(E,{setup(q){const N=V(),g=D(),y=x("basicInfo"),h=(m,s)=>{console.log(m,s)},t=x({basicInfo:{},eduInfo:{},jobInfo:{},professionalInfo:{},recommendInfo:{}}),j=async()=>{const m=await T({expertUserId:N.query.id});t.value=m.data},k=m=>{const s=g.resolve({path:"/fileView",query:{id:m}});window.open(s.href,"_blank")};return R(async()=>{j()}),(m,s)=>{const o=I("el-descriptions-item"),_=I("el-descriptions"),p=I("el-tab-pane"),w=I("el-tabs"),C=I("el-card");return f(),d("div",U,[a(C,{class:"box-card"},{default:l(()=>[a(w,{modelValue:y.value,"onUpdate:modelValue":s[1]||(s[1]=e=>y.value=e),class:"demo-tabs",onTabClick:h},{default:l(()=>[a(p,{label:"基本信息",name:"basicInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"专家名称",span:"1",width:"200px"},{default:l(()=>[i(n(t.value.basicInfo.name),1)]),_:1}),a(o,{label:"是否在浙政钉组织"},{default:l(()=>[i(n(t.value.basicInfo.isDingUser?"是":"否"),1)]),_:1}),a(o,{label:"手机号码",width:"200px"},{default:l(()=>[i(n(t.value.basicInfo.phoneNo),1)]),_:1}),a(o,{label:"性别"},{default:l(()=>[i(n(t.value.basicInfo.gender==="1"?"男":"女"),1)]),_:1}),a(o,{label:"籍贯"},{default:l(()=>[i(n(t.value.basicInfo.hometown||"-"),1)]),_:1}),a(o,{label:"民族"},{default:l(()=>[i(n(t.value.basicInfo.nationality||"-"),1)]),_:1}),a(o,{label:"政治面貌"},{default:l(()=>{var e;return[i(n(((e=t.value.basicInfo.political)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"身份证号"},{default:l(()=>[i(n(t.value.basicInfo.idCard||"-"),1)]),_:1}),a(o,{label:"办公电话"},{default:l(()=>[i(n(t.value.basicInfo.officePhone||"-"),1)]),_:1}),a(o,{label:"出生年月"},{default:l(()=>[i(n(t.value.basicInfo.birth||"-"),1)]),_:1}),a(o,{label:"银行卡号"},{default:l(()=>[i(n(t.value.basicInfo.bankNo||"-"),1)]),_:1}),a(o,{label:"开户银行"},{default:l(()=>[i(n(t.value.basicInfo.bank||"-"),1)]),_:1}),a(o,{label:"电子邮箱"},{default:l(()=>[i(n(t.value.basicInfo.email||"-"),1)]),_:1}),a(o,{label:"专家级别"},{default:l(()=>{var e,u;return[i(n((u=(e=t.value.basicInfo)==null?void 0:e.expertRegionInfo)==null?void 0:u.regionName.split("@@").map(r=>r.split("##")[1]).join("-")),1)]}),_:1}),a(o,{label:"专家来源"},{default:l(()=>{var e;return[i(n(((e=t.value.basicInfo.expertSource)==null?void 0:e[0].tagName)||"-"),1)]}),_:1}),a(o,{label:"专家类型"},{default:l(()=>{var e;return[i(n(((e=t.value.basicInfo.expertType)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"履职意向"},{default:l(()=>{var e;return[i(n((e=t.value.basicInfo.expertIntentionWorkRegions)==null?void 0:e.map(u=>u.regionName.split("@@").map(r=>r.split("##")[1]).join("-")).join(";")),1)]}),_:1}),a(o,{label:"头像(免冠照)",span:"2"},{default:l(()=>{var e;return[S("a",{target:"_blank",onClick:s[0]||(s[0]=u=>k(t.value.basicInfo.avatarFile.fileId))},n((e=t.value.basicInfo.avatarFile)==null?void 0:e.fileName),1)]}),_:1})]),_:1})]),_:1}),a(p,{label:"学历信息",name:"eduInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"毕业院校",span:"2",width:"200px"},{default:l(()=>[i(n(t.value.eduInfo.school||"-"),1)]),_:1}),a(o,{label:"毕业时间"},{default:l(()=>[i(n(t.value.eduInfo.graduatedAt||"-"),1)]),_:1}),a(o,{label:"所学专业",width:"200px"},{default:l(()=>[i(n(t.value.eduInfo.academicTitle||"-"),1)]),_:1}),a(o,{label:"学位"},{default:l(()=>{var e;return[i(n(((e=t.value.eduInfo.degree)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"学历"},{default:l(()=>{var e;return[i(n(((e=t.value.eduInfo.edu)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"毕业证书"},{default:l(()=>[(f(!0),d(b,null,c(t.value.eduInfo.graduationCertificateFile,(e,u)=>(f(),d("p",{key:u,class:"mb-4"},[a(v,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1}),a(o,{label:"学位证书"},{default:l(()=>[(f(!0),d(b,null,c(t.value.eduInfo.degreeCertificateFile,(e,u)=>(f(),d("p",{key:u,class:"mb-4"},[a(v,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})]),_:1}),a(p,{label:"职业信息",name:"professionInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"工作单位",width:"200px"},{default:l(()=>[i(n(t.value.jobInfo.company||"-"),1)]),_:1}),a(o,{label:"工作单位code"},{default:l(()=>[i(n(t.value.jobInfo.companyUniqCode||"-"),1)]),_:1}),a(o,{label:"单位法人编号",width:"200px"},{default:l(()=>[i(n(t.value.jobInfo.legalEntityCode||"-"),1)]),_:1}),a(o,{label:"行政职务"},{default:l(()=>[i(n(t.value.jobInfo.administrativeDuties||"-"),1)]),_:1}),a(o,{label:"开始工作日期"},{default:l(()=>[i(n(t.value.jobInfo.startWorkAt||"-"),1)]),_:1}),a(o,{label:"行政职级"},{default:l(()=>{var e;return[i(n(((e=t.value.jobInfo.administrativeRank)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"在职状态"},{default:l(()=>{var e;return[i(n(((e=t.value.jobInfo.jobStatus)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"退休日期"},{default:l(()=>[i(n(t.value.jobInfo.retiredAt||"-"),1)]),_:1}),a(o,{label:"单位类型"},{default:l(()=>{var e;return[i(n(((e=t.value.jobInfo.companyAttribute)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"条线"},{default:l(()=>{var e,u;return[i(n(((u=(e=t.value.jobInfo)==null?void 0:e.businessStrips)==null?void 0:u.map(r=>r.businessStripName).join("、"))||"-"),1)]}),_:1}),a(o,{label:"工作地址"},{default:l(()=>[i(n(t.value.jobInfo.address||"-"),1)]),_:1}),a(o,{label:"工作经历"},{default:l(()=>[i(n(t.value.jobInfo.experience||"-"),1)]),_:1})]),_:1})]),_:1}),a(p,{label:"专业信息",name:"majorInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"技术职称",width:"200px"},{default:l(()=>[i(n(t.value.professionalInfo.technicalTitles||"-"),1)]),_:1}),a(o,{label:"职称级别"},{default:l(()=>{var e;return[i(n(((e=t.value.professionalInfo.titleLevel)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{label:"擅长方向",width:"200px"},{default:l(()=>{var e;return[i(n(((e=t.value.professionalInfo.goodAt)==null?void 0:e.map(u=>u.tagName).join("、"))||"-"),1)]}),_:1}),a(o,{label:"技术专长"},{default:l(()=>[(f(!0),d(b,null,c(t.value.professionalInfo.technicalExpertise,(e,u)=>(f(),d("span",{key:u},n(e.tagName)+"  ",1))),128))]),_:1}),a(o,{label:"行业领域"},{default:l(()=>[(f(!0),d(b,null,c(t.value.professionalInfo.industrySector,(e,u)=>(f(),d("span",{key:u},n(e.tagName)+"  ",1))),128))]),_:1}),a(o,{label:"获奖情况"},{default:l(()=>[i(n(t.value.professionalInfo.awards||"-"),1)]),_:1}),a(o,{label:"表彰奖励"},{default:l(()=>[i(n(t.value.professionalInfo.recognitionReward||"-"),1)]),_:1}),a(o,{label:"回避单位"},{default:l(()=>[(f(!0),d(b,null,c(t.value.professionalInfo.avoidCompanyList,(e,u)=>(f(),d("span",{key:u},n(e.companyName)+"  ",1))),128))]),_:1}),a(o,{label:"职称证明"},{default:l(()=>[(f(!0),d(b,null,c(t.value.professionalInfo.titleCertificateFile,(e,u)=>(f(),d("p",{key:u,class:"mb-4"},[a(v,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})]),_:1}),a(p,{label:"推荐信息",name:"recommendInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"推荐类型",width:"200px"},{default:l(()=>{var e;return[i(n(((e=t.value.recommendInfo.recommendedWay)==null?void 0:e[0].dictionaryName)||"-"),1)]}),_:1}),a(o,{width:"200px",label:"推荐证明"},{default:l(()=>[(f(!0),d(b,null,c(t.value.recommendInfo.recommendationProofFile,(e,u)=>(f(),d("p",{key:u,class:"mb-4"},[a(v,{"file-name":e.fileName,"file-id":e.fileId},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})]),_:1}),a(p,{label:"其他信息",name:"otherInfo"},{default:l(()=>[a(_,{class:"mt-20",title:"",column:2,border:""},{default:l(()=>[a(o,{label:"其他标签",width:"200px"},{default:l(()=>{var e,u,r;return[i(n(((r=(u=(e=t.value.expertOtherInfo)==null?void 0:e.other)==null?void 0:u.map(F=>F.tagName))==null?void 0:r.join("、"))||"-"),1)]}),_:1}),a(o,{width:"200px",label:"备注"},{default:l(()=>{var e;return[i(n(((e=t.value.expertOtherInfo)==null?void 0:e.remark)||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})])}}});export{W as default};