index.DXbn4GP3.js 42 KB

1
  1. import{a as dt,r as q,aB as ct,q as ut,f as _t,aj as S,c as u,o as c,b as e,S as o,K as r,Q as i,M as I,P as v,G as j,R as A,a9 as M,J as Ze,u as W}from"./vue.D1BjjNmv.js";import{O as pt,P as ft,Q as vt,R as mt,T as gt,E as $}from"./index.DJRppC5x.js";import{_ as yt}from"./_plugin-vue_export-helper.DlAUqK2U.js";const bt={class:"min-h-screen bg-gradient-custom"},ht={class:"max-w-4xl mx-auto p-6 relative overflow-y-auto",style:{height:"100vh"}},xt={class:"bg-[#1d1e3a] text-white p-4 rounded-t-lg"},wt={class:"flex justify-between items-center"},kt={class:"text-sm"},It={class:"text-sm"},At={key:0,class:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative",role:"alert"},Dt={class:"block sm:inline"},jt={key:1,class:"bg-white rounded-b-lg shadow-lg p-6"},Mt={class:"flex justify-between items-center mb-8 pb-4 border-b"},Ct={class:"flex items-center space-x-4"},Nt={class:"w-20 h-20 bg-gray-200 rounded-lg overflow-hidden"},qt=["src"],St={class:"flex items-center gap-2"},Vt={class:"text-2xl font-bold"},Et={class:"text-gray-600"},$t={key:0,class:"text-gray-500 text-sm"},Rt={class:"text-right"},Tt={class:"text-4xl font-bold text-yellow-500"},Lt={class:"text-sm text-yellow-500"},zt={class:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-8"},Bt={class:"font-semibold text-blue-600"},Pt={class:"sticky-tabs"},Ut={class:"custom-tabs"},Ht={id:"comprehensive-assessment",class:"mb-8 pt-4 border-t border-transparent"},Gt={class:"mb-8"},Wt={class:"space-y-4"},Zt={id:"hire-recommendation",class:"border-b pb-4"},Ft={class:"pb-4",style:{"font-size":"16px"}},Yt={class:"flex items-center justify-between mb-2"},Ot={class:"text-gray-600 text-sm",style:{"font-size":"14px"}},Qt={id:"red-line",class:"border-b pb-4"},Jt={class:"flex items-center justify-between mb-2"},Kt={key:0,class:"mt-2 border-l-4 border-red-500 pl-3 bg-red-50 p-2 rounded"},Xt={key:0,class:"list-disc pl-5 text-gray-600 text-sm"},es={key:1,class:"text-gray-600 text-sm"},ts={key:0,id:"strengths",class:"border-b pb-4"},ss={class:"list-disc pl-5 text-gray-600 text-sm"},is={key:1,id:"weaknesses",class:"border-b pb-4"},as={class:"list-disc pl-5 text-gray-600 text-sm"},ls={id:"duv-analysis",class:"border-b pb-4"},os={class:"flex items-center justify-between mt-4 mb-2"},ns={class:"ml-2 text-sm"},rs={class:"text-gray-600 text-sm"},ds={id:"score-calculation",class:"border-b pb-4"},cs={class:"rounded-lg space-y-3"},us={class:"flex-1"},_s={class:"text-gray-700"},ps={class:"flex items-start space-x-2",style:{"font-size":"14px"}},fs={class:"flex-1"},vs={class:"text-gray-700"},ms={id:"image-analysis",class:"mb-8 pt-4 border-t border-transparent"},gs={class:"space-y-4"},ys={class:"flex items-center justify-between mb-2"},bs={class:"text-gray-600"},hs={class:"text-gray-600 text-sm"},xs={id:"answer-records",class:"mb-8 pt-4 border-t border-transparent"},ws={class:"space-y-4"},ks={class:"mb-4"},Is={class:"flex items-start space-x-2"},As={class:"bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm"},Ds={class:"flex-1"},js={class:"font-semibold text-gray-800"},Ms={key:0,class:"mt-4"},Cs={class:"bg-white p-4 rounded-lg"},Ns={key:0,class:"space-y-3"},qs={class:"flex items-center justify-between"},Ss={class:"flex-1"},Vs={class:"text-gray-700"},Es={class:"flex items-center space-x-2"},$s={key:0,class:"text-green-500"},Rs={key:0,class:"text-blue-500"},Ts={class:"mt-4 flex justify-between items-center"},Ls={class:"text-gray-600"},zs={key:0},Bs={key:1,class:"mt-4 flex space-x-4"},Ps={class:"w-2/3"},Us={class:"bg-white p-4 rounded-lg"},Hs={class:"mb-4"},Gs={class:"flex items-start space-x-2"},Ws={class:"flex-1"},Zs={class:"text-gray-700"},Fs={class:"flex items-start space-x-2"},Ys={class:"flex-1"},Os={class:"text-gray-600 m-0"},Qs={class:"mt-1 text-blue-500"},Js={class:"w-1/3"},Ks={class:"video-container"},Xs=["src","poster"],ei={key:2,class:"mt-4"},ti={class:"grid grid-cols-2 gap-4"},si={class:"bg-white p-4 rounded-lg"},ii={class:"aspect-w-16 aspect-h-9 rounded-lg overflow-hidden bg-gray-100"},ai=["src"],li={class:"bg-white p-4 rounded-lg"},oi={key:0,class:"space-y-3"},ni={class:"flex items-center justify-between"},ri={class:"flex-1"},di={class:"text-gray-700"},ci={class:"flex items-center space-x-2"},ui={key:0,class:"text-green-500"},_i={class:"mt-4 flex justify-between items-center"},pi={class:"text-gray-600"},fi={id:"other-info",class:"mb-8 pt-4 border-t border-transparent"},vi={class:"space-y-6"},mi={class:"space-y-2"},gi={class:"flex items-center space-x-2"},yi={class:"text-green-500"},bi={class:"flex items-center space-x-2"},hi={class:"text-green-500"},xi={class:"space-y-4"},wi={class:"flex items-center space-x-2"},ki={class:"text-green-500"},Ii={class:"grid grid-cols-2 gap-8 mt-4"},Ai={class:"grid grid-cols-3 gap-2"},Di={class:"w-full h-full"},ji=["src","alt"],Mi=["src","alt"],Ci={class:"grid grid-cols-3 gap-2"},Ni={class:"w-full h-full"},qi=["src","alt"],Si=["src","alt"],Vi={class:"grid grid-cols-3 md:grid-cols-6 gap-2"},Ei=["src"],$i={class:"fixed right-8 bottom-24 flex flex-col space-y-4"},Ri={key:0,class:"user-profile-content"},Ti={class:"profile-section"},Li={class:"profile-section"},zi={key:0,class:"profile-section"},Bi={key:1,class:"profile-section"},Pi={key:2,class:"profile-section"},Ui={key:3,class:"profile-section"},Hi={key:1,class:"empty-data"},Gi={class:"dialog-footer"},Wi=dt({__name:"index",setup(Zi){const _=q({name:"",idNumber:"",phoneNumber:"",score:0,availabilityPeriod:"",onboardingTime:"",suggestedSalary:"",salaryRange:"",dimensions:{teamwork:"欠佳",learningAbility:"优秀",attention:"欠佳",workAdaptability:"优秀",serviceAwareness:"中等"},dimensionDetails:{teamwork:"",learningAbility:"",attention:"",workAdaptability:"",serviceAwareness:""},duvAnalysis:[{title:"",content:"",score:"",type:"neutral"},{title:"",content:"",score:"",type:"neutral"}],interviewRecord:[{question:"",answer:"",analysis:"",score:"",videoUrl:"",thumbnail:"",question_form:0,is_correct:!1,question_image_url:"",options:[],answer_data:{text_answer:"",selected_options:[],selected_option_details:[]}},{question:"",answer:"",analysis:"",score:"",videoUrl:"",thumbnail:"",question_form:0,is_correct:!1,question_image_url:"",options:[],answer_data:{text_answer:"",selected_options:[],selected_option_details:[]}}],videoRecords:[{category:"服务态度测评",videos:[{url:"",thumbnail:"",description:""},{url:"",thumbnail:"",description:""}]}],additionalInfo:{idVerification:"通过",phoneVerification:"通过",leftHandGestures:{passed:!0,images:[]},rightHandGestures:{passed:!0,images:[]},faceVerification:{passed:!0,images:[]},comprehensiveVerification:"通过",handVerification:"通过",handBrightness:"通过",handIntegrity:"通过",handPoseRecognition:"通过"},strengths:[],weaknesses:[],hireRecommendation:"",hireReason:""}),x=q(null),O=q(!0),Z=q(""),V=ct(),Fe=async()=>{O.value=!0;try{const s=V.query.id||"1",t=V.query.tenant_id||"1",d=V.query.application_id||"1";console.log("Route params:",{id:s,tenant_id:t,application_id:d});const h=await(await fetch(`https://backend.qicai321.com/api/job/application_detail?tenant_id=${t}&application_id=${s||d}`)).json();h.code===2e3?(x.value=h.data,console.log(h.data),Ye(h.data)):Z.value=h.msg||"获取数据失败"}catch(s){console.error("获取申请详情失败:",s),Z.value="获取数据失败,请稍后重试"}finally{O.value=!1}},Ye=s=>{if(!s)return;const{applicant:t,application:d,position:b,interview_progress:h,posture_photos:k}=s;if(_.value.name=(t==null?void 0:t.name)||_.value.name,_.value.phoneNumber=(t==null?void 0:t.phone)||_.value.phoneNumber,_.value.idNumber=(t==null?void 0:t.id_card)||_.value.idNumber,b)if(b.salary_range?_.value.salaryRange=b.salary_range||"面议":_.value.salaryRange="面议",b.salary_range&&typeof b.salary_range=="string"){let l=0,n=0;if(b.salary_range.includes("-")){const f=b.salary_range.split("-");l=parseInt(f[0].trim().replace(/[^\d]/g,""),10),n=parseInt(f[1].trim().replace(/[^\d]/g,""),10)}else if(b.salary_range.includes("~")){const f=b.salary_range.split("~");l=parseInt(f[0].trim().replace(/[^\d]/g,""),10),n=parseInt(f[1].trim().replace(/[^\d]/g,""),10)}else if(b.salary_range.includes("至")){const f=b.salary_range.split("至");l=parseInt(f[0].trim().replace(/[^\d]/g,""),10),n=parseInt(f[1].trim().replace(/[^\d]/g,""),10)}if(!isNaN(l)&&!isNaN(n)&&l>0&&n>0&&n>l){console.log("score",d.comprehensive_score);const f=d.comprehensive_score;console.log(f);let m=l;if(f>=80?(console.log(n),m=n):f>=60?m=l+Math.floor((n-l)/3):m=0,m>=1e4){const C=(m/1e4).toFixed(1);_.value.suggestedSalary=`${C}万`}else _.value.suggestedSalary=`${m}`}else _.value.suggestedSalary=b.salary_range}else _.value.suggestedSalary="面议";else _.value.salaryRange="面议",_.value.suggestedSalary="面议";if(d!=null&&d.comprehensive_analysis&&(d.comprehensive_analysis.comprehensive_score!==null&&d.comprehensive_analysis.comprehensive_score!==void 0&&(_.value.score=d.comprehensive_analysis.comprehensive_score),d.comprehensive_analysis.video_analysis_data)){const l=d.comprehensive_analysis.video_analysis_data;l.strengths&&l.strengths.length>0&&(_.value.strengths=l.strengths.filter(n=>n&&!n.includes("无法从响应中提取"))),l.weaknesses&&l.weaknesses.length>0&&(_.value.weaknesses=l.weaknesses.filter(n=>n&&!n.includes("无法从响应中提取"))),d.comprehensive_analysis.hire_recommendation&&(_.value.hireRecommendation=d.comprehensive_analysis.hire_recommendation),d.comprehensive_analysis.hire_reason&&(_.value.hireReason=d.comprehensive_analysis.hire_reason)}if(d!=null&&d.ai_capability_scores){const l={专业性:"workAdaptability",沟通能力:"teamwork",技术匹配度:"learningAbility",解决问题能力:"attention",服务意识:"serviceAwareness"};Object.entries(d.ai_capability_scores).forEach(([n,f])=>{const m=l[n];if(m&&typeof f=="number"){let C="中等";f>=80?C="优秀":f<65&&(C="欠佳"),_.value.dimensions[m]=C}})}else{const l={teamwork:[],learningAbility:[],attention:[],workAdaptability:[],serviceAwareness:[]};h==null||h.forEach(n=>{n.video_answer&&n.video_answer.ai_score&&((n.question_text.includes("团队")||n.question_text.includes("合作"))&&l.teamwork.push(n.video_answer.ai_score),(n.question_text.includes("学习")||n.question_text.includes("技能"))&&l.learningAbility.push(n.video_answer.ai_score),(n.question_text.includes("细致")||n.question_text.includes("严谨")||n.question_text.includes("注意"))&&l.attention.push(n.video_answer.ai_score),(n.question_text.includes("适应")||n.question_text.includes("工作"))&&l.workAdaptability.push(n.video_answer.ai_score),(n.question_text.includes("服务")||n.question_text.includes("客户"))&&l.serviceAwareness.push(n.video_answer.ai_score))}),Object.entries(l).forEach(([n,f])=>{if(f.length>0){const m=f.reduce((g,N)=>g+N,0)/f.length;let C="中等";m>=80?C="优秀":m<65&&(C="欠佳"),_.value.dimensions[n]=C}})}const p={teamwork:"候选人在团队协作方面的表现",learningAbility:"候选人的学习能力和接受新知识的速度",attention:"候选人对细节的关注程度和工作严谨性",workAdaptability:"候选人适应工作环境和要求的能力",serviceAwareness:"候选人的服务意识和客户导向思维"};if(Object.keys(_.value.dimensionDetails).forEach(l=>{const n=l,f=_.value.dimensions[n];let m=p[n]||"";f==="优秀"?m+="表现优秀,符合岗位要求。":f==="中等"?m+="表现一般,基本符合岗位要求。":m+="表现欠佳,需要进一步提升。",_.value.dimensionDetails[n]=m}),h&&h.length>0&&(_.value.interviewRecord=h.filter(l=>l.video_answer||l.answer_data).map(l=>{var f,m;const n={question:l.question_text||"未提供问题",answer:"",analysis:"",score:"",question_form:l.question_form,options:l.options,answer_data:l.answer_data};return l.video_answer&&(n.answer=l.video_answer.transcript||"",n.analysis=((f=l.video_answer.ai_analysis)==null?void 0:f.comment)||"",n.score=l.video_answer.ai_score?`${l.video_answer.ai_score}分`:"",n.videoUrl=l.video_answer.video_url||""),l.answer_data&&(n.answer=l.answer_data.text_answer||"",n.is_correct=((m=l.answer_data.selected_option_details)==null?void 0:m.some(C=>C.is_correct))||!1),l.question_form===3&&(n.question_image_url=l.question_image_url||""),n}).sort((l,n)=>{const f=m=>m===0?0:m===3?1:2;return f(l.question_form||0)-f(n.question_form||0)})),d!=null&&d.visual_analysis_results&&d.visual_analysis_results.photo_results){const l=[];d.visual_analysis_results.photo_results.forEach(n=>{n.detections&&n.detections.length>0&&n.detections.forEach(f=>{l.push({title:f.feature||"特征分析",content:f.location?`在${f.location}发现${f.feature}${f.description?","+f.description:""}`:f.feature+(f.description?","+f.description:""),score:f.confidence>=.8?"确认":"疑似",type:f.description&&f.description.includes("影响")?"negative":"neutral"})})}),l.length>0?_.value.duvAnalysis=l:_.value.duvAnalysis=[{title:"未发现特殊特征",content:"未在照片中检测到特殊特征",score:"正常",type:"positive"}]}else d!=null&&d.visual_analysis_results&&d.visual_analysis_results.detections?_.value.duvAnalysis=d.visual_analysis_results.detections.map(l=>({title:l.feature||"特征分析",content:l.location?`在${l.location}发现${l.feature}`:l.feature,score:l.confidence>=.8?"确认":"疑似",type:"neutral"})):_.value.duvAnalysis=[{title:"未进行DUV分析",content:"未提供DUV分析数据",score:"未知",type:"neutral"}];if(k&&k.length>0){const l=k.filter(m=>m.description.includes("left_")||m.description.includes("左手")).map(m=>m.photo_url);l.length>0&&(_.value.additionalInfo.leftHandGestures.images=l);const n=k.filter(m=>m.description.includes("right_")||m.description.includes("右手")).map(m=>m.photo_url);n.length>0&&(_.value.additionalInfo.rightHandGestures.images=n);const f=k.filter(m=>m.description.includes("面部")||!m.description.includes("left_")&&!m.description.includes("right_")&&!m.description.includes("左手")&&!m.description.includes("右手")).map(m=>m.photo_url);f.length>0&&(_.value.additionalInfo.faceVerification.images=f)}if(h&&h.length>0){const l={};h.forEach(n=>{if(n.video_answer&&n.video_answer.video_url){const f=n.question_type_display||"面试视频";l[f]||(l[f]=[]),l[f].push({url:n.video_answer.video_url,thumbnail:"/images/video-placeholder.jpg",description:n.question_text})}}),_.value.videoRecords=Object.entries(l).map(([n,f])=>({category:n,videos:f}))}_.value.availabilityPeriod="无特殊情况",_.value.onboardingTime="随时可以入职"};ut(()=>{console.log("完整URL:",window.location.href),console.log("路径:",window.location.pathname),console.log("查询字符串:",window.location.search),console.log("哈希:",window.location.hash),Fe(),setTimeout(()=>{console.log("检查页面ID:"),["comprehensive-assessment","image-analysis","answer-records","other-info"].forEach(s=>{const t=document.getElementById(s);console.log(`ID ${s} 存在:`,!!t)})},1e3),window.addEventListener("scroll",()=>{const s=["comprehensive-assessment","image-analysis","answer-records","other-info"];for(const t of s){const d=document.getElementById(t);if(d){const b=d.getBoundingClientRect();if(b.top<=150&&b.bottom>=150){ie(t);break}}}},{passive:!0})}),q(0),q(""),q();const Q=q(null),Oe=()=>{if(console.log("尝试滚动到顶部"),Q.value){Q.value.scrollIntoView({behavior:"smooth",block:"start"}),console.log("使用ref滚动到顶部");return}const s=document.getElementById("report-top");if(s){s.scrollIntoView({behavior:"smooth",block:"start"}),console.log("使用ID滚动到顶部");return}},Qe=()=>{$.success("分享链接已复制")},Je=async()=>{try{const s=V.query.id||"1",t=V.query.tenant_id||"1",d=V.query.application_id||"1";$.success("报告下载中...");const h=await(await fetch(`https://backend.qicai321.com/api/system/job/export_application_pdf?application_id=${s||d}&tenant_id=${t}`)).json();h.code===2e3?$.success("下载任务已创建,请前往下载中心查看"):$.error(h.msg||"下载任务创建失败")}catch(s){console.error("创建下载任务失败:",s),$.error("创建下载任务失败,请稍后重试")}},X=[],Ke=()=>{const s=window.scrollY,t=document.body.style.overflow,d=document.body.style.height;document.body.style.overflow="visible",document.body.style.height="auto";const b=document.querySelectorAll(".fixed");b.forEach((h,k)=>{const p=h;X[k]=p.style.display,p.style.display="none"}),setTimeout(()=>{window.print(),document.body.style.overflow=t,document.body.style.height=d,b.forEach((h,k)=>{const p=h;p.style.display=X[k]}),window.scrollTo(0,s),$.success("打印完成")},300)},L=q("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iI2VlZWVlZSIvPjxwYXRoIGQ9Ik03NSA2NUExMCAxMCAwIDAgMSA4NSA3NUExMCAxMCAwIDAgMSA3NSA4NUExMCAxMCAwIDAgMSA2NSA3NUExMCAxMCAwIDAgMSA3NSA2NVoiIGZpbGw9IiNhYWFhYWEiLz48cGF0aCBkPSJNMTIwIDEzNUw5MCAxMDVMNjAgMTM1TDYwIDE0MEwxNDAgMTQwTDE0MCAxMzVMMTIwIDExNVoiIGZpbGw9IiNhYWFhYWEiLz48L3N2Zz4="),R=s=>{const t=s.target;t&&(t.src=L.value,t.onerror=null)},ee=s=>{const t=()=>{try{if(s.readyState>=2){const d=document.createElement("canvas");d.width=s.videoWidth||320,d.height=s.videoHeight||240;const b=d.getContext("2d");if(b){s.currentTime=.1,b.drawImage(s,0,0,d.width,d.height);const h=d.toDataURL("image/jpeg");s.poster=h,s.removeEventListener("loadeddata",t)}}}catch(d){console.error("捕获视频第一帧失败:",d),s.poster=L.value}};s.addEventListener("loadeddata",t),s.readyState>=2&&t(),s.addEventListener("error",()=>{console.error("视频加载失败"),s.poster=L.value}),setTimeout(()=>{(!s.poster||s.poster==="")&&(s.poster=L.value)},3e3)},Xe=s=>{const t=s.target;t&&(t.readyState>=1?ee(t):t.addEventListener("loadedmetadata",()=>{ee(t)}))},et=s=>{const t=s.target;t&&(t.poster=L.value,console.error("视频加载错误"))},tt=s=>s===void 0?"未进行心理测评或数据缺失":s<=20?"心理状态健康,情绪稳定、认知正常。候选人在心理测评中表现出稳定的情绪状态和健康的心理特质,适合岗位要求。":s<=35?"轻微焦虑或负面情绪,仍具备岗位适应力。候选人在某些方面可能存在轻微的心理压力,但总体上仍保持稳定,基本符合岗位要求。":s<=55?"存在一定情绪波动或压力反应。候选人在测评中表现出一定程度的心理压力或情绪波动,建议进一步面谈评估。":s<=70?"心理压力较大,可能影响工作稳定性。候选人在测评中表现出较明显的心理压力或情绪不稳定性,建议慎重录用或考虑调岗。":"可能存在较严重心理或精神问题。候选人在测评中表现出明显的心理或情绪问题,不建议录用。",te=s=>s===void 0?"text-gray-500":s<=20?"text-green-500":s<=35?"text-blue-500":s<=55?"text-yellow-500":s<=70?"text-orange-500":"text-red-500",st=s=>s===void 0?"未知":s<=20?"优秀":s<=35?"良好":s<=55?"一般":s<=70?"偏差":"严重异常",it=s=>s===void 0?"无法给出建议":s<=20?"建议优先录取":s<=35?"可考虑录取":s<=55?"建议进一步面谈评估":s<=70?"慎重录用或建议调岗":"不建议录用",at=s=>s!==void 0?s:0,y=q(null),F=q(!1),J=q(!1),lt=async()=>{var s,t;J.value=!0;try{const d=((t=(s=x.value)==null?void 0:s.applicant)==null?void 0:t.id)||V.query.user_id||"30",b=V.query.tenant_id||"1",k=await(await fetch(`https://backend.qicai321.com/api/system/wechat/user/profile/get?user_id=${d}&tenant_id=${b}`)).json();k.code===2e3?(y.value=k.data,F.value=!0):$.error(k.msg||"获取用户信息失败")}catch(d){console.error("获取用户个人信息失败:",d),$.error("获取用户信息失败,请稍后重试")}finally{J.value=!1}},T=s=>{if(!s)return"未设置";try{return new Date(s).toLocaleDateString("zh-CN")}catch{return s}},se=()=>{lt()},ie=s=>{document.querySelectorAll(".tab-item").forEach(b=>{b.classList.remove("active")});const d={"comprehensive-assessment":0,"image-analysis":1,"answer-records":2,"other-info":3}[s];d!==void 0&&document.querySelectorAll(".tab-item")[d].classList.add("active")},Y=s=>{console.log("尝试滚动到部分:",s);const t=document.getElementById(s);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{window.scrollBy({top:-100,behavior:"smooth"}),ie(s)},100))},ae=s=>{var b,h,k;if(console.log(x.value),!((k=(h=(b=x.value)==null?void 0:b.application)==null?void 0:h.visual_analysis_results)!=null&&k.photo_results))return console.log("No photo results available"),Array(3).fill({url:"",description:`${s==="left"?"左手":"右手"}手势`,part_verification:null});const t=x.value.application.visual_analysis_results.photo_results.filter(p=>{const l=p.description.toLowerCase(),n=s==="left"?"左手":"右手",f=l.includes(n);return console.log(`Checking photo ${p.photo_id}: "${l}" for "${n}" - ${f}`),f});console.log(`Found ${t.length} ${s} hand photos`);const d=[...t];for(;d.length<3;)d.push({url:"",status:"empty",photo_id:-d.length,detections:[],description:`${s==="left"?"左手":"右手"}手势`,photo_index:-d.length,analysis_model:"",part_verification:null,analysis_timestamp:"",overall_assessment:""});return d},ot=s=>s>=90?"优秀":s>=80?"良好":s>=70?"中等":s>=60?"及格":"较差",nt=_t(()=>{var s,t,d;return((d=(t=(s=x.value)==null?void 0:s.application)==null?void 0:t.comprehensive_analysis)==null?void 0:d.competency_scores)||{}}),rt=s=>({沟通表达能力:"bg-blue-100 text-blue-800",工作经历匹配度:"bg-green-100 text-green-800",操作技能水平:"bg-yellow-100 text-yellow-800",质量意识:"bg-indigo-100 text-indigo-800",安全意识:"bg-pink-100 text-pink-800",团队协作能力:"bg-purple-100 text-purple-800",问题解决能力:"bg-orange-100 text-orange-800",学习能力:"bg-red-100 text-red-800",初级统筹能力:"bg-teal-100 text-teal-800"})[s]||"bg-gray-100 text-gray-800";return(s,t)=>{const d=S("el-button"),b=S("el-tooltip"),h=S("a-spin"),k=S("el-icon"),p=S("el-descriptions-item"),l=S("el-descriptions"),n=S("el-empty"),f=S("el-spin"),m=S("el-scrollbar"),C=S("el-dialog");return c(),u(A,null,[e("div",bt,[e("div",ht,[e("div",{id:"report-top",ref_key:"reportTop",ref:Q},null,512),o(h,{spinning:O.value,tip:"加载中..."},{default:r(()=>{var g,N,le,oe,ne,re,de,ce,ue,_e,pe,fe,ve,me,ge,ye,be,he,xe,we,ke,Ie,Ae,De,je,Me,Ce,Ne,qe,Se,Ve;return[e("div",xt,[e("div",wt,[e("div",kt,"No."+i(((N=(g=x.value)==null?void 0:g.application)==null?void 0:N.report_id)||_.value.idNumber),1),e("div",It,i(((oe=(le=x.value)==null?void 0:le.application)==null?void 0:oe.interview_duration_formatted)||new Date().toLocaleString()),1)])]),Z.value?(c(),u("div",At,[t[6]||(t[6]=e("strong",{class:"font-bold"},"错误!",-1)),e("span",Dt,i(Z.value),1)])):(c(),u("div",jt,[e("div",Mt,[e("div",Ct,[e("div",Nt,[e("img",{src:_.value.additionalInfo.faceVerification.images[0],alt:"头像",class:"w-full h-full object-cover",onError:R},null,40,qt)]),e("div",null,[e("div",St,[e("h1",Vt,i(_.value.name),1),o(d,{size:"small",style:{color:"#1d1e3a","text-decoration":"underline"},type:"text",onClick:se},{default:r(()=>t[7]||(t[7]=[v(" 个人信息 ")])),_:1})]),e("p",Et,i(_.value.phoneNumber),1),(ne=x.value)!=null&&ne.position?(c(),u("p",$t," 应聘职位: "+i(x.value.position.title)+" - "+i(x.value.position.department),1)):I("",!0)])]),e("div",Rt,[e("div",Tt,[v(i(_.value.score),1),t[8]||(t[8]=e("span",{class:"text-base ml-1"},"分",-1))]),e("div",Lt,i(_.value.score>=70?"推荐 👍":_.value.score>=60?"待定 🤔":"不推荐 👎"),1)])]),e("div",zt,[e("div",null,[t[9]||(t[9]=e("label",{class:"text-gray-600"},"身份证号",-1)),e("div",null,i(_.value.idNumber),1)]),e("div",null,[t[10]||(t[10]=e("label",{class:"text-gray-600"},"薪资范围",-1)),e("div",null,i(_.value.salaryRange),1)]),e("div",null,[t[11]||(t[11]=e("label",{class:"text-gray-600"},"建议薪资",-1)),e("div",Bt,i(_.value.suggestedSalary),1)])]),e("div",Pt,[e("div",Ut,[e("div",{class:"tab-item active",onClick:t[0]||(t[0]=a=>Y("comprehensive-assessment"))},t[12]||(t[12]=[e("span",null,"综合评估",-1)])),e("div",{class:"tab-item",onClick:t[1]||(t[1]=a=>Y("image-analysis"))},t[13]||(t[13]=[e("span",null,"图片分析评估",-1)])),e("div",{class:"tab-item",onClick:t[2]||(t[2]=a=>Y("answer-records"))},t[14]||(t[14]=[e("span",null,"回答记录",-1)])),e("div",{class:"tab-item",onClick:t[3]||(t[3]=a=>Y("other-info"))},t[15]||(t[15]=[e("span",null,"其他信息",-1)]))])]),e("div",Ht,[e("div",Gt,[t[24]||(t[24]=e("h1",{class:"font-bold mb-6"},"1. 综合评估",-1)),e("div",Wt,[e("div",Zt,[e("div",Ft,[e("div",Yt,[t[16]||(t[16]=e("span",{class:"text-gray-600"},"录用建议",-1)),e("span",{class:j({"text-green-500":(re=_.value.hireRecommendation)==null?void 0:re.includes("推荐"),"text-red-500":(de=_.value.hireRecommendation)==null?void 0:de.includes("不推荐"),"text-yellow-500":!((ce=_.value.hireRecommendation)!=null&&ce.includes("推荐"))&&!((ue=_.value.hireRecommendation)!=null&&ue.includes("不推荐"))})},i(_.value.hireRecommendation||"无建议"),3)]),e("p",Ot,i(_.value.hireReason||"无详细说明"),1)])]),e("div",Qt,[e("div",Jt,[t[17]||(t[17]=e("span",{class:"text-gray-600",style:{color:"red"}},"红线题检测结果",-1)),e("span",{class:j({"text-green-500":(pe=(_e=x.value)==null?void 0:_e.required_questions_summary)==null?void 0:pe.all_correct,"text-red-500":((fe=x.value)==null?void 0:fe.required_questions_summary)&&!x.value.required_questions_summary.all_correct})},i((me=(ve=x.value)==null?void 0:ve.required_questions_summary)!=null&&me.all_correct?"全部正确":"存在错误,建议不录用"),3)]),(ge=x.value)!=null&&ge.required_questions_summary&&!x.value.required_questions_summary.all_correct?(c(),u("div",Kt,[t[18]||(t[18]=e("p",{class:"text-red-700 font-medium mb-1"},"未通过的红线题:",-1)),x.value.required_questions_summary.failed_questions_details.length>0?(c(),u("ul",Xt,[(c(!0),u(A,null,M(x.value.required_questions_summary.failed_questions_details,(a,D)=>(c(),u("li",{key:"failed-"+D},i(a.question_text||`问题 ${D+1}`),1))),128))])):(c(),u("p",es,"未提供详细信息"))])):I("",!0)]),_.value.strengths&&_.value.strengths.length>0?(c(),u("div",ts,[t[19]||(t[19]=e("h3",{class:"font-semibold mb-2"},"优点",-1)),e("ul",ss,[(c(!0),u(A,null,M(_.value.strengths,(a,D)=>(c(),u("li",{key:"strength-"+D},i(a),1))),128))])])):I("",!0),_.value.weaknesses&&_.value.weaknesses.length>0?(c(),u("div",is,[t[20]||(t[20]=e("h3",{class:"font-semibold mb-2"},"需改进的地方",-1)),e("ul",as,[(c(!0),u(A,null,M(_.value.weaknesses,(a,D)=>(c(),u("li",{key:"weakness-"+D},i(a),1))),128))])])):I("",!0),e("div",ls,[e("div",os,[t[21]||(t[21]=e("span",{class:"text-gray-600"},"DUV 心理测评得分",-1)),e("span",{class:j(te((be=(ye=x.value)==null?void 0:ye.scoring_summary)==null?void 0:be.total_score_obtained))},[v(i(at((xe=(he=x.value)==null?void 0:he.scoring_summary)==null?void 0:xe.total_score_obtained))+" ",1),e("span",ns,"("+i(st((ke=(we=x.value)==null?void 0:we.scoring_summary)==null?void 0:ke.total_score_obtained))+")",1)],2)]),e("p",rs,i(tt((Ae=(Ie=x.value)==null?void 0:Ie.scoring_summary)==null?void 0:Ae.total_score_obtained)),1),e("p",{class:j(["text-sm mt-1",te((je=(De=x.value)==null?void 0:De.scoring_summary)==null?void 0:je.total_score_obtained)])},[t[22]||(t[22]=e("strong",null,"录用建议:",-1)),v(" "+i(it((Ce=(Me=x.value)==null?void 0:Me.scoring_summary)==null?void 0:Ce.total_score_obtained)),1)],2)]),e("div",ds,[e("div",cs,[(c(!0),u(A,null,M(nt.value,(a,D)=>(c(),u("div",{key:D,class:"flex items-start space-x-2",style:{"font-size":"14px"}},[e("div",{class:j([rt(a.tag_name),"px-2 py-1 rounded text-sm whitespace-nowrap"]),style:{"font-size":"14px"}},i(a.tag_name),3),e("div",us,[e("p",_s,i(ot(a.normalized_score)),1)])]))),128)),e("div",ps,[t[23]||(t[23]=e("div",{style:{"font-size":"14px"},class:"bg-purple-100 text-purple-800 px-2 py-1 rounded text-sm whitespace-nowrap"},"人脸一致性",-1)),e("div",fs,[e("p",vs,i(((Ve=(Se=(qe=(Ne=x.value)==null?void 0:Ne.application)==null?void 0:qe.comprehensive_analysis)==null?void 0:Se.score_calculation)==null?void 0:Ve.face_consistency_score)||"暂无数据"),1)])])])])])])]),e("div",ms,[t[25]||(t[25]=e("h2",{class:"font-bold mb-6"},"2. 图片分析评估",-1)),e("div",gs,[(c(!0),u(A,null,M(_.value.duvAnalysis,(a,D)=>(c(),u("div",{key:D,class:"border-b pb-4"},[e("div",ys,[e("span",bs,i(a.title),1),e("span",{class:j({"text-green-500":a.type==="positive","text-red-500":a.type==="negative","text-yellow-500":a.type==="neutral"})},i(a.score),3)]),e("p",hs,i(a.content),1)]))),128))])]),e("div",xs,[t[28]||(t[28]=e("h2",{class:"font-bold mb-6"},"3. 回答记录",-1)),e("div",ws,[(c(!0),u(A,null,M(_.value.interviewRecord,(a,D)=>{var E,Ee,$e,Re,Te,Le,ze,Be,Pe,Ue,He,Ge;return c(),u("div",{key:D,class:"bg-gray-50 rounded-lg p-4"},[e("div",ks,[e("div",Is,[e("div",As,"第"+i(D+1)+"题",1),e("div",Ds,[e("h3",js,i(a.question),1)])]),a.question_form===1||a.question_form===2||a.question_form===4?(c(),u("div",Ms,[e("div",Cs,[a.options&&a.options.length>0?(c(),u("div",Ns,[(c(!0),u(A,null,M(a.options,(w,K)=>{var B,P,U,H,z,We;return c(),u("div",{key:K,class:j(["p-3 rounded border",(P=(B=a.answer_data)==null?void 0:B.selected_option_details)!=null&&P.some(G=>G.id===w.id)?"border-blue-300 bg-blue-50":"border-gray-200"])},[e("div",qs,[e("div",Ss,[e("span",Vs,i(w.option_text),1)]),e("div",Es,[a.question_form!==4?(c(),u(A,{key:0},[w.is_correct?(c(),u("span",$s,"✓ 正确答案")):I("",!0),(H=(U=a.answer_data)==null?void 0:U.selected_option_details)!=null&&H.some(G=>G.id===w.id)?(c(),u("span",{key:1,class:j(w.is_correct?"text-green-500":"text-red-500")},i(w.is_correct?"(已选 - 正确)":"(已选 - 错误)"),3)):I("",!0)],64)):(c(),u(A,{key:1},[(We=(z=a.answer_data)==null?void 0:z.selected_option_details)!=null&&We.some(G=>G.id===w.id)?(c(),u("span",Rs," (已选) ")):I("",!0)],64))])])],2)}),128))])):I("",!0),e("div",Ts,[e("div",Ls," 候选人: "+i(((Ee=(E=a.answer_data)==null?void 0:E.selected_option_details)==null?void 0:Ee.map(w=>w.option_text).join(", "))||"未作答"),1),a.question_form!==4?(c(),u("div",zs,[e("span",{class:j(["px-3 py-1 rounded-full text-sm",(Re=($e=a.answer_data)==null?void 0:$e.selected_option_details)!=null&&Re.every(w=>w.is_correct)?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},i((Le=(Te=a.answer_data)==null?void 0:Te.selected_option_details)!=null&&Le.every(w=>w.is_correct)?"正确":"错误"),3)])):I("",!0)])])])):a.question_form===0?(c(),u("div",Bs,[e("div",Ps,[e("div",Us,[e("div",Hs,[e("div",Gs,[t[26]||(t[26]=e("div",{class:"bg-green-100 text-green-800 px-2 py-1 rounded text-sm"},"候选人",-1)),e("div",Ws,[e("p",Zs,i(a.answer),1)])])]),e("div",null,[e("div",Fs,[t[27]||(t[27]=e("div",{class:"bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-sm"},"AI评分",-1)),e("div",Ys,[e("p",Os,i(a.analysis),1),e("div",Qs,"得分:"+i(a.score),1)])])])])]),e("div",Js,[e("div",Ks,[e("video",{class:"w-full h-full object-cover rounded-lg",controls:"",src:a.videoUrl,preload:"metadata",poster:L.value,onLoadeddata:Xe,onError:et}," 您的浏览器不支持视频播放。 ",40,Xs)])])])):a.question_form===3?(c(),u("div",ei,[e("div",ti,[e("div",si,[e("div",ii,[e("img",{src:a.question_image_url,alt:"题目图片",class:"w-full h-full object-contain",onError:R},null,40,ai)])]),e("div",li,[a.options&&a.options.length>0?(c(),u("div",oi,[(c(!0),u(A,null,M(a.options,(w,K)=>{var B,P,U,H;return c(),u("div",{key:K,class:j(["p-3 rounded border",(P=(B=a.answer_data)==null?void 0:B.selected_option_details)!=null&&P.some(z=>z.id===w.id)?"border-blue-300 bg-blue-50":"border-gray-200"])},[e("div",ni,[e("div",ri,[e("span",di,i(w.option_text),1)]),e("div",ci,[w.is_correct?(c(),u("span",ui,"✓ 正确答案")):I("",!0),(H=(U=a.answer_data)==null?void 0:U.selected_option_details)!=null&&H.some(z=>z.id===w.id)?(c(),u("span",{key:1,class:j(w.is_correct?"text-green-500":"text-red-500")},i(w.is_correct?"(已选 - 正确)":"(已选 - 错误)"),3)):I("",!0)])])],2)}),128))])):I("",!0),e("div",_i,[e("div",pi," 答案: "+i(((Be=(ze=a.answer_data)==null?void 0:ze.selected_option_details)==null?void 0:Be.map(w=>w.option_text).join(", "))||"未作答"),1),e("div",null,[e("span",{class:j(["px-3 py-1 rounded-full text-sm",(Ue=(Pe=a.answer_data)==null?void 0:Pe.selected_option_details)!=null&&Ue.every(w=>w.is_correct)?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},i((Ge=(He=a.answer_data)==null?void 0:He.selected_option_details)!=null&&Ge.every(w=>w.is_correct)?"正确":"错误"),3)])])])])])):I("",!0)])])}),128))])]),e("div",fi,[t[35]||(t[35]=e("h2",{class:"font-bold mb-6"},"4. 其他信息",-1)),e("div",vi,[e("div",mi,[e("div",gi,[t[29]||(t[29]=e("span",{class:"text-gray-600"},"身份认证:",-1)),e("span",yi,i(_.value.additionalInfo.idVerification),1)]),e("div",bi,[t[30]||(t[30]=e("span",{class:"text-gray-600"},"手机号实名认证:",-1)),e("span",hi,i(_.value.additionalInfo.phoneVerification),1)])]),e("div",xi,[e("div",wi,[t[31]||(t[31]=e("span",{class:"text-gray-600"},"手部综合检测:",-1)),e("span",ki,i(_.value.additionalInfo.handVerification),1)]),e("div",Ii,[e("div",null,[t[32]||(t[32]=e("h4",{class:"text-gray-600 mb-2"},"左手手势验证",-1)),e("div",Ai,[(c(!0),u(A,null,M(ae("left"),(a,D)=>{var E;return c(),u("div",{key:D,class:j(["relative aspect-square rounded-lg overflow-hidden bg-gray-100",{"border-2":a.part_verification,"border-green-500":(E=a.part_verification)==null?void 0:E.is_correct_part,"border-red-500":a.part_verification&&!a.part_verification.is_correct_part}])},[a.part_verification&&!a.part_verification.is_correct_part?(c(),Ze(b,{key:0,content:a.part_verification.explanation||"未提供失败原因",placement:"top",effect:"dark","show-after":200},{default:r(()=>[e("div",Di,[e("img",{src:a.url,alt:a.description,class:"w-full h-full object-cover",onError:R},null,40,ji),a.part_verification?(c(),u("div",{key:0,class:j(["absolute bottom-0 left-0 right-0 py-1 px-2 text-xs text-center text-white z-10",{"bg-green-500 bg-opacity-90":a.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!a.part_verification.is_correct_part}])},i(a.part_verification.is_correct_part?"通过":"未通过"),3)):I("",!0)])]),_:2},1032,["content"])):(c(),u(A,{key:1},[e("img",{src:a.url,alt:a.description,class:"w-full h-full object-cover",onError:R},null,40,Mi),a.part_verification?(c(),u("div",{key:0,class:j(["absolute bottom-0 left-0 right-0 py-1 px-2 text-xs text-center text-white z-10",{"bg-green-500 bg-opacity-90":a.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!a.part_verification.is_correct_part}])},i(a.part_verification.is_correct_part?"通过":"未通过"),3)):I("",!0)],64))],2)}),128))])]),e("div",null,[t[33]||(t[33]=e("h4",{class:"text-gray-600 mb-2"},"右手手势验证",-1)),e("div",Ci,[(c(!0),u(A,null,M(ae("right"),(a,D)=>{var E;return c(),u("div",{key:D,class:j(["relative aspect-square rounded-lg overflow-hidden bg-gray-100",{"border-2":a.part_verification,"border-green-500":(E=a.part_verification)==null?void 0:E.is_correct_part,"border-red-500":a.part_verification&&!a.part_verification.is_correct_part}])},[a.part_verification&&!a.part_verification.is_correct_part?(c(),Ze(b,{key:0,content:a.part_verification.explanation||"未提供失败原因",placement:"top",effect:"dark","show-after":200},{default:r(()=>[e("div",Ni,[e("img",{src:a.url,alt:a.description,class:"w-full h-full object-cover",onError:R},null,40,qi),a.part_verification?(c(),u("div",{key:0,class:j(["absolute bottom-0 left-0 right-0 py-1 px-2 text-xs text-center text-white z-10",{"bg-green-500 bg-opacity-90":a.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!a.part_verification.is_correct_part}])},i(a.part_verification.is_correct_part?"通过":"未通过"),3)):I("",!0)])]),_:2},1032,["content"])):(c(),u(A,{key:1},[e("img",{src:a.url,alt:a.description,class:"w-full h-full object-cover",onError:R},null,40,Si),a.part_verification?(c(),u("div",{key:0,class:j(["absolute bottom-0 left-0 right-0 py-1 px-2 text-xs text-center text-white z-10",{"bg-green-500 bg-opacity-90":a.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!a.part_verification.is_correct_part}])},i(a.part_verification.is_correct_part?"通过":"未通过"),3)):I("",!0)],64))],2)}),128))])])])]),e("div",null,[t[34]||(t[34]=e("h3",{class:"font-semibold mb-4"},"人脸验证: ",-1)),e("div",Vi,[(c(!0),u(A,null,M(_.value.additionalInfo.faceVerification.images,(a,D)=>(c(),u("div",{key:D,class:"aspect-square rounded-lg overflow-hidden bg-gray-100"},[e("img",{src:a,alt:"人脸验证",class:"w-full h-full object-cover",onError:R},null,40,Ei)]))),128))])])])])]))]}),_:1},8,["spinning"]),e("div",$i,[o(d,{type:"primary",style:{"margin-left":"12px"},circle:"",onClick:se},{default:r(()=>[o(k,null,{default:r(()=>[o(W(pt))]),_:1})]),_:1}),o(d,{type:"primary",style:{"margin-left":"12px"},circle:"",onClick:Qe},{default:r(()=>[o(k,null,{default:r(()=>[o(W(ft))]),_:1})]),_:1}),o(d,{type:"primary",circle:"",onClick:Je},{default:r(()=>[o(k,null,{default:r(()=>[o(W(vt))]),_:1})]),_:1}),o(d,{type:"primary",circle:"",onClick:Ke},{default:r(()=>[o(k,null,{default:r(()=>[o(W(mt))]),_:1})]),_:1}),o(d,{type:"primary",circle:"",onClick:Oe},{default:r(()=>[o(k,null,{default:r(()=>[o(W(gt))]),_:1})]),_:1})])])]),o(C,{modelValue:F.value,"onUpdate:modelValue":t[5]||(t[5]=g=>F.value=g),title:"个人详细信息",width:"80%","close-on-click-modal":!1,class:"user-profile-dialog"},{footer:r(()=>[e("span",Gi,[o(d,{onClick:t[4]||(t[4]=g=>F.value=!1)},{default:r(()=>t[42]||(t[42]=[v("关闭")])),_:1})])]),default:r(()=>[o(m,{height:"70vh"},{default:r(()=>[o(f,{spinning:J.value},{default:r(()=>[y.value?(c(),u("div",Ri,[e("div",Ti,[t[36]||(t[36]=e("h3",{class:"section-title"},"基本信息",-1)),o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"姓名"},{default:r(()=>[v(i(y.value.user_info.name),1)]),_:1}),o(p,{label:"手机号"},{default:r(()=>[v(i(y.value.user_info.phone),1)]),_:1}),o(p,{label:"年龄"},{default:r(()=>[v(i(y.value.user_info.age)+"岁",1)]),_:1}),o(p,{label:"出生日期"},{default:r(()=>[v(i(T(y.value.user_info.birth_date)),1)]),_:1}),o(p,{label:"性别"},{default:r(()=>[v(i(y.value.user_info.gender_name),1)]),_:1}),o(p,{label:"身份证号"},{default:r(()=>[v(i(y.value.user_info.id_card),1)]),_:1})]),_:1})]),e("div",Li,[t[37]||(t[37]=e("h3",{class:"section-title"},"个人资料",-1)),o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"政治面貌"},{default:r(()=>[v(i(y.value.profile.political_status),1)]),_:1}),o(p,{label:"民族"},{default:r(()=>[v(i(y.value.profile.ethnicity),1)]),_:1}),o(p,{label:"身高"},{default:r(()=>[v(i(y.value.profile.height)+"cm",1)]),_:1}),o(p,{label:"体重"},{default:r(()=>[v(i(y.value.profile.weight)+"kg",1)]),_:1}),o(p,{label:"籍贯"},{default:r(()=>[v(i(y.value.profile.native_place),1)]),_:1}),o(p,{label:"户口所在地"},{default:r(()=>[v(i(y.value.profile.household_location),1)]),_:1}),o(p,{label:"现居地址"},{default:r(()=>[v(i(y.value.profile.current_address),1)]),_:1}),o(p,{label:"婚姻状况"},{default:r(()=>[v(i(y.value.profile.marital_status_name),1)]),_:1}),o(p,{label:"是否有子女"},{default:r(()=>[v(i(y.value.profile.has_children?"是":"否"),1)]),_:1}),o(p,{label:"期望薪资"},{default:r(()=>[v(i(y.value.profile.expected_salary),1)]),_:1}),o(p,{label:"紧急联系人"},{default:r(()=>[v(i(y.value.profile.emergency_contact),1)]),_:1}),o(p,{label:"紧急联系电话"},{default:r(()=>[v(i(y.value.profile.emergency_phone),1)]),_:1}),o(p,{label:"特长"},{default:r(()=>[v(i(y.value.profile.specialties),1)]),_:1}),o(p,{label:"人生格言"},{default:r(()=>[v(i(y.value.profile.life_motto),1)]),_:1}),o(p,{label:"招聘来源"},{default:r(()=>[v(i(y.value.profile.recruitment_source_name),1)]),_:1})]),_:1})]),y.value.educations&&y.value.educations.length>0?(c(),u("div",zi,[t[38]||(t[38]=e("h3",{class:"section-title"},"教育经历",-1)),(c(!0),u(A,null,M(y.value.educations,(g,N)=>(c(),u("div",{key:`edu-${N}`,class:"mb-4"},[o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"学历类型"},{default:r(()=>[v(i(g.education_type_name),1)]),_:2},1024),o(p,{label:"学历"},{default:r(()=>[v(i(g.degree_name),1)]),_:2},1024),o(p,{label:"时间段"},{default:r(()=>[v(i(T(g.start_date))+" 至 "+i(T(g.end_date)),1)]),_:2},1024),o(p,{label:"学校名称"},{default:r(()=>[v(i(g.school_name),1)]),_:2},1024),o(p,{label:"专业"},{default:r(()=>[v(i(g.major),1)]),_:2},1024)]),_:2},1024)]))),128))])):I("",!0),y.value.work_experiences&&y.value.work_experiences.length>0?(c(),u("div",Bi,[t[39]||(t[39]=e("h3",{class:"section-title"},"工作经历",-1)),(c(!0),u(A,null,M(y.value.work_experiences,(g,N)=>(c(),u("div",{key:`work-${N}`,class:"mb-4"},[o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"公司名称"},{default:r(()=>[v(i(g.company_name),1)]),_:2},1024),o(p,{label:"时间段"},{default:r(()=>[v(i(T(g.start_date))+" 至 "+i(T(g.end_date)),1)]),_:2},1024),o(p,{label:"部门"},{default:r(()=>[v(i(g.department),1)]),_:2},1024),o(p,{label:"职位"},{default:r(()=>[v(i(g.position),1)]),_:2},1024),o(p,{label:"公司规模"},{default:r(()=>[v(i(g.company_size)+"人",1)]),_:2},1024),o(p,{label:"月薪"},{default:r(()=>[v(i(g.monthly_salary),1)]),_:2},1024),o(p,{label:"主管姓名"},{default:r(()=>[v(i(g.supervisor_name),1)]),_:2},1024),o(p,{label:"主管电话"},{default:r(()=>[v(i(g.supervisor_phone),1)]),_:2},1024),o(p,{label:"工作描述",span:3},{default:r(()=>[v(i(g.job_description||"无"),1)]),_:2},1024),o(p,{label:"工作成就",span:3},{default:r(()=>[v(i(g.achievements||"无"),1)]),_:2},1024),o(p,{label:"离职原因",span:3},{default:r(()=>[v(i(g.resignation_reason||"无"),1)]),_:2},1024)]),_:2},1024)]))),128))])):I("",!0),y.value.trainings&&y.value.trainings.length>0?(c(),u("div",Pi,[t[40]||(t[40]=e("h3",{class:"section-title"},"培训经历",-1)),(c(!0),u(A,null,M(y.value.trainings,(g,N)=>(c(),u("div",{key:`training-${N}`,class:"mb-4"},[o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"培训名称"},{default:r(()=>[v(i(g.training_name),1)]),_:2},1024),o(p,{label:"培训机构"},{default:r(()=>[v(i(g.institution),1)]),_:2},1024),o(p,{label:"时间段"},{default:r(()=>[v(i(T(g.start_date))+" 至 "+i(T(g.end_date)),1)]),_:2},1024),o(p,{label:"培训描述",span:3},{default:r(()=>[v(i(g.description),1)]),_:2},1024),o(p,{label:"证书"},{default:r(()=>[v(i(g.certificate),1)]),_:2},1024)]),_:2},1024)]))),128))])):I("",!0),y.value.family_members&&y.value.family_members.length>0?(c(),u("div",Ui,[t[41]||(t[41]=e("h3",{class:"section-title"},"家庭成员",-1)),(c(!0),u(A,null,M(y.value.family_members,(g,N)=>(c(),u("div",{key:`family-${N}`,class:"mb-4"},[o(l,{column:3,border:""},{default:r(()=>[o(p,{label:"关系"},{default:r(()=>[v(i(g.relation),1)]),_:2},1024),o(p,{label:"姓名"},{default:r(()=>[v(i(g.name),1)]),_:2},1024),o(p,{label:"联系电话"},{default:r(()=>[v(i(g.phone),1)]),_:2},1024),o(p,{label:"工作单位"},{default:r(()=>[v(i(g.workplace),1)]),_:2},1024),o(p,{label:"职位"},{default:r(()=>[v(i(g.position),1)]),_:2},1024)]),_:2},1024)]))),128))])):I("",!0)])):(c(),u("div",Hi,[o(n,{description:"暂无个人信息数据"})]))]),_:1},8,["spinning"])]),_:1})]),_:1},8,["modelValue"])],64)}}}),Qi=yt(Wi,[["__scopeId","data-v-7af91d0f"]]);export{Qi as default};