From 50982ea317cf41e360aa8dc453a825406f0ee2e0 Mon Sep 17 00:00:00 2001
From: du <13220750630.163.com>
Date: 星期一, 14 四月 2025 10:06:40 +0800
Subject: [PATCH] 字幕视频下载按钮

---
 easegen-front/src/views/myCourse/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/easegen-front/src/views/myCourse/index.vue b/easegen-front/src/views/myCourse/index.vue
index 61f7855..0761db3 100644
--- a/easegen-front/src/views/myCourse/index.vue
+++ b/easegen-front/src/views/myCourse/index.vue
@@ -75,10 +75,8 @@
       </el-table-column>
       <el-table-column :label="t('myCourse.status')" align="center" prop="status">
         <template #default="scope">
-
           <dict-tag v-if="scope.row.status==2 && scope.row.subtitlesAddStatus!=null" :type="DICT_TYPE.video_zi" :value="scope.row.subtitlesAddStatus" />
           <dict-tag v-else :type="DICT_TYPE.VIDEO_STATUS" :value="scope.row.status" />
-
         </template>
       </el-table-column>
       <el-table-column :label="t('table.action')" align="center" min-width="110" fixed="right">
@@ -118,6 +116,15 @@
               瀛楀箷
             </el-button>
           </template>
+          <template v-if="scope.row.subtitlesAddStatus == 2">
+            <el-button
+              link
+              type="primary"
+              @click="handleDownload(scope.row.videoUrl,scope.row.courseName)"
+            >
+             涓嬭浇瀛楀箷鍚堟垚瑙嗛
+            </el-button>
+          </template>
         <template v-if="scope.row.status == 2 || scope.row.status==3">
           <el-button
             link

--
Gitblit v1.9.3