diff --git a/src/api/growth/index.js b/src/api/growth/index.js new file mode 100644 index 00000000..204aae51 --- /dev/null +++ b/src/api/growth/index.js @@ -0,0 +1,5 @@ +import ajax from "@/api/ajax" +//获取详情 +export const getList = (params) => ajax.get('/manageApi',`/stu/grow/getStuLearnInfo?userId=${params}`); +//获取路径图详情 +export const taskList = (params) => ajax.get('/manageApi',`/stu/grow/taskList?growId=${params}`); diff --git a/src/views/study/Growth.vue b/src/views/study/Growth.vue index 63326549..a39bf0bd 100644 --- a/src/views/study/Growth.vue +++ b/src/views/study/Growth.vue @@ -16,7 +16,7 @@
- 根据您的归属组织、您所在岗位、职级,已为您自动匹配“产品企划岗Band6~7成长路径”,抓紧时间学习吧~ +
根据您的归属组织、您所在岗位、职级,已为您自动匹配“{{detailData.growName || ''}}”,抓紧时间学习吧~
@@ -31,12 +31,12 @@
-
产品企划岗Band6~7成长路径
+
{{detailData.growName || ''}}
-
京东方集团股份有限公司
+
{{detailData.organizationName || ''}}
学习状态: - 进行中 + {{detailData.studyStatus==0?'未开始':detailData.studyStatus==1?'已完成':'进行中'}}
@@ -74,14 +74,14 @@
-
+
说明
- 请各位选课的同学提前阅读本课程的 “教学大纲与计划”、“课程考核要求”与“学习要求”,并按给定的中学化学教学主题分好小组每位同学在网上学习的活动轨迹都会自动被系统记录將作为大家个人线上参与的评价依据;请大家务必 + {{detailData.remark || ''}}
@@ -97,17 +97,17 @@
当前任务
-
10 门
-
产品考试
+
{{detailData.taskNum}}门
+
{{detailData.currentTaskName}}
总进度 - +
- 开始学习 + {{detailData.overallCompletionRate==0?'开始学习':detailData.overallCompletionRate==100?'回顾':'继续学习'}}
@@ -137,6 +137,8 @@ @@ -278,6 +295,15 @@ export default { line-height: 28px; text-align: left; position: relative; + .text{ + display: -webkit-box; + word-wrap: break-word; + word-break:break-all; + overflow: hidden; + text-overflow:ellipsis; + -webkit-box-orient: vertical; + -webkit-line-clamp:2; + } .explain_close{ cursor: pointer; background-image: url(../../assets/images/growth/close.png); @@ -328,7 +354,7 @@ export default { .growth_heads{ display: flex; justify-content: space-between; - margin: 43px 86px 37px 81px; + margin: 22px 43px 19px 40px; position: relative; .growth_left{ display: flex; @@ -391,7 +417,7 @@ export default { background: #FFFFFF; border-radius: 10px; border: 1px solid #E4EDFE; - margin: 0 81px 52px 76px; + margin: 0 41px 0px 38px; position: relative; .growth_body_shared{ cursor: pointer; @@ -423,7 +449,7 @@ export default { justify-content: space-between; margin-bottom: 25px; .head_left{ - width: 272px; + // width: 272px; height: 28px; font-weight: 600; font-size: 20px; @@ -433,7 +459,7 @@ export default { margin: 29px 0 0 33px; } .head_right{ - width: 326px; + // width: 326px; height: 22px; font-weight: 400; font-size: 16px; @@ -444,10 +470,12 @@ export default { justify-content: space-between; line-height: 22px; .head_right_one{ - + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .head_right_two{ - + margin-left: 14px; .head_right_sta{ } @@ -495,6 +523,13 @@ export default { color: #333333; line-height: 28px; text-align: left; + display: -webkit-box; + word-wrap: break-word; + word-break:break-all; + overflow: hidden; + text-overflow:ellipsis; + -webkit-box-orient: vertical; + -webkit-line-clamp:2; } } } diff --git a/src/views/study/GrowthPath.vue b/src/views/study/GrowthPath.vue index 1182d6de..cc06ba55 100644 --- a/src/views/study/GrowthPath.vue +++ b/src/views/study/GrowthPath.vue @@ -7,17 +7,23 @@
- 销售岗Band6路径图 + {{$route.query.name}}路径图
必修
选修
-
已完成
+
全岗位路径图 - 信息概览 + +
+
+ +
@@ -27,16 +33,16 @@
{{ item.title }}
- 必修 - 在线 + {{ item.flag == 0 ? '选修' : '必修' }} + {{item.type == 1 ? '在线' : item.type == 5 ?'考试' : '课程'}}
学习进度 - +
-
课程讲师:启用家
-
课程简介:无
- +
课程讲师:{{item.teacherName}}
+
课程简介:{{item.introduce}}
+
去学习 @@ -50,22 +56,22 @@
-
- {{ item.progress }}% +
+ {{ item.currentRatio || 0 }}%
-
+
@@ -76,13 +82,13 @@
-
+
@@ -213,14 +219,16 @@ @@ -649,7 +656,11 @@ export default { display: flex; flex-direction: column; } - + .linehig{ + position: absolute; + top: 30px; + right: 30px; + } .select { position: absolute; top: 30px;