Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
4c678105
Commit
4c678105
authored
Apr 13, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
ab61605c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/modules/teach-tool/examination-manager/Index.tsx
+6
-2
No files found.
src/modules/teach-tool/examination-manager/Index.tsx
View file @
4c678105
...
@@ -87,7 +87,7 @@ function ExaminationManager(props: any) {
...
@@ -87,7 +87,7 @@ function ExaminationManager(props: any) {
{
{
title
:
"考试时长"
,
title
:
"考试时长"
,
dataIndex
:
"examDuration"
,
dataIndex
:
"examDuration"
,
render
:
(
text
:
any
)
=>
<
span
>
{
(
text
||
0
)
/
60
/
1000
}
分钟
</
span
>,
render
:
(
text
:
any
)
=>
<
span
>
{
(
text
||
0
)
/
60
/
1000
}
分钟
</
span
>,
},
},
{
{
title
:
"及格分/总分"
,
title
:
"及格分/总分"
,
...
@@ -287,6 +287,7 @@ function ExaminationManager(props: any) {
...
@@ -287,6 +287,7 @@ function ExaminationManager(props: any) {
onChange=
{
(
e
)
=>
{
onChange=
{
(
e
)
=>
{
const
_query
=
{
...
query
}
const
_query
=
{
...
query
}
_query
.
examName
=
e
.
target
.
value
_query
.
examName
=
e
.
target
.
value
_query
.
current
=
1
;
setQuery
(
_query
);
setQuery
(
_query
);
}
}
}
}
onSearch=
{
()
=>
{
}
}
onSearch=
{
()
=>
{
}
}
...
@@ -299,9 +300,10 @@ function ExaminationManager(props: any) {
...
@@ -299,9 +300,10 @@ function ExaminationManager(props: any) {
const
_query
=
{
...
query
}
const
_query
=
{
...
query
}
_query
.
examCreator
=
examCreator
;
_query
.
examCreator
=
examCreator
;
_query
.
current
=
1
;
setQuery
(
_query
);
setQuery
(
_query
);
}
}
}
}
roleCodes=
{
[
"CloudManager"
,
'StoreManager'
]
}
roleCodes=
{
[
"CloudManager"
,
'StoreManager'
]
}
></
TeacherSelect
>
></
TeacherSelect
>
<
div
className=
"search-condition__item"
>
<
div
className=
"search-condition__item"
>
...
@@ -316,6 +318,7 @@ function ExaminationManager(props: any) {
...
@@ -316,6 +318,7 @@ function ExaminationManager(props: any) {
const
_query
=
{
...
query
}
const
_query
=
{
...
query
}
_query
.
examStartTime
=
date
&&
date
[
0
]?.
startOf
(
'day'
).
valueOf
();
_query
.
examStartTime
=
date
&&
date
[
0
]?.
startOf
(
'day'
).
valueOf
();
_query
.
examEndTime
=
date
&&
date
[
1
]?.
endOf
(
'day'
).
valueOf
();
_query
.
examEndTime
=
date
&&
date
[
1
]?.
endOf
(
'day'
).
valueOf
();
_query
.
current
=
1
;
setQuery
(
_query
);
setQuery
(
_query
);
}
}
/>
}
}
/>
...
@@ -333,6 +336,7 @@ function ExaminationManager(props: any) {
...
@@ -333,6 +336,7 @@ function ExaminationManager(props: any) {
const
_query
=
{
...
query
}
const
_query
=
{
...
query
}
_query
.
createStartTime
=
date
&&
date
[
0
]?.
startOf
(
'day'
).
valueOf
();
_query
.
createStartTime
=
date
&&
date
[
0
]?.
startOf
(
'day'
).
valueOf
();
_query
.
createEndTime
=
date
&&
date
[
1
]?.
endOf
(
'day'
).
valueOf
();
_query
.
createEndTime
=
date
&&
date
[
1
]?.
endOf
(
'day'
).
valueOf
();
_query
.
current
=
1
;
setQuery
(
_query
);
setQuery
(
_query
);
}
}
/>
}
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment