diff --git a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx index 240fed0..d09bd4c 100644 --- a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx +++ b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Table, Input, Button, Select, DatePicker, Modal, Checkbox, message } from 'antd'; +import { Table, Input, Button, Select, DatePicker, Modal, Checkbox, message, Form } from 'antd'; import { Link, withRouter } from 'react-router-dom'; import moment, { Moment } from 'moment'; // 引入 moment import { getList, doDelete, doCancel, doPublish, getIndustryList } from "api/exam-online/index"; @@ -354,35 +354,46 @@ const ExamListPage = ({ history }: { history: any }) => { }; return ( -
-
-
- +
+
+ - setSearchForm({ ...searchForm, examName: e.target.value }) + setSearchForm({...searchForm, examName: e.target.value}) } - style={{ width: 200, marginRight: '30' }} + style={{width: 240}} /> - + + - setSearchForm({ ...searchForm, paperName: e.target.value }) + setSearchForm({...searchForm, paperName: e.target.value}) } - style={{ width: 200, marginRight: '30' }} + style={{width: 240}} /> - + + - + + - setSearchForm({ ...searchForm, validTime: value }) + setSearchForm({...searchForm, validTime: value}) } /> -
-
+ + - -
-
-
+ + +
- - -
diff --git a/packages/examination/src/views/exam-online/exam-schedule.tsx b/packages/examination/src/views/exam-online/exam-schedule.tsx index 821783c..dc531da 100644 --- a/packages/examination/src/views/exam-online/exam-schedule.tsx +++ b/packages/examination/src/views/exam-online/exam-schedule.tsx @@ -25,9 +25,7 @@ class ExamSchedule extends Component { render() { return ( -
- -
+ ) } }