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
f3388698
Commit
f3388698
authored
Dec 24, 2022
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的课程,展示区分培训和考试
parent
af805e00
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
3 deletions
+14
-3
UserCourseVo.java
...c/main/java/com/zehong/system/domain/vo/UserCourseVo.java
+2
-0
TTrainCourseMapper.xml
...m/src/main/resources/mapper/system/TTrainCourseMapper.xml
+1
-1
skao.png
danger-manage-web/src/assets/img/skao.png
+0
-0
ykao.png
danger-manage-web/src/assets/img/ykao.png
+0
-0
LearnItem.vue
...iews/educationPlanExam/myLessons/components/LearnItem.vue
+11
-2
No files found.
danger-manage-system/src/main/java/com/zehong/system/domain/vo/UserCourseVo.java
View file @
f3388698
...
...
@@ -31,4 +31,6 @@ public class UserCourseVo {
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createTime
;
private
String
dataKind
;
}
danger-manage-system/src/main/resources/mapper/system/TTrainCourseMapper.xml
View file @
f3388698
...
...
@@ -153,7 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"userCourseList"
resultType=
"com.zehong.system.domain.vo.UserCourseVo"
>
SELECT uc.user_course_id AS userCourseId,uc.state ,uc.examination_time AS examinationTime,
uc.`examination_result` AS examinationResult,uc.`create_time` AS createTime,
c.`course_name` AS courseName, c.`topic_num` AS topicNum,c.`release_time` AS releaseTime,
c.`course_name` AS courseName, c.`topic_num` AS topicNum,c.`release_time` AS releaseTime,
c.data_kind as dataKind,
p.`plan_name` AS courseType,c.course_id as courseId,c.qualified_num as qualifiedNum
FROM t_train_user_course uc
LEFT JOIN t_train_course c ON c.`course_id` = uc.`course_id`
...
...
danger-manage-web/src/assets/img/skao.png
0 → 100644
View file @
f3388698
3.76 KB
danger-manage-web/src/assets/img/ykao.png
0 → 100644
View file @
f3388698
3.65 KB
danger-manage-web/src/views/educationPlanExam/myLessons/components/LearnItem.vue
View file @
f3388698
...
...
@@ -8,8 +8,12 @@
-->
<
template
>
<div
class=
"item flex"
>
<div
class=
"title"
>
{{
itemData
.
courseType
||
'-'
}}
</div>
<div
class=
"lesson"
>
{{
itemData
.
courseName
}}
</div>
<div
class=
"title"
style=
"text-align: center"
>
{{
itemData
.
courseType
||
'-'
}}
</div>
<div
class=
"allone"
>
<img
v-if=
"itemData.dataKind==0"
style=
"height: 18px"
src=
"@/assets/img/ykao.png"
/>
<img
v-if=
"itemData.dataKind==1"
style=
"height: 18px"
src=
"@/assets/img/skao.png"
/>
<div
class=
"lesson"
style=
"width: 75%"
>
{{
itemData
.
courseName
}}
</div>
</div>
<div
class=
"time"
>
发布时间:
{{
itemData
.
createTime
}}
</div>
<div
class=
"bottom flex"
>
<div
@
click=
"click"
class=
"btn"
:class=
"
{ again: yesOrNo }">
...
...
@@ -133,6 +137,11 @@ export default {
}
}
}
.allone
{
display
:flex
;
flex-direction
:row
;
justify-content
:flex-start
;
}
.img
{
position
:
absolute
;
width
:
100px
;
...
...
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