diff --git a/src/assets/image/growth/path2.png b/src/assets/image/growth/path2.png
new file mode 100644
index 0000000..b6aa7f6
Binary files /dev/null and b/src/assets/image/growth/path2.png differ
diff --git a/src/views/growth/components/gowthPath2.vue b/src/views/growth/components/gowthPath2.vue
new file mode 100644
index 0000000..617205d
--- /dev/null
+++ b/src/views/growth/components/gowthPath2.vue
@@ -0,0 +1,261 @@
+
+
+
+
+
+
+
+
+
+
{{ item.taskName }}
+
+
+
+
+
+
+
+
+ {{ stateData(item).text }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/growth/growthDetails.vue b/src/views/growth/growthDetails.vue
index c618f01..b758262 100644
--- a/src/views/growth/growthDetails.vue
+++ b/src/views/growth/growthDetails.vue
@@ -550,6 +550,9 @@ const toPath = () => {
box-sizing: border-box;
background-color: #ffffff;
position: relative;
+ :deep(input::placeholder) {
+ color: #ffffff;
+ }
.container {
position: absolute;
background-color: #ffffff;
diff --git a/src/views/growth/growthPath.vue b/src/views/growth/growthPath.vue
index 18b8520..5d41388 100644
--- a/src/views/growth/growthPath.vue
+++ b/src/views/growth/growthPath.vue
@@ -4,7 +4,7 @@
- 专业力必修
+ {{ growthInfo.growthName }}
-
-
-
-
-
{{ item.taskName }}
-
-
-
-
-
-
-
-
-
- {{ stateData(item).text }}
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
-
- {{ stateData(item).text }}
+
+ {{ stateData(item).text }}
+
+
+
-
-
+
+
+
+
+
+
{{ item.taskName }}
+
+
+
+
+
+
+
+
+ {{ stateData(item).text }}
+
+
+
+
+
-
+
+
+
+
@@ -217,6 +230,7 @@ import { computed, reactive, ref, watch, onMounted } from "vue";
import { ElLoading } from "element-plus";
import { useRequest, request } from "@/api/request";
import { growthRequest } from "@/api/growthRequest";
+import GrowthPath2 from "./components/gowthPath2.vue";
import {
EvaluationToLearn,
QueryEvaluationTaskStatusOne,
@@ -289,17 +303,21 @@ const getList = () => {
growthId: routerId,
...queryParams,
}).then((res) => {
- let newData = res.data.slice(0, 15).reverse();
- // 默认第一个在第一点位
- let num = 15 / newData.length;
- stageProcessList.value = newData.map((item, index) => {
+ if (growthInfo.value.template == 1) {
+ stageProcessList.value = res.data;
+ } else {
+ let newData = res.data.slice(0, 15).reverse();
// 默认第一个在第一点位
- if (index === 0) {
- item.position = 0;
- }
- item.position = Number((index * num).toFixed());
- return item;
- });
+ let num = 15 / newData.length;
+ stageProcessList.value = newData.map((item, index) => {
+ // 默认第一个在第一点位
+ if (index === 0) {
+ item.position = 0;
+ }
+ item.position = Number((index * num).toFixed());
+ return item;
+ });
+ }
if (anchorNum.value === 0) {
let find = stageProcessList.value.find((item) => item.lastStudy);
@@ -318,7 +336,7 @@ const openCourseList = ref([]);
const openCourseIdList = ref([]);
const userInfo = computed(() => store.state.userInfo);
-
+const growthInfo = computed(() => store.state.growthInfo);
const point = [
{
top: "-15px",
@@ -743,6 +761,11 @@ const toPath = () => {
box-sizing: border-box;
background-color: #ffffff;
position: relative;
+
+ :deep(input::placeholder) {
+ color: #ffffff;
+ }
+
.container {
position: absolute;
background-color: #ffffff;