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
309e479c
Commit
309e479c
authored
Aug 27, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了岗位题库的导入问题
parent
08f22808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
examinationPaper.vue
...courseInformation/examinationCompany/examinationPaper.vue
+6
-5
No files found.
src/views/courseInformation/examinationCompany/examinationPaper.vue
View file @
309e479c
...
...
@@ -772,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,
...
...
@@ -784,8 +787,6 @@ 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
.
optionA
=
res
.
data
.
optionA
this
.
form
.
optionB
=
res
.
data
.
optionB
this
.
form
.
optionC
=
res
.
data
.
optionC
...
...
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