Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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_pc
Commits
2f1e1b79
Commit
2f1e1b79
authored
Jul 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
传参修改
parent
360d3979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examCompany.vue
src/views/learningCenter/examCompany.vue
+2
-2
No files found.
src/views/learningCenter/examCompany.vue
View file @
2f1e1b79
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
examInit
()
{
examInit
()
{
// 根据课程id查询试卷
// 根据课程id查询试卷
console
.
log
(
'this.businessId'
,
this
.
businessId
)
console
.
log
(
'this.businessId'
,
this
.
businessId
)
findByLessonIdExam
({
userId
:
this
.
userId
,
lessonId
:
this
.
lessonId
,
businessId
:
this
.
businessId
}).
then
(
res
=>
{
findByLessonIdExam
({
status
:
this
.
answer
,
userId
:
this
.
userId
,
lessonId
:
this
.
lessonId
,
businessId
:
this
.
businessId
}).
then
(
res
=>
{
console
.
log
(
'examFindByLessonId'
,
res
)
console
.
log
(
'examFindByLessonId'
,
res
)
this
.
qsList
=
res
.
data
.
qsList
this
.
qsList
=
res
.
data
.
qsList
this
.
totalScore
=
res
.
data
.
totalScore
this
.
totalScore
=
res
.
data
.
totalScore
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
recordId
:
this
.
qsList
[
i
].
recordId
,
recordId
:
this
.
qsList
[
i
].
recordId
,
answer
:
this
.
qsList
[
i
].
uanswer
answer
:
this
.
qsList
[
i
].
uanswer
}
}
if
(
this
.
answer
===
'1'
)
{
if
(
this
.
answer
===
'1'
)
{
// 1: 调用answerByOneClick接口,2:不调用
answerByOneClick
(
temp
)
answerByOneClick
(
temp
)
}
}
}
}
...
...
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