feat: add college archive fields
This commit is contained in:
@@ -59,6 +59,8 @@ interface StudentInfo {
|
||||
interface ProfileData {
|
||||
targetCollege?: string;
|
||||
targetMajor?: string;
|
||||
collegeSchool?: string;
|
||||
collegeMajor?: string;
|
||||
subjectDirection?: string;
|
||||
grade?: string;
|
||||
profileDate?: string;
|
||||
@@ -481,6 +483,24 @@ const InlineArchiveSummary: React.FC<{
|
||||
{profile?.targetMajor || '-'}
|
||||
</EditableCell>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="大专院校">
|
||||
<EditableCell
|
||||
value={profile?.collegeSchool}
|
||||
permission="student:edit"
|
||||
onSave={(next) => saveProfile('collegeSchool', next)}
|
||||
>
|
||||
{profile?.collegeSchool || '-'}
|
||||
</EditableCell>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="大专专业">
|
||||
<EditableCell
|
||||
value={profile?.collegeMajor}
|
||||
permission="student:edit"
|
||||
onSave={(next) => saveProfile('collegeMajor', next)}
|
||||
>
|
||||
{profile?.collegeMajor || '-'}
|
||||
</EditableCell>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="选科方向">
|
||||
<EditableCell
|
||||
value={profile?.subjectDirection}
|
||||
|
||||
Reference in New Issue
Block a user