Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
62423293
Commit
62423293
authored
Aug 28, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并了a分支的岗位题库相关问题
parent
3be49a7d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
examinationPaper.vue
...courseInformation/examinationCompany/examinationPaper.vue
+13
-8
index.vue
src/views/courseInformation/jobQuestionBank/index.vue
+7
-1
No files found.
src/views/courseInformation/examinationCompany/examinationPaper.vue
View file @
62423293
...
...
@@ -337,7 +337,9 @@
<p>
请您排查以下原因:
</p>
<p>
1、题干输入的内容过长或标准答案过长
</p>
<p>
2、是否有为空的地方
</p>
<p>
3、题目编号或权重是否重复
</p>
<p>
3、题目编号是否重复
</p>
<p>
4、题型、难度是否填错
</p>
<p>
5、分数、权重是否过长(最大为9999)
</p>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible111 = false"
>
关闭
</el-button>
</span>
...
...
@@ -770,9 +772,12 @@ export default {
res
.
data
.
optionD
=
optionD
// 当题目是多选的时候,处理题目答案选项
if
(
res
.
data
.
questionType
===
2
)
{
res
.
data
.
answerList
=
[]
res
.
data
.
answerList
=
res
.
data
.
answer
.
split
(
','
)
res
.
data
.
answer
=
null
// res.data.answerList = []
this
.
form
.
answerList
=
res
.
data
.
answer
.
split
(
','
)
console
.
log
(
'this.form.answer'
,
this
.
form
.
answerList
)
// res.data.answer = null
}
else
{
this
.
form
.
answer
=
res
.
data
.
answer
}
// 处理选项内容
// this.form = res.data,
...
...
@@ -782,8 +787,8 @@ export default {
this
.
form
.
questionStem
=
res
.
data
.
questionStem
this
.
form
.
difficulty
=
res
.
data
.
difficulty
this
.
form
.
content
=
res
.
data
.
content
this
.
form
.
answer
=
res
.
data
.
answer
this
.
form
.
answerList
=
res
.
data
.
answerList
//
this.form.answer = res.data.answer
//
this.form.answerList = res.data.answerList
this
.
form
.
optionA
=
res
.
data
.
optionA
this
.
form
.
optionB
=
res
.
data
.
optionB
this
.
form
.
optionC
=
res
.
data
.
optionC
...
...
src/views/courseInformation/jobQuestionBank/index.vue
View file @
62423293
...
...
@@ -95,7 +95,7 @@
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
dialogFormVisible = false
"
>
取 消
</el-button>
<el-button
@
click=
"
cancel()
"
>
取 消
</el-button>
<el-button
:type=
"commonField.typePrimary"
@
click=
"createClass('form')"
>
保 存
</el-button>
</div>
</el-dialog>
...
...
@@ -756,6 +756,10 @@ export default {
this
.
loadData
()
},
methods
:
{
cancel
()
{
this
.
form
=
{}
this
.
dialogFormVisible
=
false
},
innerClose
()
{
console
.
log
(
'KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK'
)
this
.
multipleSelection
=
[]
...
...
@@ -859,6 +863,7 @@ export default {
* 新增
* **/
handleAdd
()
{
this
.
form
=
{}
this
.
dialogFormVisible
=
true
this
.
title
=
'新建题库'
},
...
...
@@ -1270,6 +1275,7 @@ export default {
return
false
}
})
this
.
form
=
{}
this
.
loadData
()
},
callOf
(
formName
)
{
...
...
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