From 63da92d8105e6149a3925a7c633764a792f0e988 Mon Sep 17 00:00:00 2001
From: wyx <51903@qq.com>
Date: Thu, 23 Mar 2023 21:48:15 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E9=9D=A2=E6=8E=88=E8=AF=BE=E5=BC=80?=
=?UTF-8?q?=E8=AF=BE=E5=8E=BB=E4=B8=8A=E8=AF=BE=E5=BC=B9=E6=A1=86=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/roadmap/PathDetails.vue | 34 +++++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/views/roadmap/PathDetails.vue b/src/views/roadmap/PathDetails.vue
index 4e5a0a2..4541440 100644
--- a/src/views/roadmap/PathDetails.vue
+++ b/src/views/roadmap/PathDetails.vue
@@ -96,11 +96,11 @@
@click="toFinish(value)">
{{ value.statusName || (data.unlockMode === 1 ? TASK_TYPES.toName[value.type] : "未解锁") }}
-
+
@@ -257,6 +257,27 @@
确定
+
+
+
+
+
@@ -301,6 +322,9 @@ const handleClick = (tab, event) => {
const path = { 1: "path" };
const dialogVisible = ref(false);
+const openCourseVisible = ref(false);
+const openCourseList = ref([]);
+const openCourseIdList = ref([]);
const dialogVisibleTip = ref("");
// 判断当前任务已结束及时间意义上的结束 提示用户
@@ -349,6 +373,9 @@ async function toFinish(d) {
return ElMessage.error("还未添加开课,请联系管理员!")
}
if(d.targetId.split(',').length>1){
+ openCourseList.value = d.targetName?.split(',');
+ openCourseIdList.value = d.targetId?.split(',');
+ openCourseVisible.value = true;
return
}
}
@@ -615,6 +642,9 @@ function continueLearn(taskname, datas) {