Merge branch 'master' of http://yykjgit.sdyyst.com/r/easegen
| | |
| | | |
| | | --app-content-padding: 20px; |
| | | |
| | | --app-content-bg-color: #f5f7f9; |
| | | --app-content-bg-color: #fff; |
| | | |
| | | --app-footer-height: 50px; |
| | | |
| | |
| | | } |
| | | percentagePPT.value = parseInt(`${progress * 100}`) |
| | | } else if (res && res.length > 0) { |
| | | console.log('解析成功', res) |
| | | console.log('courseInfo', courseInfo.value) |
| | | res.forEach((item) => { |
| | | item.isActive = false |
| | |
| | | </ContentWrap> |
| | | |
| | | <!-- 视频播放弹框 --> |
| | | <el-dialog |
| | | v-model="videoPlayDialogVisible" |
| | | title="视频预览" |
| | | width="60%" |
| | | @close="handleVideoPlayClose" |
| | | > |
| | | <div class="video-play-container"> |
| | | <video |
| | | ref="currentPlayVideo" |
| | | v-if="currentPlayUrl" |
| | | :src="currentPlayUrl" |
| | | controls |
| | | class="play-video" |
| | | ></video> |
| | | </div> |
| | | </el-dialog> |
| | | <videoDialog ref="videoRef" /> |
| | | |
| | | <!-- 字幕生成弹框 --> |
| | | <el-dialog |
| | |
| | | result = data.getString("result"); |
| | | System.out.println("任务已完成,结果文件路径: " + result); |
| | | } else if (status == 3){ |
| | | throw new RuntimeException("任务失败,请联系管理员"); |
| | | throw new RuntimeException(data.getString("msg")); |
| | | }else { |
| | | System.out.println("任务尚未完成,当前进度: " + data.getIntValue("progress") + "%"); |
| | | } |