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
b27710c2
Commit
b27710c2
authored
Apr 09, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
b600fbbe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/modules/teach-tool/examination-manager/AddExam.tsx
+4
-4
No files found.
src/modules/teach-tool/examination-manager/AddExam.tsx
View file @
b27710c2
...
@@ -300,7 +300,7 @@ function AddExam(props: any) {
...
@@ -300,7 +300,7 @@ function AddExam(props: any) {
validateStatus=
{
(
check
&&
!
passRate
)
?
'error'
:
''
}
validateStatus=
{
(
check
&&
!
passRate
)
?
'error'
:
''
}
help=
{
check
&&
!
passRate
&&
'请输入及格线'
}
help=
{
check
&&
!
passRate
&&
'请输入及格线'
}
required
>
required
>
<
InputNumber
value=
{
passRate
}
onChange=
{
(
value
:
any
)
=>
{
setPassRate
(
value
)
}
}
style=
{
{
width
:
100
}
}
/>
<
InputNumber
value=
{
passRate
}
min=
{
0
}
onChange=
{
(
value
:
any
)
=>
{
setPassRate
(
parseInt
(
value
)
)
}
}
style=
{
{
width
:
100
}
}
/>
<
span
style=
{
{
marginLeft
:
4
}
}
>
%
<
span
style=
{
{
marginLeft
:
4
}
}
>
%
</
span
>
</
span
>
<
span
style=
{
{
marginLeft
:
20
,
color
:
"#999"
}
}
>
<
span
style=
{
{
marginLeft
:
20
,
color
:
"#999"
}
}
>
...
@@ -337,7 +337,7 @@ function AddExam(props: any) {
...
@@ -337,7 +337,7 @@ function AddExam(props: any) {
validateStatus=
{
(
check
&&
!
examDuration
)
?
'error'
:
''
}
validateStatus=
{
(
check
&&
!
examDuration
)
?
'error'
:
''
}
help=
{
check
&&
!
examDuration
&&
'请输入考试时长'
}
help=
{
check
&&
!
examDuration
&&
'请输入考试时长'
}
required
>
required
>
<
InputNumber
value=
{
examDuration
}
max=
{
1440
}
min=
{
1
}
onChange=
{
(
value
:
any
)
=>
{
setExamDuration
(
value
)
}
}
style=
{
{
width
:
100
}
}
/>
<
InputNumber
value=
{
examDuration
}
max=
{
1440
}
min=
{
1
}
onChange=
{
(
value
:
any
)
=>
{
setExamDuration
(
parseInt
(
value
)
as
any
)
}
}
style=
{
{
width
:
100
}
}
/>
<
span
style=
{
{
marginLeft
:
4
}
}
>
分钟
<
span
style=
{
{
marginLeft
:
4
}
}
>
分钟
</
span
>
</
span
>
<
span
style=
{
{
marginLeft
:
20
,
color
:
"#999"
}
}
>
<
span
style=
{
{
marginLeft
:
20
,
color
:
"#999"
}
}
>
...
@@ -345,8 +345,8 @@ function AddExam(props: any) {
...
@@ -345,8 +345,8 @@ function AddExam(props: any) {
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
label=
"考试说明"
<
Form
.
Item
label=
"考试说明"
validateStatus=
{
(
check
&&
(
desclen
>
1000
))
?
'error'
:
''
}
validateStatus=
{
(
check
&&
(
desclen
>
1000
))
?
'error'
:
''
}
help=
{
check
&&
(
desclen
>
1000
)
&&
'最多只能输入1000个字'
}
help=
{
check
&&
(
desclen
>
1000
)
&&
'最多只能输入1000个字'
}
>
>
{
{
(
getData
||
(
props
.
type
!==
'edit'
))
&&
<
GraphicsEditor
(
getData
||
(
props
.
type
!==
'edit'
))
&&
<
GraphicsEditor
...
...
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