From da9be7517a832efa399335f389da06fa74353c69 Mon Sep 17 00:00:00 2001 From: sunhonglei Date: Tue, 11 Mar 2025 16:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E5=AE=89=E6=8E=92=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exam-online/compoents/ExamListPage.tsx | 99 ++++++++++--------- .../compoents/ExamStatisticsPage.tsx | 6 +- 2 files changed, 54 insertions(+), 51 deletions(-) diff --git a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx index e461afb..240fed0 100644 --- a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx +++ b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx @@ -162,7 +162,7 @@ const ExamListPage = ({ history }: { history: any }) => { console.log('跳转到编辑页面,examId:', examId); }; - const handleDetail = (examId: number)=>{ + const handleDetail = (examId: number) => { sessionStorage.setItem('examId', String(examId)); history.push('/exam-detail'); console.log('跳转到答题情况,examId:', examId); @@ -355,53 +355,56 @@ const ExamListPage = ({ history }: { history: any }) => { return (
-
- - - setSearchForm({...searchForm, examName: e.target.value}) - } - style={{width: 150, marginRight: 8}} - /> - - - setSearchForm({...searchForm, paperName: e.target.value}) - } - style={{width: 150, marginRight: 8}} - /> - - - - - setSearchForm({...searchForm, validTime: value}) - } - style={{marginRight: 8}} - /> - - +
+
+ + + setSearchForm({ ...searchForm, examName: e.target.value }) + } + style={{ width: 200, marginRight: '30' }} + /> + + + setSearchForm({ ...searchForm, paperName: e.target.value }) + } + style={{ width: 200, marginRight: '30' }} + /> + + + + + setSearchForm({ ...searchForm, validTime: value }) + } + /> +
+
+ + +