index.Be3RXjyn.js 25 KB

1
  1. import{a as Y,r as x,aB as O,q as Q,aj as H,c as _,o as p,b as e,S as f,K as b,Q as c,M as j,P as J,G as S,R as w,a9 as I,u as E}from"./vue.YrNK8sx4.js";import{j as K,m as X,p as ee,n as se,E as R}from"./index.DdHkfHvx.js";import{_ as te}from"./_plugin-vue_export-helper.DlAUqK2U.js";const ie={class:"min-h-screen bg-gradient-custom"},ae={class:"max-w-4xl mx-auto p-6 relative overflow-y-auto",style:{height:"100vh"}},oe={class:"bg-[#1d1e3a] text-white p-4 rounded-t-lg"},ne={class:"flex justify-between items-center"},le={class:"text-sm"},re={class:"text-sm"},de={key:0,class:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative",role:"alert"},ce={class:"block sm:inline"},ue={key:1,class:"bg-white rounded-b-lg shadow-lg p-6"},_e={class:"flex justify-between items-center mb-8 pb-4 border-b"},pe={class:"flex items-center space-x-4"},ve={class:"w-20 h-20 bg-gray-200 rounded-lg overflow-hidden"},ge=["src"],me={class:"text-2xl font-bold"},fe={class:"text-gray-600"},he={key:0,class:"text-gray-500 text-sm"},ye={class:"text-right"},xe={class:"text-4xl font-bold text-yellow-500"},be={class:"text-sm text-yellow-500"},we={class:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-8"},Ie={class:"font-semibold text-blue-600"},Ae={class:"mb-8"},ke={class:"space-y-4"},Me={class:"border-b pb-4"},Ne={class:"flex items-center justify-between mb-2"},je={class:"text-gray-600 text-sm"},Re={key:0,class:"border-b pb-4"},De={class:"list-disc pl-5 text-gray-600 text-sm"},Ve={key:1,class:"border-b pb-4"},Se={class:"list-disc pl-5 text-gray-600 text-sm"},Ce={class:"mb-8"},Ee={class:"space-y-4"},Te={class:"flex items-center justify-between mb-2"},Be={class:"text-gray-600"},He={class:"text-gray-600 text-sm"},Le={class:"mb-8"},Ge={class:"space-y-4"},Ue={class:"mb-4"},$e={class:"flex items-start space-x-2"},Pe={class:"bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm"},We={class:"flex-1"},Ze={class:"font-semibold text-gray-800"},qe={key:0,class:"mt-4 flex space-x-4"},ze={class:"w-2/3"},Fe={class:"bg-white p-4 rounded-lg"},Ye={class:"mb-4"},Oe={class:"flex items-start space-x-2"},Qe={class:"flex-1"},Je={class:"text-gray-700"},Ke={class:"flex items-start space-x-2"},Xe={class:"flex-1"},es={class:"text-gray-600"},ss={class:"mt-2 text-blue-500"},ts={class:"w-1/3"},is={class:"video-container"},as=["src","poster"],os={key:1,class:"mt-4"},ns={class:"bg-white p-4 rounded-lg"},ls={class:"flex items-center justify-between mb-3"},rs={class:"flex items-center space-x-2"},ds={class:"text-gray-700",style:{margin:"0"}},cs={key:0,class:"mt-3 space-y-2"},us={class:"flex items-start"},_s={class:"mr-2 text-gray-500"},ps={class:"flex-1"},vs={class:"text-gray-700"},gs={key:0,class:"text-xs text-green-600 mt-1"},ms={key:2,class:"mt-4 flex space-x-4"},fs={class:"w-1/3"},hs={class:"bg-white p-4 rounded-lg"},ys={class:"flex items-start space-x-2"},xs={class:"flex-1"},bs={class:"text-gray-700",style:{margin:"0"}},ws={class:"mt-2"},Is={class:"w-2/3"},As={class:"rounded-lg overflow-hidden bg-gray-100"},ks=["src"],Ms={class:"mb-8"},Ns={class:"space-y-6"},js={class:"space-y-2"},Rs={class:"flex items-center space-x-2"},Ds={class:"text-green-500"},Vs={class:"flex items-center space-x-2"},Ss={class:"text-green-500"},Cs={class:"flex items-center space-x-2"},Es={class:"text-green-500"},Ts={class:"flex items-center space-x-2"},Bs={class:"text-green-500"},Hs={class:"space-y-4"},Ls={class:"flex items-center space-x-2"},Gs={class:"text-green-500"},Us={class:"pl-4 space-y-2"},$s={class:"flex items-center space-x-2"},Ps={class:"text-green-500"},Ws={class:"flex items-center space-x-2"},Zs={class:"text-green-500"},qs={class:"flex items-center space-x-2"},zs={class:"text-green-500"},Fs={class:"grid grid-cols-2 gap-8 mt-4"},Ys={class:"grid grid-cols-3 gap-2"},Os=["src"],Qs={class:"grid grid-cols-3 gap-2"},Js=["src"],Ks={class:"grid grid-cols-3 md:grid-cols-6 gap-2"},Xs=["src"],et={class:"fixed right-8 bottom-24 flex flex-col space-y-4"},st=Y({__name:"index",setup(tt){const t=x({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:""},{question:"",answer:"",analysis:"",score:"",videoUrl:"",thumbnail:"",question_form:0,is_correct:!1,question_image_url:""}],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:""}),D=x(null),T=x(!0),C=x(""),A=O(),U=async()=>{T.value=!0;try{const r=A.query.id||"1",s=A.query.tenant_id||"1",l=A.query.application_id||"1";console.log("Route params:",{id:r,tenant_id:s,application_id:l});const u=await(await fetch(`https://backend.qicai321.com/api/job/application_detail?tenant_id=${s}&application_id=${r||l}`)).json();u.code===2e3?(D.value=u.data,$(u.data)):C.value=u.msg||"获取数据失败"}catch(r){console.error("获取申请详情失败:",r),C.value="获取数据失败,请稍后重试"}finally{T.value=!1}},$=r=>{if(!r)return;const{applicant:s,application:l,position:v,interview_progress:u,posture_photos:h}=r;if(t.value.name=(s==null?void 0:s.name)||t.value.name,t.value.phoneNumber=(s==null?void 0:s.phone)||t.value.phoneNumber,t.value.idNumber=(s==null?void 0:s.id_card)||t.value.idNumber,v)if(v.salary_range?t.value.salaryRange=v.salary_range||"面议":t.value.salaryRange="面议",v.salary_range&&typeof v.salary_range=="string"){let i=0,a=0;if(v.salary_range.includes("-")){const o=v.salary_range.split("-");i=parseInt(o[0].trim().replace(/[^\d]/g,""),10),a=parseInt(o[1].trim().replace(/[^\d]/g,""),10)}else if(v.salary_range.includes("~")){const o=v.salary_range.split("~");i=parseInt(o[0].trim().replace(/[^\d]/g,""),10),a=parseInt(o[1].trim().replace(/[^\d]/g,""),10)}else if(v.salary_range.includes("至")){const o=v.salary_range.split("至");i=parseInt(o[0].trim().replace(/[^\d]/g,""),10),a=parseInt(o[1].trim().replace(/[^\d]/g,""),10)}if(!isNaN(i)&&!isNaN(a)&&i>0&&a>0&&a>i){const o=t.value.score/100,d=Math.floor(i+(a-i)*o);if(d>=1e4){const m=(d/1e4).toFixed(1);t.value.suggestedSalary=`${m}万`}else t.value.suggestedSalary=`${d}`}else t.value.suggestedSalary=v.salary_range}else t.value.suggestedSalary="面议";else t.value.salaryRange="面议",t.value.suggestedSalary="面议";if(l!=null&&l.comprehensive_analysis&&(l.comprehensive_analysis.comprehensive_score!==null&&l.comprehensive_analysis.comprehensive_score!==void 0&&(t.value.score=l.comprehensive_analysis.comprehensive_score),l.comprehensive_analysis.video_analysis_data)){const i=l.comprehensive_analysis.video_analysis_data;i.strengths&&i.strengths.length>0&&(t.value.strengths=i.strengths.filter(a=>a&&!a.includes("无法从响应中提取"))),i.weaknesses&&i.weaknesses.length>0&&(t.value.weaknesses=i.weaknesses.filter(a=>a&&!a.includes("无法从响应中提取"))),l.comprehensive_analysis.hire_recommendation&&(t.value.hireRecommendation=l.comprehensive_analysis.hire_recommendation),l.comprehensive_analysis.hire_reason&&(t.value.hireReason=l.comprehensive_analysis.hire_reason)}if(l!=null&&l.ai_capability_scores){const i={专业性:"workAdaptability",沟通能力:"teamwork",技术匹配度:"learningAbility",解决问题能力:"attention",服务意识:"serviceAwareness"};Object.entries(l.ai_capability_scores).forEach(([a,o])=>{const d=i[a];if(d&&typeof o=="number"){let m="中等";o>=80?m="优秀":o<65&&(m="欠佳"),t.value.dimensions[d]=m}})}else{const i={teamwork:[],learningAbility:[],attention:[],workAdaptability:[],serviceAwareness:[]};u==null||u.forEach(a=>{a.video_answer&&a.video_answer.ai_score&&((a.question_text.includes("团队")||a.question_text.includes("合作"))&&i.teamwork.push(a.video_answer.ai_score),(a.question_text.includes("学习")||a.question_text.includes("技能"))&&i.learningAbility.push(a.video_answer.ai_score),(a.question_text.includes("细致")||a.question_text.includes("严谨")||a.question_text.includes("注意"))&&i.attention.push(a.video_answer.ai_score),(a.question_text.includes("适应")||a.question_text.includes("工作"))&&i.workAdaptability.push(a.video_answer.ai_score),(a.question_text.includes("服务")||a.question_text.includes("客户"))&&i.serviceAwareness.push(a.video_answer.ai_score))}),Object.entries(i).forEach(([a,o])=>{if(o.length>0){const d=o.reduce((n,g)=>n+g,0)/o.length;let m="中等";d>=80?m="优秀":d<65&&(m="欠佳"),t.value.dimensions[a]=m}})}const y={teamwork:"候选人在团队协作方面的表现",learningAbility:"候选人的学习能力和接受新知识的速度",attention:"候选人对细节的关注程度和工作严谨性",workAdaptability:"候选人适应工作环境和要求的能力",serviceAwareness:"候选人的服务意识和客户导向思维"};if(Object.keys(t.value.dimensionDetails).forEach(i=>{const a=i,o=t.value.dimensions[a];let d=y[a]||"";o==="优秀"?d+="表现优秀,符合岗位要求。":o==="中等"?d+="表现一般,基本符合岗位要求。":d+="表现欠佳,需要进一步提升。",t.value.dimensionDetails[a]=d}),u&&u.length>0&&(t.value.interviewRecord=u.filter(i=>i.video_answer).map(i=>{var d,m,n,g,M;let a=((d=i.video_answer)==null?void 0:d.transcript)||"未提供回答",o=!1;return i.answer_data&&i.answer_data.selected_option_details&&i.answer_data.selected_option_details.length>0&&(a=i.answer_data.selected_option_details.map(N=>N.option_text).join(", "),o=i.answer_data.selected_option_details.map(N=>N.is_correct).join(", ")),console.log(i),{question:i.question_text||"未提供问题",answer:a,analysis:((n=(m=i.video_answer)==null?void 0:m.ai_analysis)==null?void 0:n.comment)||"面试官正在评估中",score:(g=i.video_answer)!=null&&g.ai_score?`${i.video_answer.ai_score}分`:"评估中",question_form:i.question_form,is_correct:o,videoUrl:((M=i.video_answer)==null?void 0:M.video_url)||"",question_image_url:i.question_image_url||"",options:i.options||[],thumbnail:"/images/video-placeholder.jpg"}})),l!=null&&l.visual_analysis_results&&l.visual_analysis_results.photo_results){const i=[];l.visual_analysis_results.photo_results.forEach(a=>{a.detections&&a.detections.length>0&&a.detections.forEach(o=>{i.push({title:o.feature||"特征分析",content:o.location?`在${o.location}发现${o.feature}${o.description?","+o.description:""}`:o.feature+(o.description?","+o.description:""),score:o.confidence>=.8?"确认":"疑似",type:o.description&&o.description.includes("影响")?"negative":"neutral"})})}),i.length>0?t.value.duvAnalysis=i:t.value.duvAnalysis=[{title:"未发现特殊特征",content:"未在照片中检测到特殊特征",score:"正常",type:"positive"}]}else l!=null&&l.visual_analysis_results&&l.visual_analysis_results.detections?t.value.duvAnalysis=l.visual_analysis_results.detections.map(i=>({title:i.feature||"特征分析",content:i.location?`在${i.location}发现${i.feature}`:i.feature,score:i.confidence>=.8?"确认":"疑似",type:"neutral"})):t.value.duvAnalysis=[{title:"未进行DUV分析",content:"未提供DUV分析数据",score:"未知",type:"neutral"}];if(h&&h.length>0){const i=h.filter(d=>d.description.includes("left_")||d.description.includes("左手")).map(d=>d.photo_url);i.length>0&&(t.value.additionalInfo.leftHandGestures.images=i);const a=h.filter(d=>d.description.includes("right_")||d.description.includes("右手")).map(d=>d.photo_url);a.length>0&&(t.value.additionalInfo.rightHandGestures.images=a);const o=h.filter(d=>d.description.includes("面部")||!d.description.includes("left_")&&!d.description.includes("right_")&&!d.description.includes("左手")&&!d.description.includes("右手")).map(d=>d.photo_url);o.length>0&&(t.value.additionalInfo.faceVerification.images=o)}if(u&&u.length>0){const i={};u.forEach(a=>{if(a.video_answer&&a.video_answer.video_url){const o=a.question_type_display||"面试视频";i[o]||(i[o]=[]),i[o].push({url:a.video_answer.video_url,thumbnail:"/images/video-placeholder.jpg",description:a.question_text})}}),t.value.videoRecords=Object.entries(i).map(([a,o])=>({category:a,videos:o}))}t.value.availabilityPeriod="无特殊情况",t.value.onboardingTime="随时可以入职"};Q(()=>{console.log("完整URL:",window.location.href),console.log("路径:",window.location.pathname),console.log("查询字符串:",window.location.search),console.log("哈希:",window.location.hash),U()}),x(0),x(""),x();const B=x(null),P=()=>{if(console.log("尝试滚动到顶部"),B.value){B.value.scrollIntoView({behavior:"smooth",block:"start"}),console.log("使用ref滚动到顶部");return}const r=document.getElementById("report-top");if(r){r.scrollIntoView({behavior:"smooth",block:"start"}),console.log("使用ID滚动到顶部");return}},W=()=>{R.success("分享链接已复制")},Z=async()=>{try{const r=A.query.id||"1",s=A.query.tenant_id||"1",l=A.query.application_id||"1";R.success("报告下载中...");const u=await(await fetch(`https://backend.qicai321.com/api/system/job/export_application_pdf?application_id=${r||l}&tenant_id=${s}`)).json();u.code===2e3?R.success("下载任务已创建,请前往下载中心查看"):R.error(u.msg||"下载任务创建失败")}catch(r){console.error("创建下载任务失败:",r),R.error("创建下载任务失败,请稍后重试")}},L=[],q=()=>{const r=window.scrollY,s=document.body.style.overflow,l=document.body.style.height;document.body.style.overflow="visible",document.body.style.height="auto";const v=document.querySelectorAll(".fixed");v.forEach((u,h)=>{const y=u;L[h]=y.style.display,y.style.display="none"}),setTimeout(()=>{window.print(),document.body.style.overflow=s,document.body.style.height=l,v.forEach((u,h)=>{const y=u;y.style.display=L[h]}),window.scrollTo(0,r),R.success("打印完成")},300)},k=x("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iI2VlZWVlZSIvPjxwYXRoIGQ9Ik03NSA2NUExMCAxMCAwIDAgMSA4NSA3NUExMCAxMCAwIDAgMSA3NSA4NUExMCAxMCAwIDAgMSA2NSA3NUExMCAxMCAwIDAgMSA3NSA2NVoiIGZpbGw9IiNhYWFhYWEiLz48cGF0aCBkPSJNMTIwIDEzNUw5MCAxMDVMNjAgMTM1TDYwIDE0MEwxNDAgMTQwTDE0MCAxMzVMMTIwIDExNVoiIGZpbGw9IiNhYWFhYWEiLz48L3N2Zz4="),V=r=>{const s=r.target;s&&(s.src=k.value,s.onerror=null)},G=r=>{const s=()=>{try{if(r.readyState>=2){const l=document.createElement("canvas");l.width=r.videoWidth||320,l.height=r.videoHeight||240;const v=l.getContext("2d");if(v){r.currentTime=.1,v.drawImage(r,0,0,l.width,l.height);const u=l.toDataURL("image/jpeg");r.poster=u,r.removeEventListener("loadeddata",s)}}}catch(l){console.error("捕获视频第一帧失败:",l),r.poster=k.value}};r.addEventListener("loadeddata",s),r.readyState>=2&&s(),r.addEventListener("error",()=>{console.error("视频加载失败"),r.poster=k.value}),setTimeout(()=>{(!r.poster||r.poster==="")&&(r.poster=k.value)},3e3)},z=r=>{const s=r.target;s&&(s.readyState>=1?G(s):s.addEventListener("loadedmetadata",()=>{G(s)}))},F=r=>{const s=r.target;s&&(s.poster=k.value,console.error("视频加载错误"))};return(r,s)=>{const l=H("a-spin"),v=H("el-icon"),u=H("el-button");return p(),_("div",ie,[e("div",ae,[e("div",{id:"report-top",ref_key:"reportTop",ref:B},null,512),f(l,{spinning:T.value,tip:"加载中..."},{default:b(()=>{var h,y,i,a,o,d,m;return[e("div",oe,[e("div",ne,[e("div",le,"No."+c(((y=(h=D.value)==null?void 0:h.application)==null?void 0:y.report_id)||t.value.idNumber),1),e("div",re,c(new Date().toLocaleString()),1)])]),C.value?(p(),_("div",de,[s[0]||(s[0]=e("strong",{class:"font-bold"},"错误!",-1)),e("span",ce,c(C.value),1)])):(p(),_("div",ue,[e("div",_e,[e("div",pe,[e("div",ve,[e("img",{src:t.value.additionalInfo.faceVerification.images[0],alt:"头像",class:"w-full h-full object-cover",onError:V},null,40,ge)]),e("div",null,[e("h1",me,c(t.value.name),1),e("p",fe,c(t.value.phoneNumber),1),(i=D.value)!=null&&i.position?(p(),_("p",he," 应聘职位: "+c(D.value.position.title)+" - "+c(D.value.position.department),1)):j("",!0)])]),e("div",ye,[e("div",xe,[J(c(t.value.score),1),s[1]||(s[1]=e("span",{class:"text-base ml-1"},"分",-1))]),e("div",be,c(t.value.score>=70?"推荐 👍":t.value.score>=60?"待定 🤔":"不推荐 👎"),1)])]),e("div",we,[e("div",null,[s[2]||(s[2]=e("label",{class:"text-gray-600"},"身份证号",-1)),e("div",null,c(t.value.idNumber),1)]),e("div",null,[s[3]||(s[3]=e("label",{class:"text-gray-600"},"薪资范围",-1)),e("div",null,c(t.value.salaryRange),1)]),e("div",null,[s[4]||(s[4]=e("label",{class:"text-gray-600"},"建议薪资",-1)),e("div",Ie,c(t.value.suggestedSalary),1)])]),e("div",Ae,[s[8]||(s[8]=e("h2",{class:"text-xl font-bold mb-6"},"1. 综合评估",-1)),e("div",ke,[e("div",Me,[e("div",Ne,[s[5]||(s[5]=e("span",{class:"text-gray-600"},"录用建议",-1)),e("span",{class:S({"text-green-500":(a=t.value.hireRecommendation)==null?void 0:a.includes("推荐"),"text-red-500":(o=t.value.hireRecommendation)==null?void 0:o.includes("不推荐"),"text-yellow-500":!((d=t.value.hireRecommendation)!=null&&d.includes("推荐"))&&!((m=t.value.hireRecommendation)!=null&&m.includes("不推荐"))})},c(t.value.hireRecommendation||"无建议"),3)]),e("p",je,c(t.value.hireReason||"无详细说明"),1)]),t.value.strengths&&t.value.strengths.length>0?(p(),_("div",Re,[s[6]||(s[6]=e("h3",{class:"font-semibold mb-2"},"优点",-1)),e("ul",De,[(p(!0),_(w,null,I(t.value.strengths,(n,g)=>(p(),_("li",{key:"strength-"+g},c(n),1))),128))])])):j("",!0),t.value.weaknesses&&t.value.weaknesses.length>0?(p(),_("div",Ve,[s[7]||(s[7]=e("h3",{class:"font-semibold mb-2"},"需改进的地方",-1)),e("ul",Se,[(p(!0),_(w,null,I(t.value.weaknesses,(n,g)=>(p(),_("li",{key:"weakness-"+g},c(n),1))),128))])])):j("",!0)])]),e("div",Ce,[s[9]||(s[9]=e("h2",{class:"text-xl font-bold mb-6"},"2. 图片分析评估",-1)),e("div",Ee,[(p(!0),_(w,null,I(t.value.duvAnalysis,(n,g)=>(p(),_("div",{key:g,class:"border-b pb-4"},[e("div",Te,[e("span",Be,c(n.title),1),e("span",{class:S({"text-green-500":n.type==="positive","text-red-500":n.type==="negative","text-yellow-500":n.type==="neutral"})},c(n.score),3)]),e("p",He,c(n.content),1)]))),128))])]),e("div",Le,[s[15]||(s[15]=e("h2",{class:"text-xl font-bold mb-6"},"3. 回答记录",-1)),e("div",Ge,[(p(!0),_(w,null,I(t.value.interviewRecord,(n,g)=>(p(),_("div",{key:g,class:"bg-gray-50 rounded-lg p-4"},[e("div",Ue,[e("div",$e,[e("div",Pe,"第"+c(g+1)+"题",1),e("div",We,[e("h3",Ze,c(n.question),1)])]),n.question_form===0?(p(),_("div",qe,[e("div",ze,[e("div",Fe,[e("div",Ye,[e("div",Oe,[s[10]||(s[10]=e("div",{class:"bg-green-100 text-green-800 px-2 py-1 rounded text-sm"},"候选人",-1)),e("div",Qe,[e("p",Je,c(n.answer),1)])])]),e("div",null,[e("div",Ke,[s[11]||(s[11]=e("div",{class:"bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-sm"},"AI评分",-1)),e("div",Xe,[e("p",es,c(n.analysis),1),e("div",ss,"得分:"+c(n.score),1)])])])])]),e("div",ts,[e("div",is,[e("video",{class:"w-full h-full object-cover rounded-lg",controls:"",src:n.videoUrl,preload:"metadata",poster:k.value,onLoadeddata:z,onError:F}," 您的浏览器不支持视频播放。 ",40,as)])])])):n.question_form===1||n.question_form===2?(p(),_("div",os,[e("div",ns,[e("div",ls,[e("div",rs,[s[12]||(s[12]=e("div",{class:"bg-green-100 text-green-800 px-2 py-1 rounded text-sm"},"候选人",-1)),e("p",ds,c(n.answer),1)]),e("div",null,[e("span",{class:S(["px-3 py-1 rounded-full text-sm",n.is_correct===!0||n.is_correct==="true"?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},c(n.is_correct===!0||n.is_correct==="true"?"正确":"错误"),3)])]),n.options&&n.options.length>0?(p(),_("div",cs,[s[13]||(s[13]=e("div",{class:"text-sm text-gray-500 mb-1"},"所有选项:",-1)),(p(!0),_(w,null,I(n.options,(M,N)=>(p(),_("div",{key:N,class:S(["p-2 rounded border",n.answer.includes(M.option_text)?"border-blue-300 bg-blue-50":"border-gray-200"])},[e("div",us,[e("div",_s,c(String.fromCharCode(65+N))+".",1),e("div",ps,[e("div",vs,c(M.option_text),1),M.is_correct?(p(),_("div",gs,"✓ 正确答案")):j("",!0)])])],2))),128))])):j("",!0)])])):n.question_form===3?(p(),_("div",ms,[e("div",fs,[e("div",hs,[e("div",ys,[s[14]||(s[14]=e("div",{class:"bg-green-100 text-green-800 px-2 py-1 rounded text-sm"},"候选人",-1)),e("div",xs,[e("p",bs,c(n.answer),1),e("div",ws,[e("span",{class:S(["px-3 py-1 rounded-full text-sm",n.is_correct===!0||n.is_correct==="true"?"bg-green-100 text-green-800":"bg-red-100 text-red-800"])},c(n.is_correct===!0||n.is_correct==="true"?"正确":"错误"),3)])])])])]),e("div",Is,[e("div",As,[e("img",{src:n.question_image_url,alt:"题目图片",class:"w-full h-full object-cover rounded-lg",onError:V},null,40,ks)])])])):j("",!0)])]))),128))])]),e("div",Ms,[s[27]||(s[27]=e("h2",{class:"text-xl font-bold mb-6"},"4. 其他信息",-1)),e("div",Ns,[e("div",js,[e("div",Rs,[s[16]||(s[16]=e("span",{class:"text-gray-600"},"身份认证:",-1)),e("span",Ds,c(t.value.additionalInfo.idVerification),1)]),e("div",Vs,[s[17]||(s[17]=e("span",{class:"text-gray-600"},"手机号实名认证:",-1)),e("span",Ss,c(t.value.additionalInfo.phoneVerification),1)]),e("div",Cs,[s[18]||(s[18]=e("span",{class:"text-gray-600"},"综合A类评估:",-1)),e("span",Es,c(t.value.additionalInfo.comprehensiveVerification),1)]),e("div",Ts,[s[19]||(s[19]=e("span",{class:"text-gray-600"},"综合B类评估:",-1)),e("span",Bs,c(t.value.additionalInfo.comprehensiveVerification),1)])]),e("div",Hs,[e("div",Ls,[s[20]||(s[20]=e("span",{class:"text-gray-600"},"手部综合检测:",-1)),e("span",Gs,c(t.value.additionalInfo.handVerification),1)]),e("div",Us,[e("div",$s,[s[21]||(s[21]=e("span",{class:"text-gray-600"},"手指灵活度:",-1)),e("span",Ps,c(t.value.additionalInfo.handBrightness),1)]),e("div",Ws,[s[22]||(s[22]=e("span",{class:"text-gray-600"},"手指完整度:",-1)),e("span",Zs,c(t.value.additionalInfo.handIntegrity),1)]),e("div",qs,[s[23]||(s[23]=e("span",{class:"text-gray-600"},"手部姿态纹身:",-1)),e("span",zs,c(t.value.additionalInfo.handPoseRecognition),1)])]),e("div",Fs,[e("div",null,[s[24]||(s[24]=e("div",{class:"mb-2"},[e("h4",{class:"text-sm font-medium"},"左手识别结果"),e("div",{class:"space-y-1"},[e("div",{class:"flex items-center space-x-2"},[e("span",null,"手指灵活度"),e("span",{class:"text-green-500"},"✓")]),e("div",{class:"flex items-center space-x-2"},[e("span",null,"手指完整度"),e("span",{class:"text-green-500"},"✓")]),e("div",{class:"flex items-center space-x-2"},[e("span",null,"手部姿态纹身"),e("span",{class:"text-green-500"},"✓")])])],-1)),e("div",Ys,[(p(!0),_(w,null,I(t.value.additionalInfo.leftHandGestures.images,(n,g)=>(p(),_("div",{key:g,class:"aspect-square rounded-lg overflow-hidden bg-gray-100"},[e("img",{src:n,alt:"左手手势",class:"w-full h-full object-cover",onError:V},null,40,Os)]))),128))])]),e("div",null,[s[25]||(s[25]=e("div",{class:"mb-2"},[e("h4",{class:"text-sm font-medium"},"右手识别结果"),e("div",{class:"space-y-1"},[e("div",{class:"flex items-center space-x-2"},[e("span",null,"手指灵活度"),e("span",{class:"text-green-500"},"✓")]),e("div",{class:"flex items-center space-x-2"},[e("span",null,"手指完整度"),e("span",{class:"text-green-500"},"✓")]),e("div",{class:"flex items-center space-x-2"},[e("span",null,"手部姿态纹身"),e("span",{class:"text-green-500"},"✓")])])],-1)),e("div",Qs,[(p(!0),_(w,null,I(t.value.additionalInfo.rightHandGestures.images,(n,g)=>(p(),_("div",{key:g,class:"aspect-square rounded-lg overflow-hidden bg-gray-100"},[e("img",{src:n,alt:"右手手势",class:"w-full h-full object-cover",onError:V},null,40,Js)]))),128))])])])]),e("div",null,[s[26]||(s[26]=e("h3",{class:"font-semibold mb-4"},"换人检测: 通过",-1)),e("div",Ks,[(p(!0),_(w,null,I(t.value.additionalInfo.faceVerification.images,(n,g)=>(p(),_("div",{key:g,class:"aspect-square rounded-lg overflow-hidden bg-gray-100"},[e("img",{src:n,alt:"人脸验证",class:"w-full h-full object-cover",onError:V},null,40,Xs)]))),128))])])])])]))]}),_:1},8,["spinning"]),e("div",et,[f(u,{type:"primary",style:{"margin-left":"12px"},circle:"",onClick:W},{default:b(()=>[f(v,null,{default:b(()=>[f(E(K))]),_:1})]),_:1}),f(u,{type:"primary",circle:"",onClick:Z},{default:b(()=>[f(v,null,{default:b(()=>[f(E(X))]),_:1})]),_:1}),f(u,{type:"primary",circle:"",onClick:q},{default:b(()=>[f(v,null,{default:b(()=>[f(E(ee))]),_:1})]),_:1}),f(u,{type:"primary",circle:"",onClick:P},{default:b(()=>[f(v,null,{default:b(()=>[f(E(se))]),_:1})]),_:1})])])])}}}),nt=te(st,[["__scopeId","data-v-c1ac1fc0"]]);export{nt as default};