From 515fadb15d2d60f78844a4ceeadba42be01ad085 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 31 Oct 2024 13:53:45 +0800
Subject: [PATCH] fix
---
src/pages/product/show/index.vue | 13 ------
src/pages/project/list/index.vue | 62 ++++++++++++++++++++++++-----
src/pages/station/preview/index.vue | 26 +++++++++---
3 files changed, 73 insertions(+), 28 deletions(-)
diff --git a/src/pages/product/show/index.vue b/src/pages/product/show/index.vue
index 65cf449..70db126 100644
--- a/src/pages/product/show/index.vue
+++ b/src/pages/product/show/index.vue
@@ -253,19 +253,6 @@ export default {
this.$router.push(`/station/preview?courseId=${this.form.mall.associatedProduct}&curriculumName=${this.form.mall.productName}&mallId=${this.id}&chapter=${i}§ion=${j}&admin=1`) :
this.toTrail()
},
- // 勾选/取消勾选学习进度
- studySection (item) {
- item.whetherToStudyOrNot ?
- this.$post(`${this.api.deleteLearningProgress}?id=${item.learningProgressId}`).then(res => {
- this.getChapter()
- }).catch(res => { }) :
- this.$post(this.api.saveLearningProgress, {
- cid: this.form.mall.associatedProduct,
- projectId: item.projectId,
- }).then(res => {
- this.getChapter()
- }).catch(res => { })
- },
// 续费
async toRenew () {
try {
diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue
index 3f81b0a..352fb30 100644
--- a/src/pages/project/list/index.vue
+++ b/src/pages/project/list/index.vue
@@ -74,11 +74,12 @@