1 |
- import{_ as Y}from"./_plugin-vue_export-helper.DlAUqK2U.js";import{aj as L,c as o,o as r,b as s,P as w,Q as l,M as D,R as y,a9 as k,G as f,F as z,S as R,aI as S,J as M,K as j}from"./vue.D1BjjNmv.js";const F="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAMCAYAAACNzvbFAAAAAXNSR0IArs4c6QAAA0NJREFUOE91019sU2UYx/Hv6Tk9W7v+SWm3MecamcAGyzoGjGRcCIaEZKgwnUFvEFwMGWGZhpjFGzEhJGiCCQQNF0aN8wIjMUQNGSbEiToYTqsDGjpwLnTtxkZX2q3t6ek5PUd7jPGK3+Xzvvkk7/M8r2BagbmFLO+fjfD1cJxYPE+59kSwij1dj9N3oInGoIdcXuPC8D0++vwu4YkUhYKJ2y3R2RHg0Ktr2LUjiGSzIRiGYY5cnaX39TGqq+2s8MoohRKlEni9EnP3C4DAm4fX881wgp+vL9Ae8rKU0RAEAUUt4fNJjIczvPBMPWdOdCLcvvvQ3NFzmfY2D7ejWRyVIj3PNmBgcuHiDOX0PFfPxM0MU/eyuJwS8bkC27ZW09LsZfSXJOPhFB0bvfzxz519exsRet/40bwZTTMTL/Di7gaODbbj81ZYWHpJ5eTZW8w/ULg2nqQ6UIGimHz4XgebWgPWC4qawe+RJCfP3MLlFMkXDIS60BfmpjYf0TtZfvq2i1qfBIaGYJNAtKNqJQaPhbk6Pk8urzPwWjN9+5st8FERxLohc8+ux0gt6nz16XY8yjTmlc8wVz6JffPz5AQXh98aJzKZwmazcfp4B52bax8Jlg+EYPt5M9TiITK5zOXzOwn6VMyP+7BNjmJsP8BM6CAH37lDOqMiyxIfnNhCS5OPClm0YBPQNIPMUhGbDQwDhCNHx8yR0XkyyxodG/y8faSNGnuaynP9VCYmuFH/EscntjK7LFNb7WBljYPuriAbQwFku428onPl2n2GvpzC75PRdRCmZzJm9/4fcLtEHqY1nA47q1dV0VqTprdwGu/SFNdrX+ZUtJN1bfXciKT5868ca1e7WeGrIJ7IE0vkCDY4mZrOMdi/HqG8+mPheY6+O2FNOeCXSaZUXFUS3Ruy7Fs+hVuZY3HbAEOxLZy7uIjfL1NQdfJ5A49LQi8ZqEV4ZW8j/b3r/kXLvYklslz6PsHYbws8WFStH7Uq6ODQ03nWRj/BFCWWnhrg12Qd343MMh3LohYNnJUiTWs87N7ZQHurH9ku/o+WYcM0yeY0FKVkoU6niLMCxGIO9CJUVoFchVoskc3paLph9dXtslvYf/kbJpJvaPuWCZUAAAAASUVORK5CYII=",H="/assets/notPass.DHv04sgr.png",Q="/assets/pass.CYM6o_Op.jpg",U={name:"JobApplicationReport",data(){return{userInfo:{avatar:"/@/assets/default-avatar.png",name:"张某三",interviewTime:"2021-06-30 18:00",duration:"18分 12秒",idNumber:"24893119999999999",phone:"14893725981",pass:60},totalScore:52,abilityItems:[],isPassed:!1,hireRecommendation:"",failReason:"候选人答题过程中存在非正常表现和应答,同时,可行性较为不足,候选人表现出来的综合能力也不符合岗位要求的行为和动机表现,在特定学习方面,候选人未能呈现出明显的优势和发展潜质。",qualityDetails:{strengths:[],weaknesses:[]},activeTab:"comprehensive",tabs:[{id:"comprehensive",name:"综合评价"},{id:"ability",name:"能力素质"},{id:"cheat",name:"作弊检测"},{id:"psychology",name:"心理检测"},{id:"body",name:"肢体检测"},{id:"answers",name:"答题记录",isLink:!0}],isNavFixed:!1,navHeight:0,navOffsetTop:0,loading:!1,error:null,analysisMap:{clear_expression:"表达清晰",logical_thinking:"逻辑思维能力强",professional_knowledge:"专业知识扎实",communication_skills:"沟通能力出色",problem_solving:"问题解决能力强",team_collaboration:"团队协作意识好",learning_ability:"学习能力强",lack_experience:"经验不足",weak_professional:"专业知识有待提升",poor_expression:"表达能力需要提高",weak_logic:"逻辑思维需要加强",weak_communication:"沟通技巧需要改进",weak_teamwork:"团队协作意识不足",weak_learning:"学习能力有待提升"},psychologyData:{score:35,description:"轻微焦虑或负面情绪,仍具备岗位适应力。候选人在某些方面可能存在轻微的心理压力,但总体上仍保持稳定,基本符合岗位要求。",recommendation:"可考虑录取"},redLineQuestions:{allCorrect:!1,failedQuestions:[]},handVerificationData:{left:[],right:[]},reportTime:"2025.5.19",reportId:"2489372598",isMobile:!1}},async created(){await this.fetchApplicationDetail()},mounted(){this.$nextTick(()=>{const a=this.$refs.navTabs;a&&(this.navHeight=a.offsetHeight,this.navOffsetTop=a.offsetTop,window.addEventListener("scroll",this.handleScroll))}),this.checkDevice(),window.addEventListener("resize",this.checkDevice)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.checkDevice)},methods:{async fetchApplicationDetail(){var a,e,p,_,t,d,P,I,i,v,h,u,b,x;try{const A=this.$route.query.id||this.$route.params.id;console.log(A),this.loading=!0;const N=await fetch(`https://backend.qicai321.com/api/job/application_detail?tenant_id=1&application_id=${A}`);if(!N.ok)throw new Error("获取数据失败");const T=await N.json();if(T.code===2e3){const c=T.data||{};if(this.userInfo={avatar:((a=c.posture_photos[0])==null?void 0:a.photo_url)||"/@/assets/default-avatar.png",name:((e=c.applicant)==null?void 0:e.name)||"未知",interviewTime:((p=c.application)==null?void 0:p.interview_completion_time)||"-",duration:((_=c.application)==null?void 0:_.interview_duration_formatted)||"-",idNumber:((t=c.applicant)==null?void 0:t.id_card)||"-",phone:((d=c.applicant)==null?void 0:d.phone)||"-",pass:((P=c.application)==null?void 0:P.comprehensive_score)||0},this.reportId=((I=c.application)==null?void 0:I.report_id)||"",c.posture_photos&&Array.isArray(c.posture_photos)){const E=c.posture_photos.filter(n=>{var m,g;return((m=n==null?void 0:n.description)==null?void 0:m.includes("left_"))||((g=n==null?void 0:n.description)==null?void 0:g.includes("左手"))})||[],C=c.posture_photos.filter(n=>{var m,g;return((m=n==null?void 0:n.description)==null?void 0:m.includes("right_"))||((g=n==null?void 0:n.description)==null?void 0:g.includes("右手"))})||[];this.handVerificationData.left=E.map(n=>{var m,g;return{url:(n==null?void 0:n.photo_url)||"/@/assets/default-image.png",description:this.getPhotoDescription((n==null?void 0:n.description)||""),part_verification:{is_correct_part:((m=n==null?void 0:n.part_verification)==null?void 0:m.is_correct_part)??!0,explanation:((g=n==null?void 0:n.part_verification)==null?void 0:g.explanation)||"手势验证通过"}}}),this.handVerificationData.right=C.map(n=>{var m,g;return{url:(n==null?void 0:n.photo_url)||"/@/assets/default-image.png",description:this.getPhotoDescription((n==null?void 0:n.description)||""),part_verification:{is_correct_part:((m=n==null?void 0:n.part_verification)==null?void 0:m.is_correct_part)??!0,explanation:((g=n==null?void 0:n.part_verification)==null?void 0:g.explanation)||"手势验证通过"}}})}if(c.application&&(this.totalScore=c.application.comprehensive_score||0,this.hireRecommendation=c.application.hire_recommendation||"",this.failReason=c.application.hire_reason||""),(h=(v=(i=c.application)==null?void 0:i.comprehensive_analysis)==null?void 0:v.video_analysis_data)!=null&&h.competency_scores){const E=c.application.comprehensive_analysis.video_analysis_data.competency_scores;this.abilityItems=Object.values(E).map(C=>({tag_name:C.tag_name||"",weighted_score:Math.round(C.weighted_score||0)}))}(b=(u=c.application)==null?void 0:u.comprehensive_analysis)!=null&&b.video_analysis_data&&(this.qualityDetails={strengths:c.application.comprehensive_analysis.video_analysis_data.strengths||[],weaknesses:c.application.comprehensive_analysis.video_analysis_data.weaknesses||[]}),c.required_questions_summary&&(this.redLineQuestions={allCorrect:c.required_questions_summary.all_correct||!1,failedQuestions:c.required_questions_summary.failed_questions_details||[]});const q=(x=c.scoring_summary)==null?void 0:x.total_score_obtained;this.psychologyData={score:q,description:this.getPsychologyDescription(q),recommendation:this.getHireRecommendation(q)}}}catch(A){console.error("获取应用详情失败:",A),this.error=A.message}finally{this.loading=!1}},format(a){return`${a}分`},scrollToSection(a){if(a==="answers"){const p=this.$route.query.id||this.$route.params.id,_=window.location.origin;window.open(`${_}/#/topic?applicationId=${p}`,"_blank");return}this.activeTab=a;const e=this.$refs[a];e&&e.scrollIntoView({behavior:"smooth"})},handleScroll(){const a=window.pageYOffset||document.documentElement.scrollTop;this.isNavFixed=a>this.navOffsetTop,this.updateActiveTab(a)},updateActiveTab(a){const e=this.navHeight,p=this.tabs.map(_=>{const t=this.$refs[_.id];return{id:_.id,top:t.getBoundingClientRect().top+window.pageYOffset-e-20}});for(let _=p.length-1;_>=0;_--)if(a>=p[_].top){this.activeTab=p[_].id;break}},getChineseAnalysis(a){return this.analysisMap[a]||a},getPsychologyDescription(a){return a===void 0?"未进行心理测评或数据缺失":a<=20?"心理状态健康,情绪稳定、认知正常。候选人在心理测评中表现出稳定的情绪状态和健康的心理特质,适合岗位要求。":a<=35?"轻微焦虑或负面情绪,仍具备岗位适应力。候选人在某些方面可能存在轻微的心理压力,但总体上仍保持稳定,基本符合岗位要求。":a<=55?"存在一定情绪波动或压力反应。候选人在测评中表现出一定程度的心理压力或情绪波动,建议进一步面谈评估。":a<=70?"心理压力较大,可能影响工作稳定性。候选人在测评中表现出较明显的心理压力或情绪不稳定性,建议慎重录用或考虑调岗。":"可能存在较严重心理或精神问题。候选人在测评中表现出明显的心理或情绪问题,不建议录用。"},getHireRecommendation(a){return a===void 0?"无法给出建议":a<=20?"建议优先录取":a<=35?"可考虑录取":a<=55?"建议进一步面谈评估":a<=70?"慎重录用或建议调岗":"不建议录用"},getPhotoDescription(a){return{left_palm:"左手手心",left_back:"左手手背",left_fist:"左手腕拳",right_palm:"右手手心",right_back:"右手手背",right_fist:"右手腕拳",左手手心:"左手手心",左手手背:"左手手背",左手腕拳:"左手腕拳",右手手心:"右手手心",右手手背:"右手手背",右手腕拳:"右手腕拳"}[a]||a},getHandPhotos(a){return(this.handVerificationData[a]||[]).map(p=>({url:p.url,status:"normal",photo_id:1,detections:[],description:p.description,photo_index:1,analysis_model:"",part_verification:p.part_verification,analysis_timestamp:"",overall_assessment:"正常"}))},handleImageError(a){const e=a.target;e&&(e.src="/@/assets/default-image.png")},checkDevice(){this.isMobile=window.innerWidth<=768}}},G={class:"report-header"},J={class:"header-right"},O={class:"report-id"},V={key:0,class:"loading-state"},W={key:1,class:"error-state"},X={key:2,class:"report-container"},Z={class:"header"},B={class:"header-left"},K=["src"],$={class:"header-right"},ss={class:"left-section"},es={class:"info-row"},is={class:"value"},ts={class:"info-row"},as={class:"value"},ns={class:"info-row"},rs={class:"value"},os={class:"right-section"},ls={class:"info-row"},cs={class:"value"},ds={class:"info-row"},vs={class:"value"},ps={class:"stamp"},_s={key:0,src:H,alt:"不通过印章"},us={key:1,src:Q,alt:"通过印章"},fs=["onClick"],ms={key:0,class:"el-icon-link"},gs={ref:"comprehensive",class:"evaluation-result"},ys={class:"score-section"},hs={class:"score-section-left"},bs={class:"score-value"},ws={class:"number"},ks={key:0,class:"status-tag"},xs={key:1,class:"status-tag"},Is={class:"detection-results"},As={class:"detection-item"},Ds={class:"detection-item"},Ps={class:"fail-reason"},Cs={class:"reason-header"},qs={class:"reason-content"},Es={class:"reason-content redline-section"},Ns={class:"redline-header"},Ts={key:0,class:"failed-questions"},Ls={class:"failed-list"},Ms={class:"question-text"},js={ref:"ability",class:"ability-quality"},Ys={style:{"font-size":"14px","font-weight":"normal"}},zs={class:"score-text"},Rs={class:"quality-details"},Ss={class:"quality-item"},Fs={class:"quality-left"},Hs={class:"content"},Qs={class:"quality-right"},Us={class:"content"},Gs={class:"detailed-evaluation"},Js={class:"ability-scores"},Os={class:"ability-name"},Vs={class:"progress-bar"},Ws={ref:"cheat",class:"detection-section"},Xs={ref:"psychology",class:"psychology-section"},Zs={class:"duv-score"},Bs={class:"score"},Ks={class:"psychology-desc"},$s={class:"psychology-recommendation"},se={class:"value"},ee={ref:"body",class:"body-detection-section"},ie={class:"hand-verification mt-6"},te={class:"grid grid-cols-2 gap-8"},ae={class:"grid grid-cols-3 gap-2"},ne={class:"w-full h-full"},re=["src","alt"],oe=["src","alt"],le={class:"grid grid-cols-3 gap-2"},ce={class:"w-full h-full"},de=["src","alt"],ve=["src","alt"];function pe(a,e,p,_,t,d){const P=L("el-progress"),I=L("el-tooltip");return r(),o("div",{class:f(["outer-container",{mobile:t.isMobile}])},[s("div",G,[e[4]||(e[4]=s("div",{class:"header-left"},[s("img",{src:F,class:"cc-icon",alt:"cc icon"}),w(" AI面试结果检验报告 ")],-1)),s("div",J,[s("div",null,"报告生成时间:"+l(t.reportTime),1),s("div",O,"报告ID:"+l(t.reportId),1)])]),t.loading?(r(),o("div",V," 加载中... ")):t.error?(r(),o("div",W,l(t.error),1)):(r(),o("div",X,[s("div",Z,[s("div",B,[s("img",{class:"avatar",src:t.userInfo.avatar,alt:"用户头像"},null,8,K)]),s("div",$,[s("div",ss,[s("div",es,[e[5]||(e[5]=s("span",{class:"label"},"姓名:",-1)),s("span",is,l(t.userInfo.name),1)]),s("div",ts,[e[6]||(e[6]=s("span",{class:"label"},"面试时间:",-1)),s("span",as,l(t.userInfo.interviewTime),1)]),s("div",ns,[e[7]||(e[7]=s("span",{class:"label"},"面试时长:",-1)),s("span",rs,l(t.userInfo.duration),1)])]),s("div",os,[e[10]||(e[10]=s("div",{class:"info-row"},[s("span",{class:"label"},"实名认证:"),s("span",{class:"value verified"},"已核验")],-1)),s("div",ls,[e[8]||(e[8]=s("span",{class:"label"},"身份证号:",-1)),s("span",cs,l(t.userInfo.idNumber),1)]),s("div",ds,[e[9]||(e[9]=s("span",{class:"label"},"手机号码:",-1)),s("span",vs,l(t.userInfo.phone),1)])]),s("div",ps,[t.userInfo.pass<60?(r(),o("img",_s)):(r(),o("img",us))])])]),s("div",{class:f(["nav-tabs",{fixed:t.isNavFixed}]),ref:"navTabs"},[(r(!0),o(y,null,k(t.tabs,i=>(r(),o("div",{key:i.id,class:f(["tab-item",{active:t.activeTab===i.id,"link-tab":i.isLink}]),onClick:v=>d.scrollToSection(i.id)},[w(l(i.name)+" ",1),i.isLink?(r(),o("i",ms)):D("",!0)],10,fs))),128))],2),t.isNavFixed?(r(),o("div",{key:0,class:"nav-placeholder",style:z({height:t.navHeight+"px"})},null,4)):D("",!0),s("div",gs,[s("div",ys,[s("div",hs,[e[17]||(e[17]=s("div",{class:"score-title"},"综合评价",-1)),s("div",bs,[s("span",ws,l(t.userInfo.pass),1),e[11]||(e[11]=s("span",{class:"unit"},"分",-1)),t.userInfo.pass<60?(r(),o("span",ks,"不通过")):(r(),o("span",xs,"通过"))]),s("div",Is,[s("span",As,[e[12]||(e[12]=w(" 身份认证 ")),s("span",{class:f(t.userInfo.idNumber?"status-normal":"status-warning")},l(t.userInfo.idNumber?"无异常":"有异常"),3)]),e[14]||(e[14]=s("span",{class:"separator"},"/",-1)),s("span",Ds,[e[13]||(e[13]=w(" 手机号实名认证 ")),s("span",{class:f(t.userInfo.phone?"status-normal":"status-warning")},l(t.userInfo.phone?"无异常":"有异常"),3)]),e[15]||(e[15]=s("span",{class:"separator"},"/",-1)),e[16]||(e[16]=s("span",{class:"detection-item"},[w(" 手部综合检测 "),s("span",{class:"status-normal"},"无异常")],-1))])]),s("div",Ps,[s("div",Cs,[s("span",null,"录用建议:"+l(t.hireRecommendation),1)]),s("div",qs,l(t.failReason),1)]),s("div",Es,[s("div",Ns,[e[18]||(e[18]=s("span",{class:"redline-title"},"红线题检测结果",-1)),s("span",{class:f({"status-normal":t.redLineQuestions.allCorrect,"status-warning":!t.redLineQuestions.allCorrect})},l(t.redLineQuestions.allCorrect?"全部正确":"存在错误,建议不录用"),3)]),!t.redLineQuestions.allCorrect&&t.redLineQuestions.failedQuestions.length>0?(r(),o("div",Ts,[e[20]||(e[20]=s("div",{class:"failed-title"},"未通过的红线题:",-1)),s("div",Ls,[(r(!0),o(y,null,k(t.redLineQuestions.failedQuestions,(i,v)=>(r(),o("div",{key:"failed-"+v,class:"failed-item"},[e[19]||(e[19]=s("span",{class:"bullet"},"•",-1)),s("span",Ms,l(i.question_text||`问题 ${v+1}`),1)]))),128))])])):D("",!0)])])],512),s("div",js,[s("h3",null,[e[23]||(e[23]=w("能力素质 ")),s("span",Ys,[e[21]||(e[21]=w("综合得分")),s("span",zs,l(t.totalScore),1),e[22]||(e[22]=w("/100 分"))])]),s("div",Rs,[s("div",Ss,[s("div",Fs,[e[24]||(e[24]=s("div",{class:"icon-box"},[s("div",{class:"icon advantage-icon"}),s("h5",null,"优势展现")],-1)),s("div",Hs,[(r(!0),o(y,null,k(t.qualityDetails.strengths,(i,v)=>(r(),o("p",{key:v},l(d.getChineseAnalysis(i)),1))),128))])]),s("div",Qs,[e[25]||(e[25]=s("div",{class:"icon-box"},[s("div",{class:"icon suggestion-icon"}),s("h5",null,"发展建议")],-1)),s("div",Us,[(r(!0),o(y,null,k(t.qualityDetails.weaknesses,(i,v)=>(r(),o("p",{key:v},l(d.getChineseAnalysis(i)),1))),128))])])])])],512),s("div",null,[s("div",Gs,[s("div",Js,[(r(!0),o(y,null,k(t.abilityItems,(i,v)=>(r(),o("div",{key:v,class:"ability-item"},[s("span",Os,l(i.tag_name),1),s("div",Vs,[R(P,{percentage:i.weighted_score,format:d.format,"stroke-width":8},null,8,["percentage","format"])])]))),128))])])]),s("div",Ws,e[26]||(e[26]=[S('<div class="detection-section-header" data-v-7a3d888a><div class="section-title" data-v-7a3d888a>作弊检测</div><div class="status-tag normal" data-v-7a3d888a>无异常</div></div><div class="detection-section-content" data-v-7a3d888a><div class="detection-items" data-v-7a3d888a><div class="item" data-v-7a3d888a><span class="status normal" data-v-7a3d888a>无风险</span><span class="separator" data-v-7a3d888a>/</span><span class="desc" data-v-7a3d888a>转移、替考:检测无异常</span></div><div class="item" data-v-7a3d888a><span class="status normal" data-v-7a3d888a>无风险</span><span class="separator" data-v-7a3d888a>/</span><span class="desc" data-v-7a3d888a>读稿:检测无异常</span></div><div class="item" data-v-7a3d888a><span class="status normal" data-v-7a3d888a>无风险</span><span class="separator" data-v-7a3d888a>/</span><span class="desc" data-v-7a3d888a>录屏/切屏:检测无异常</span></div></div><div class="risk-standards" data-v-7a3d888a><div class="standards-title" data-v-7a3d888a>风险等级标准</div><div class="standards-content" data-v-7a3d888a><div class="standard-item" data-v-7a3d888a><span class="level" data-v-7a3d888a>无异常:</span><span class="desc" data-v-7a3d888a>候选人提供的信息真实/无切屏录屏行为/无互联网查询行为/无互联网传行为</span></div><div class="standard-item" data-v-7a3d888a><span class="level" data-v-7a3d888a>低风险:</span><span class="desc" data-v-7a3d888a>候选人提供信息真实/可切屏录屏行为/可互联网查询行为/无互联网传行为</span></div><div class="standard-item" data-v-7a3d888a><span class="level" data-v-7a3d888a>高风险:</span><span class="desc" data-v-7a3d888a>面试者与候选人为一不同人/可切屏录屏行为/可互联网查询行为/过程存在传输行为</span></div></div></div></div>',2)]),512),s("div",Xs,[e[30]||(e[30]=s("div",{class:"section-title"},"心理检测",-1)),s("div",Zs,[e[27]||(e[27]=s("span",null,"DUV 心理测评得分",-1)),s("span",Bs,l(t.psychologyData.score),1),e[28]||(e[28]=s("span",null,"分",-1))]),s("div",Ks,l(t.psychologyData.description),1),s("div",$s,[e[29]||(e[29]=s("span",{class:"label"},"录用建议:",-1)),s("span",se,l(t.psychologyData.recommendation),1)])],512),s("div",ee,[e[33]||(e[33]=s("div",{class:"detection-section-header"},[s("div",{class:"section-title"},"肢体检测")],-1)),s("div",ie,[s("div",te,[s("div",null,[e[31]||(e[31]=s("h4",{class:"text-gray-600 mb-2"},"左手手势验证",-1)),s("div",ae,[(r(!0),o(y,null,k(d.getHandPhotos("left"),(i,v)=>{var h;return r(),o("div",{key:v,class:f(["relative aspect-square rounded-lg overflow-hidden bg-gray-100",{"border-2":i.part_verification,"border-green-500":(h=i.part_verification)==null?void 0:h.is_correct_part,"border-red-500":i.part_verification&&!i.part_verification.is_correct_part}])},[i.part_verification&&!i.part_verification.is_correct_part?(r(),M(I,{key:0,content:i.part_verification.explanation||"未提供失败原因",placement:"top",effect:"dark","show-after":200},{default:j(()=>{var u,b;return[s("div",ne,[s("img",{src:i.url,alt:i.description,class:"w-full h-full object-cover",onError:e[0]||(e[0]=(...x)=>d.handleImageError&&d.handleImageError(...x))},null,40,re),s("div",{class:f(["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":(u=i.part_verification)==null?void 0:u.is_correct_part,"bg-red-500 bg-opacity-90":i.part_verification&&!i.part_verification.is_correct_part}])},l((b=i.part_verification)!=null&&b.is_correct_part?"通过":"未通过"),3)])]}),_:2},1032,["content"])):(r(),o(y,{key:1},[s("img",{src:i.url,alt:i.description,class:"w-full h-full object-cover",onError:e[1]||(e[1]=(...u)=>d.handleImageError&&d.handleImageError(...u))},null,40,oe),i.part_verification?(r(),o("div",{key:0,class:f(["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":i.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!i.part_verification.is_correct_part}])},l(i.part_verification.is_correct_part?"通过":"未通过"),3)):D("",!0)],64))],2)}),128))])]),s("div",null,[e[32]||(e[32]=s("h4",{class:"text-gray-600 mb-2"},"右手手势验证",-1)),s("div",le,[(r(!0),o(y,null,k(d.getHandPhotos("right"),(i,v)=>{var h;return r(),o("div",{key:v,class:f(["relative aspect-square rounded-lg overflow-hidden bg-gray-100",{"border-2":i.part_verification,"border-green-500":(h=i.part_verification)==null?void 0:h.is_correct_part,"border-red-500":i.part_verification&&!i.part_verification.is_correct_part}])},[i.part_verification&&!i.part_verification.is_correct_part?(r(),M(I,{key:0,content:i.part_verification.explanation||"未提供失败原因",placement:"top",effect:"dark","show-after":200},{default:j(()=>{var u,b;return[s("div",ce,[s("img",{src:i.url,alt:i.description,class:"w-full h-full object-cover",onError:e[2]||(e[2]=(...x)=>d.handleImageError&&d.handleImageError(...x))},null,40,de),s("div",{class:f(["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":(u=i.part_verification)==null?void 0:u.is_correct_part,"bg-red-500 bg-opacity-90":i.part_verification&&!i.part_verification.is_correct_part}])},l((b=i.part_verification)!=null&&b.is_correct_part?"通过":"未通过"),3)])]}),_:2},1032,["content"])):(r(),o(y,{key:1},[s("img",{src:i.url,alt:i.description,class:"w-full h-full object-cover",onError:e[3]||(e[3]=(...u)=>d.handleImageError&&d.handleImageError(...u))},null,40,ve),i.part_verification?(r(),o("div",{key:0,class:f(["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":i.part_verification.is_correct_part,"bg-red-500 bg-opacity-90":!i.part_verification.is_correct_part}])},l(i.part_verification.is_correct_part?"通过":"未通过"),3)):D("",!0)],64))],2)}),128))])])])])],512)]))],2)}const fe=Y(U,[["render",pe],["__scopeId","data-v-7a3d888a"]]);export{fe as default};
|