From 8dffddef638f65c5ea8a9b7a3b05c73d0d89413d Mon Sep 17 00:00:00 2001 From: wyx Date: Wed, 1 Feb 2023 10:58:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=20=E9=A1=B9=E7=9B=AE=20?= =?UTF-8?q?=E5=85=B1=E4=BA=AB=E6=96=87=E6=A1=A3=20=E7=BB=A7=E7=BB=AD?= =?UTF-8?q?=E5=AD=A6=E4=B9=A0=20=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/ProjectDetails.vue | 87 ++++++++++++++++++---------- 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/src/views/project/ProjectDetails.vue b/src/views/project/ProjectDetails.vue index 1a71003..bb14029 100644 --- a/src/views/project/ProjectDetails.vue +++ b/src/views/project/ProjectDetails.vue @@ -133,30 +133,28 @@
{{ data.notice || "暂无公告" }}
- - - - - - - - - - - - - - - - - - - - - + +
+
+ + +
{{ value.name }}
+
+ +
下载
+
+
+
+
@@ -190,11 +188,12 @@
学习进度
- + +
+
上次学到:{{ data.lastLearned }}
+
继续学习
+
+
总进度
@@ -287,6 +286,7 @@ import { useRoute, useRouter } from "vue-router"; import store from "@/store"; import { ElMessage } from "element-plus"; import {PROJECT} from "@/api/CONST"; +import FileTypeImg from "@/components/FileTypeImg.vue"; const { query: { courseId, projectId }, @@ -547,6 +547,35 @@ const queryAllStatus = (data) => { } return true; } + +// 共享文档下载 +function downloadFile(url){ + window.open(url); +} + +// 继续学习 +function continueLearn(taskname, datas){ + console.log('我是当前的列表展示信息',data) + console.log(datas) + let jumpinfo + let stageName + let stageId + for(let i=0; i