Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
d78ea1a9
Commit
d78ea1a9
authored
Jan 06, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考试右上角课程名称
parent
3b3e1976
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
2 deletions
+10
-2
TTrainCourseServiceImpl.java
...m/zehong/system/service/impl/TTrainCourseServiceImpl.java
+1
-1
index.vue
...c/views/educationPlanExam/myLessons/CheckLesson/index.vue
+1
-0
AnswerLesson.vue
...s/educationPlanExam/myLessons/components/AnswerLesson.vue
+4
-1
LearnItem.vue
...iews/educationPlanExam/myLessons/components/LearnItem.vue
+1
-0
index.vue
...anage-web/src/views/educationPlanExam/myLessons/index.vue
+3
-0
No files found.
danger-manage-system/src/main/java/com/zehong/system/service/impl/TTrainCourseServiceImpl.java
View file @
d78ea1a9
...
@@ -182,7 +182,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
...
@@ -182,7 +182,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Map
<
String
,
Object
>
examination
(
Long
userCourseId
,
String
[]
answers
){
public
Map
<
String
,
Object
>
examination
(
Long
userCourseId
,
String
[]
answers
){
TTrainUserCourse
userCourse
=
tTrainUserCourseMapper
.
selectTTrainUserCourseById
(
userCourseId
);
TTrainUserCourse
userCourse
=
tTrainUserCourseMapper
.
selectTTrainUserCourseById
(
userCourseId
);
TTrainCourseTopic
topic
=
new
TTrainCourseTopic
();
TTrainCourseTopic
topic
=
new
TTrainCourseTopic
();
...
...
danger-manage-web/src/views/educationPlanExam/myLessons/CheckLesson/index.vue
View file @
d78ea1a9
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
v-if=
"answerOpen"
v-if=
"answerOpen"
:courseId=
"courseId"
:courseId=
"courseId"
:userCourseId=
"userCourseId"
:userCourseId=
"userCourseId"
:courseName=
"lessonData.courseName"
:visible
.
sync=
"answerOpen"
:visible
.
sync=
"answerOpen"
@
jj=
"jj"
@
jj=
"jj"
/>
/>
...
...
danger-manage-web/src/views/educationPlanExam/myLessons/components/AnswerLesson.vue
View file @
d78ea1a9
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
>
>
<div
ref=
"myBody"
class=
"body"
v-loading=
"loading"
>
<div
ref=
"myBody"
class=
"body"
v-loading=
"loading"
>
<div
class=
"text"
>
<div
class=
"text"
>
<div
class=
"float"
>
炼铁车间炉前工安全生产规范课程
</div>
<div
class=
"float"
>
{{
courseName
}}
</div>
</div>
</div>
<transition
name=
"fade"
mode=
"out-in"
>
<transition
name=
"fade"
mode=
"out-in"
>
<div
:key=
"goodJobShow"
>
<div
:key=
"goodJobShow"
>
...
@@ -92,6 +92,9 @@ export default {
...
@@ -92,6 +92,9 @@ export default {
userCourseId
:
{
userCourseId
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
},
},
courseName
:{
type
:
[
String
,
String
]
},
courseId
:
{
courseId
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
},
},
...
...
danger-manage-web/src/views/educationPlanExam/myLessons/components/LearnItem.vue
View file @
d78ea1a9
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
v-if=
"answerOpen"
v-if=
"answerOpen"
:courseId=
"itemData.courseId"
:courseId=
"itemData.courseId"
:userCourseId=
"itemData.userCourseId"
:userCourseId=
"itemData.userCourseId"
:courseName =
"itemData.courseName"
:visible
.
sync=
"answerOpen"
:visible
.
sync=
"answerOpen"
@
jj=
"jj"
@
jj=
"jj"
/>
/>
...
...
danger-manage-web/src/views/educationPlanExam/myLessons/index.vue
View file @
d78ea1a9
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
v-if=
"answerOpen"
v-if=
"answerOpen"
:courseId=
"courseId"
:courseId=
"courseId"
:userCourseId=
"userCourseId"
:userCourseId=
"userCourseId"
:courseName =
"courseName"
:visible
.
sync=
"answerOpen"
:visible
.
sync=
"answerOpen"
/>
/>
</div>
</div>
...
@@ -41,6 +42,7 @@ export default {
...
@@ -41,6 +42,7 @@ export default {
answerOpen
:
false
,
answerOpen
:
false
,
courseId
:
""
,
courseId
:
""
,
userCourseId
:
""
,
userCourseId
:
""
,
courseName
:
""
,
list
:
[],
list
:
[],
};
};
},
},
...
@@ -57,6 +59,7 @@ export default {
...
@@ -57,6 +59,7 @@ export default {
examination
(
e
)
{
examination
(
e
)
{
this
.
courseId
=
e
.
courseId
;
this
.
courseId
=
e
.
courseId
;
this
.
userCourseId
=
e
.
userCourseId
;
this
.
userCourseId
=
e
.
userCourseId
;
this
.
courseName
=
e
.
courseName
;
// this.answerOpen=true;
// this.answerOpen=true;
},
},
},
},
...
...
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