zhengpengju 3 years ago
commit 7694c0d153

@ -213,7 +213,7 @@ const RegistrationList: React.FC = () => {
{ {
title: '考试时间', title: '考试时间',
dataIndex: 'examination_time', dataIndex: 'examination_time',
valueType: 'dateRange', valueType: 'dateTimeRange',
sorter: true, sorter: true,
hideInTable: false, hideInTable: false,
hideInForm: true, hideInForm: true,
@ -265,7 +265,7 @@ const RegistrationList: React.FC = () => {
examination_id: params.id, examination_id: params.id,
...examination_time ...examination_time
} }
delete value.examination_time
// setExportData(value) // setExportData(value)
const _data = await getExaminationPersonApplyList(value); const _data = await getExaminationPersonApplyList(value);

@ -29,6 +29,23 @@ export async function listMyLearningSubject(params: {
params, params,
}); });
} }
/**
* 3.2.1
* /dsideal_yy/ypt/careerTraining/subject/getSubjectInfo
* @param params
* @returns
*/
export async function getSubjectInfo(params: {
page_size: number;
//count: number;
}): Promise<{ data: { list: CardListItemDataType[] } }> {
return request('/dsideal_yy/ypt/careerTraining/subject/getSubjectInfo', {
params,
});
}
/** /**
* 6.5 * 6.5
* /dsideal_yy/ypt/careerTraining/learning/listMyLearningSubject * /dsideal_yy/ypt/careerTraining/learning/listMyLearningSubject

@ -79,7 +79,7 @@ const Login: React.FC = () => {
}} }}
actions={[]} actions={[]}
onFinish={async (values) => { onFinish={async (values) => {
await handleSubmit({user: values.username, pwd: values.password} as API.LoginParams); await handleSubmit({ user: values.username, pwd: values.password } as API.LoginParams);
}} }}
> >
{status === 'error' && loginType === 'account' && ( {status === 'error' && loginType === 'account' && (

Loading…
Cancel
Save