feat: add college archive fields
Some checks failed
CI 检查 / lint (pull_request) Has been cancelled
CI 检查 / typecheck (pull_request) Has been cancelled
CI 检查 / test (pull_request) Has been cancelled

This commit is contained in:
2026-07-21 15:35:35 +08:00
parent 2626d5f460
commit 37ef6f9dd7
11 changed files with 95 additions and 6 deletions

View File

@@ -14,6 +14,8 @@ export interface StudentImportRow {
organizationId?: number;
targetCollege?: string;
targetMajor?: string;
collegeSchool?: string;
collegeMajor?: string;
subjectDirection?: string;
grade?: string;
profileDate?: string;
@@ -89,6 +91,8 @@ export const STUDENT_IMPORT_COLUMNS: ColumnDef<StudentImportRow>[] = [
{ header: '负责人', key: 'supervisor', width: 15, aliases: ['负责人/班主任'] },
{ header: '目标院校', key: 'targetCollege', width: 18 },
{ header: '目标专业', key: 'targetMajor', width: 22 },
{ header: '大专院校', key: 'collegeSchool', width: 18 },
{ header: '大专专业', key: 'collegeMajor', width: 22 },
{ header: '选科方向', key: 'subjectDirection', width: 14 },
{ header: '年级', key: 'grade', width: 10 },
{ header: '建档日期', key: 'profileDate', width: 14, kind: 'date' },
@@ -302,6 +306,8 @@ export function createStudentImportTemplateWorkbook(): ExcelJS.Workbook {
supervisor: '李老师',
targetCollege: '北京大学',
targetMajor: '计算机科学与技术',
collegeSchool: '北京职业技术学院',
collegeMajor: '软件技术',
subjectDirection: '物化生',
grade: '高三',
profileDate: '2024-09-01',