From b595cd609228067753e6a9793840a0f2b7a2b4b0 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 17 Mar 2023 03:07:58 +0800 Subject: [PATCH] =?UTF-8?q?--demand=20=E9=9D=A2=E6=8E=88=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/CONST.js | 2 +- src/views/faceteach/FaceTeach.vue | 197 +++++----------------- src/views/faceteach/FaceTeachNoCommon.vue | 2 - src/views/faceteach/FaceTeachNoCourse.vue | 14 +- src/views/faceteach/FaceTeachSignUp.vue | 47 ++---- src/views/project/ProjectDetails.vue | 82 ++++----- src/views/roadmap/PathDetails.vue | 46 ++--- 7 files changed, 113 insertions(+), 277 deletions(-) diff --git a/src/api/CONST.js b/src/api/CONST.js index 1cb13e8..624657e 100644 --- a/src/api/CONST.js +++ b/src/api/CONST.js @@ -35,7 +35,7 @@ export const TASK_TYPES = { }, path: { 1: ({courseId}) => window.open(window.location.protocol + import.meta.env.VITE_BOE_ONLINE_CLASS_URL + courseId), //在线 - 2: ({courseId}) => window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${courseId}`, '_top'), + 2: ({targetId}) => window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${targetId}`, '_top'), 3: ({courseId}) => window.open(window.location.protocol + import.meta.env.VITE_BOE_CASS_DETAIL_URL + courseId), //案例 4: "/homeworkpage", 5: ({examType}) => examType === 2 ? '/externalexamination' : (window.location.protocol + import.meta.env.VITE_BOE_EXAM_DETAIL_URL), //考试 diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index 814ead8..cb165bb 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -23,7 +23,8 @@ class="img2" style="margin-right: 11px; cursor: pointer" src="../../assets/image/return.png" - />返回返回 + @@ -60,19 +61,10 @@ {{ data.signFlag ? "已签到" : "签到" }} + >{{ data.signFlag ? "已签到" : "签到" }} - {{ data.isSurvery ? "已评估" : "评估" }} + >{{ data.isSurvery ? "已评估" : "评估" }} @@ -155,7 +147,7 @@ el.name ? el.name : el.slice(el.lastIndexOf("/") + 1, el.indexOf("-")) + - el.slice(el.lastIndexOf(".")) + el.slice(el.lastIndexOf(".")) }} @@ -291,41 +283,39 @@
- +
{{ data.planDto?.teacher }}
{{ data.planDto?.bandDesc }}
-
- -