|
@@ -52,7 +52,7 @@ export const tableColumns: BasicColumn[] = [
|
|
|
},
|
|
|
{
|
|
|
title: '学生来源',
|
|
|
- dataIndex: 'source',
|
|
|
+ dataIndex: 'sourceCn',
|
|
|
align: 'left',
|
|
|
width: 100,
|
|
|
},
|
|
@@ -147,7 +147,7 @@ export const formSchema: FormSchema[] = [
|
|
|
},
|
|
|
{
|
|
|
label: '家长联系电话',
|
|
|
- field: 'gradeId',
|
|
|
+ field: 'familyMobile',
|
|
|
required: true,
|
|
|
colProps: { span: 8 },
|
|
|
component: 'Input',
|
|
@@ -171,11 +171,16 @@ export const formSchema: FormSchema[] = [
|
|
|
field: 'source',
|
|
|
required: true,
|
|
|
colProps: { span: 8 },
|
|
|
- component: 'Input',
|
|
|
+ component: 'ApiSelect',
|
|
|
+ componentProps: {
|
|
|
+ getPopupContainer: () => document.body,
|
|
|
+ api: getDataOption,
|
|
|
+ params: { code: 'student_type' },
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: '家庭地址',
|
|
|
- field: 'gradeId',
|
|
|
+ field: 'familyAddress',
|
|
|
colProps: { span: 16 },
|
|
|
component: 'Input',
|
|
|
},
|