提交修改

This commit is contained in:
daihh
2022-12-13 18:24:58 +08:00
parent 27ca01c5ec
commit 70fdd8b728
2 changed files with 5 additions and 5 deletions

View File

@@ -256,7 +256,7 @@
</el-menu-item>
<el-menu-item index="/uc/study/path" v-show="isTest">
<!-- <i class="el-icon-menu"></i> -->
<span slot="title" class="textl">学习路径图</span>
<span slot="title" class="textl">我的路径图</span>
</el-menu-item>
<!-- <el-menu-item index="/uc/study/history"> -->
<!-- <i class="el-icon-menu"></i> -->

View File

@@ -188,7 +188,7 @@
<el-button type="primary" @click="saveUpload()">保存</el-button>
</span>
</el-dialog>
<el-dialog title="预览课件" :close-on-click-modal="false" :visible.sync="coursewareShow" custom-class="g-dialog">
<el-dialog title="预览课件" :close-on-click-modal="false" width="800px" :visible.sync="coursewareShow" custom-class="g-dialog">
<div>
<div class="courseware-title">{{ fileInfo.fileName }}</div>
<div class="courseware-icon">
@@ -684,12 +684,12 @@ export default {
}
//scorm课件的内容取第一个sco
var scorm=JSON.parse(row.content);
console.log(scorm,'scorm')
//console.log(scorm,'scorm')
if(scorm.index){
//这里需要提取的到配置文件中,实际中只需要传 rowId就可以了
this.scormUrl='http://localhost:9083/scorm-player?page='+scorm.index;//播放的首页
this.scormUrl='http://localhost:9083/scorm-player?scormId='+row.id;//播放的首页
}else{
this.scormUrl='http://localhost:9083/scorm-player?page='+scorm.index;//播放的首页
this.scormUrl='http://localhost:9083/scorm-player?scormId='+row.id;//播放的首页
}
}