peng
2025-11-06 c4938f6f4e839890b032c75c7a57333a6a9157a9
web/src/views/check-detail.vue
@@ -417,7 +417,7 @@
}
// 获取学历文本
const getEducationText = (education: number) => {
const getEducationText = (education: number | string) => {
  const educationMap: Record<number, string> = {
    1: '高中',
    2: '大专',
@@ -425,7 +425,8 @@
    4: '硕士',
    5: '博士'
  }
  return educationMap[education] || '-'
  const numEducation = typeof education === 'string' ? parseInt(education) : education
  return educationMap[numEducation] || '-'
}
// 获取状态文本