|
@@ -221,6 +221,7 @@
|
|
|
<div class="score-section-left">
|
|
|
<div class="score-title">综合评价</div>
|
|
|
<div class="score-value">
|
|
|
+ <span class="unit">综合得分</span>
|
|
|
<span class="number">{{userInfo.pass}}</span>
|
|
|
<span class="unit">分</span>
|
|
|
<p class="status-tag" v-if="userInfo.pass < 60">不通过</p>
|
|
@@ -235,14 +236,14 @@
|
|
|
</span>
|
|
|
<span class="separator">/</span>
|
|
|
<span class="detection-item">
|
|
|
- 手机号实名认证
|
|
|
+ 心理检测
|
|
|
<span :class="userInfo.phone ? 'status-normal' : 'status-warning'">
|
|
|
- {{ userInfo.phone ? '无异常' : '有异常' }}
|
|
|
+ {{ getPsychologyRiskLevel=='低风险' ? '无异常' : '有异常' }}
|
|
|
</span>
|
|
|
</span>
|
|
|
<span class="separator">/</span>
|
|
|
<span class="detection-item">
|
|
|
- 手部综合检测 <span class="status-normal" :style="userInfo.visual_analysis_done ? '':'color:#f56c6c;'"> {{ userInfo.visual_analysis_done ? '无异常' : '有异常' }}</span>
|
|
|
+ 肢体检测 <span class="status-normal" :style="userInfo.visual_analysis_done ? '':'color:#f56c6c;'"> {{ userInfo.visual_analysis_done ? '无异常' : '有异常' }}</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -453,8 +454,9 @@
|
|
|
<div class="detection-section-header">
|
|
|
<div class="section-title">肢体检测</div>
|
|
|
<el-button
|
|
|
- type="primary"
|
|
|
+ type="text"
|
|
|
link
|
|
|
+ style="color:#0619a5;"
|
|
|
@click="showBodyVerification = true"
|
|
|
>
|
|
|
查看肢体核验结果
|
|
@@ -1569,15 +1571,31 @@ export default {
|
|
|
format(percentage) {
|
|
|
return `${percentage}分`
|
|
|
},
|
|
|
- scrollToSection(tabId) {
|
|
|
+ async scrollToSection(tabId) {
|
|
|
// 如果是答题记录标签,则进行路由跳转
|
|
|
if (tabId === 'other-answers') {
|
|
|
// 假设当前路由中有 applicationId 参数
|
|
|
const applicationId = this.$route.query.id || this.$route.params.id
|
|
|
const baseUrl = window.location.origin;
|
|
|
- // 使用window.open在新标签页打开
|
|
|
+ // 过滤出question_form不等于0和5的数据
|
|
|
+ const filteredRecords = this.interviewRecords.filter(record =>
|
|
|
+ record.question_form !== 0 && record.question_form !== 5
|
|
|
+ )
|
|
|
+
|
|
|
+ console.log('过滤后的数据:', filteredRecords)
|
|
|
+
|
|
|
+ // 检查是否有其他类型的题目
|
|
|
+ if (filteredRecords.length === 0) {
|
|
|
+ // 如果没有其他类型的题目,显示提示信息
|
|
|
+ this.$message.warning('暂无其余问题')
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ // 如果有其他类型的题目,继续处理
|
|
|
+ this.interviewRecords = filteredRecords
|
|
|
+ console.log('处理后的数据:', this.interviewRecords)
|
|
|
window.open(`${baseUrl}/#/topic?applicationId=${applicationId}`, '_blank')
|
|
|
- return
|
|
|
+ // 不进行跳转,直接返回
|
|
|
}
|
|
|
|
|
|
// 其他标签的原有滚动逻辑
|
|
@@ -2563,33 +2581,34 @@ export default {
|
|
|
|
|
|
.score-value {
|
|
|
display: flex;
|
|
|
- align-items: baseline;
|
|
|
+ align-items: center;
|
|
|
min-width: fit-content; // 添加此行确保分数部分不会被压缩
|
|
|
-
|
|
|
+ line-height: 20px;
|
|
|
.number {
|
|
|
font-size: 14px;
|
|
|
font-weight: bold;
|
|
|
- color: #F56C6C;
|
|
|
+ color: #fb752f;
|
|
|
}
|
|
|
|
|
|
.unit {
|
|
|
- margin: 0 8px;
|
|
|
+ margin: 0 5px;
|
|
|
font-size: 14px;
|
|
|
- color: #333;
|
|
|
+ color: #6C6C6C;
|
|
|
}
|
|
|
|
|
|
.status-tag {
|
|
|
- //padding: 2px 8px;
|
|
|
+ padding: 0px 8px;
|
|
|
font-size: 12px;
|
|
|
color: #fff;
|
|
|
- background: #F56C6C; // 默认背景色
|
|
|
+ background: #fb752f; // 默认背景色
|
|
|
border-radius: 2px;
|
|
|
+ margin:0;
|
|
|
|
|
|
// 添加打印时的特殊样式
|
|
|
@media print {
|
|
|
background: none !important; // 移除打印时的背景色
|
|
|
- color: #F56C6C !important; // 使用对应的文字颜色
|
|
|
- border: 1px solid #F56C6C; // 添加边框来区分
|
|
|
+ color: #fb752f !important; // 使用对应的文字颜色
|
|
|
+ border: 1px solid #fb752f; // 添加边框来区分
|
|
|
|
|
|
&[style*="background:#67C23A"] {
|
|
|
background: none !important;
|
|
@@ -2607,19 +2626,19 @@ export default {
|
|
|
font-size: 14px;
|
|
|
color: #333;
|
|
|
min-width: fit-content; // 添加此行确保检测结果不会被压缩
|
|
|
-
|
|
|
+ margin-left: 50px;
|
|
|
.detection-item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: 4px;
|
|
|
white-space: nowrap; // 添加此行防止换行
|
|
|
-
|
|
|
+ padding: 0;
|
|
|
.status-normal {
|
|
|
color: #67C23A;
|
|
|
}
|
|
|
|
|
|
.status-warning {
|
|
|
- color: #F56C6C;
|
|
|
+ color: #fb752f;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2651,7 +2670,7 @@ export default {
|
|
|
.reason-content {
|
|
|
margin-top: 16px;
|
|
|
font-size: 14px;
|
|
|
-
|
|
|
+ color:#101010;
|
|
|
.label {
|
|
|
color: #333;
|
|
|
font-weight: 500;
|
|
@@ -3197,7 +3216,6 @@ export default {
|
|
|
}
|
|
|
|
|
|
.redline-section {
|
|
|
- margin-top: 16px;
|
|
|
padding: 16px;
|
|
|
background-color: #FFF6F6;
|
|
|
border-radius: 4px;
|