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
ef921b61
Commit
ef921b61
authored
Apr 14, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:同名校验
parent
362577dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/modules/teach-tool/examination-manager/AddExam.tsx
+0
-3
src/modules/teach-tool/paper-manage/OperatePaper.jsx
+2
-2
No files found.
src/modules/teach-tool/examination-manager/AddExam.tsx
View file @
ef921b61
...
...
@@ -10,12 +10,9 @@ import GraphicsEditor from '../../course-manage/components/GraphicsEditor';
import
SelectPaperModal
from
'./SelectPaperModal'
import
PreviewModal
from
'./PreviewModal'
import
'./AddExam.less'
;
import
{
get
}
from
'_@types_jquery@3.5.5@@types/jquery'
;
const
{
RangePicker
}
=
DatePicker
;
function
AddExam
(
props
:
any
)
{
const
paperInfoInit
:
any
=
{
passScore
:
60
};
const
[
showModal
,
setShowModal
]
=
useState
(
false
);
...
...
src/modules/teach-tool/paper-manage/OperatePaper.jsx
View file @
ef921b61
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-03-27 16:15:13
* @LastEditors: yuananting
* @LastEditTime: 2021-04-1
3 21:29:20
* @LastEditTime: 2021-04-1
4 16:50:31
* @Description: 助学工具-新建/复制/编辑试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -310,7 +310,7 @@ class OperatePaper extends Component {
const
{
selectQuestionList
,
formData
,
currentOperate
}
=
this
.
state
;
const
categoryId
=
getParameterByName
(
"categoryId"
);
let
questionList
=
[];
if
(
!
formData
.
passRate
||
!
formData
.
paperName
)
{
if
(
!
formData
.
passRate
||
!
formData
.
paperName
||
this
.
checkExist
()
)
{
return
;
}
if
(
selectQuestionList
.
length
===
0
)
{
...
...
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