diff --git a/src/assets/images/growth/begin.png b/src/assets/images/growth/begin.png new file mode 100644 index 00000000..4b6a6d90 Binary files /dev/null and b/src/assets/images/growth/begin.png differ diff --git a/src/assets/images/growth/firstRoadmap.png b/src/assets/images/growth/firstRoadmap.png new file mode 100644 index 00000000..8523d361 Binary files /dev/null and b/src/assets/images/growth/firstRoadmap.png differ diff --git a/src/views/study/Growth.vue b/src/views/study/Growth.vue index c40a0aa1..98e3cfb7 100644 --- a/src/views/study/Growth.vue +++ b/src/views/study/Growth.vue @@ -11,19 +11,33 @@
-
-
-
-
必修
-
选修
-
已完成
+
必修
+
选修
+
已完成
全岗位路径图 未完成
-
+
+
+
+
+ {{ item.progress }}% +
+
+
{{ item.title }}
+
+
+
+
+ 1-7课 + 8-14课程
@@ -84,7 +98,58 @@ export default { data() { return { showUClass: false, - remark: '111', + iconAttrs: { + compulsory: { + outsideColors: "#b8e3b8", + withinColors: "#8bc94b", + positions: [ + { left: 656, top: 594 }, + { left: 440, top: 425 }, + { left: 436, top: 360 }, + { left: 904, top: 334 }, + { left: 990, top: 56 }, + ] + }, + selectProcessing: { + outsideColors: "#e89e42", + withinColors: "#e89e42", + positions: [ + { left: 50, top: 425 }, + { left: 3, top: 530 }, + { left: 400, top: 315 }, + { left: 515, top: 220 }, + { left: 800, top: 200 }, + { left: 660, top: 115 }, + { left: 760, top: 35 }, + { left: 1000, top: 25 }, + ] + }, + }, + dataList: [{ + name: 'compulsory', + progress: '99', + title: '岗前培训+OJT辅导OJT辅导OJT辅导OJT辅导OJT辅导' + }, { + name: 'selectProcessing', + progress: '10', + title: '岗前培JT辅导OJT辅导' + }, + { + name: 'compulsory', + progress: '10', + title: '岗前' + }, + { + name: 'compulsory', + progress: '10', + title: '岗位' + }, + { + name: 'compulsory', + progress: '10', + title: '岗前岗前' + }] + }; }, mounted() { @@ -99,6 +164,12 @@ export default { this.queryKeyWord = val; this.isSeach = true; this.search(); + }, + getColor(name, colorName) { + return this.iconAttrs[name][colorName] + }, + getPosition(name, index) { + return this.iconAttrs[name].positions[index] } } }; @@ -106,10 +177,9 @@ export default {