Commit 4c678105 by zhujian

'fix'

parent ab61605c
......@@ -87,7 +87,7 @@ function ExaminationManager(props: any) {
{
title: "考试时长",
dataIndex: "examDuration",
render: (text: any) => <span>{(text || 0)/60/1000}分钟</span>,
render: (text: any) => <span>{(text || 0) / 60 / 1000}分钟</span>,
},
{
title: "及格分/总分",
......@@ -287,6 +287,7 @@ function ExaminationManager(props: any) {
onChange={(e) => {
const _query = { ...query }
_query.examName = e.target.value
_query.current = 1;
setQuery(_query);
}}
onSearch={() => { }}
......@@ -299,9 +300,10 @@ function ExaminationManager(props: any) {
const _query = { ...query }
_query.examCreator = examCreator;
_query.current = 1;
setQuery(_query);
}}
roleCodes={["CloudManager",'StoreManager']}
roleCodes={["CloudManager", 'StoreManager']}
></TeacherSelect>
<div className="search-condition__item">
......@@ -316,6 +318,7 @@ function ExaminationManager(props: any) {
const _query = { ...query }
_query.examStartTime = date && date[0]?.startOf('day').valueOf();
_query.examEndTime = date && date[1]?.endOf('day').valueOf();
_query.current = 1;
setQuery(_query);
}} />
......@@ -333,6 +336,7 @@ function ExaminationManager(props: any) {
const _query = { ...query }
_query.createStartTime = date && date[0]?.startOf('day').valueOf();
_query.createEndTime = date && date[1]?.endOf('day').valueOf();
_query.current = 1;
setQuery(_query);
}} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment