diff --git a/src/views/study/GrowthPath.vue b/src/views/study/GrowthPath.vue index 91834d01..2ce528a7 100644 --- a/src/views/study/GrowthPath.vue +++ b/src/views/study/GrowthPath.vue @@ -15,7 +15,7 @@
选修
-
+
全岗位路径图
@@ -196,10 +196,10 @@ 其他路径
-
+
@@ -258,7 +258,7 @@ - +
继续学习之旅
@@ -453,6 +453,10 @@ export default { }) }, methods: { + goLearnPath(item){ + console.log(item.growId,'item') + window.open(`${process.env.VUE_APP_BOE_WEB_URL}/pc/growthpath?growId=${item.growId}&name=${item.growName}&isTrue=true&status=0.1&allPath=${true}`) + }, integrateTableData(data) { const { growFullPositionPathBoItemList, allBandCodeList } = data; const bandCodeIndexMap = new Map(allBandCodeList.map((code, index) => [code, index])); @@ -472,11 +476,12 @@ export default { const codeTrimmed = code.trim(); const index = bandCodeIndexMap.get(codeTrimmed); if (index !== undefined) { - integratedDataMap.get(key).bandCodes[index] = { growId: item.growId, permission: item.permission ,isMajorPosition:item.isMajorPosition }; + integratedDataMap.get(key).bandCodes[index] = { growId: item.growId, permission: item.permission ,isMajorPosition:item.isMajorPosition ,growName:item.growName }; } }); }); const integratedDataArray = Array.from(integratedDataMap.values()); + console.log(integratedDataArray,'integratedDataArray') return integratedDataArray; }, @@ -692,8 +697,9 @@ export default { console.log(item,'在线') this.$router.push("/course/studyindex?id=" + item.targetId); }else if (item.type == 5) { - if(item.examType == 2){ + if(item.examType != 1){ window.open(`${process.env.VUE_APP_BOE_WEB_URL}/fe-student/externalexamination?id=${item.id}&type=${item.type}&infoId=${item.id}&courseId=${item.id}&pName=${item.name}&exname=${item.name}&chapterOrStageId=${0}`) + return } console.log(item,'考试') this.$router.push("exam/test?id=" + item.targetId);