面试功能开发
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
francis-fh
2026-06-25 13:32:03 +08:00
parent 5ecce431db
commit ed37133c69
9 changed files with 246 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import React, { Fragment, useEffect, useRef, useState } from 'react';
import { FormattedMessage, useAccess, useParams } from '@umijs/max';
import { Button, FormInstance, message } from 'antd';
import { Button, FormInstance, message, Tag } from 'antd';
import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components';
import { FormOutlined, PlusOutlined,AlignLeftOutlined } from '@ant-design/icons';
import { getDictValueEnum } from '@/services/system/dict';
@@ -167,6 +167,25 @@ function ManagementList() {
<>{similarityJobs.calculationMatchingDegreeJob(record).overallMatch}</>
),
},
{
title: '面试状态',
dataIndex: 'interviewStatus',
valueType: 'text',
hideInSearch: true,
align: 'center',
width: 100,
render: (_, record) => {
const statusMap: Record<string, { text: string; color: string }> = {
pending: { text: '待确认', color: 'blue' },
accepted: { text: '已接受', color: 'green' },
rejected: { text: '已拒绝', color: 'red' },
completed: { text: '已完成', color: 'purple' },
};
const st = statusMap[record.interviewStatus || ''];
if (!st) return <Tag color="default"></Tag>;
return <Tag color={st.color}>{st.text}</Tag>;
},
},
{
title: '操作',
hideInSearch: true,