mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 21:06:42 +08:00
Merge branch 'dev'
This commit is contained in:
@@ -74,10 +74,10 @@
|
|||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
<!--增加一个说明-->
|
<!--增加一个说明-->
|
||||||
<el-menu-item index="/manage/teachers" v-show="curIdentity == 3">
|
<!-- <el-menu-item index="/manage/teachers" v-show="curIdentity == 3">
|
||||||
<svg-icon icon-class="teather"></svg-icon>
|
<svg-icon icon-class="teather"></svg-icon>
|
||||||
<span slot="title">教师管理</span>
|
<span slot="title">教师管理</span>
|
||||||
</el-menu-item>
|
</el-menu-item> -->
|
||||||
<!-- <el-menu-item index="/case/manage" v-show="curIdentity == 3">
|
<!-- <el-menu-item index="/case/manage" v-show="curIdentity == 3">
|
||||||
<svg-icon icon-class="case"></svg-icon>
|
<svg-icon icon-class="case"></svg-icon>
|
||||||
<span slot="title">案例管理</span>
|
<span slot="title">案例管理</span>
|
||||||
|
|||||||
@@ -505,9 +505,9 @@ export default {
|
|||||||
//console.log(urlSign,'urlSign');
|
//console.log(urlSign,'urlSign');
|
||||||
cookies.set('PLAYSIGN_TIME', ctime);//写客户端的cookie保存
|
cookies.set('PLAYSIGN_TIME', ctime);//写客户端的cookie保存
|
||||||
//this.blobUrl=process.env.VUE_APP_BASE_API+'/xboe/m/course/play/resource?sign='+urlSign;
|
//this.blobUrl=process.env.VUE_APP_BASE_API+'/xboe/m/course/play/resource?sign='+urlSign;
|
||||||
this.blobUrl=process.env.VUE_APP_BASE_API+'/xboe/course/resource?fid='+fid;
|
//this.blobUrl=process.env.VUE_APP_BASE_API+'/xboe/course/resource?fid='+fid;
|
||||||
//this.blobUrl='http://localhost:9090/xboe/course/resource?fid='+fid;
|
//this.blobUrl='http://localhost:9090/xboe/course/resource?fid='+fid;
|
||||||
//this.blobUrl=this.fileBaseUrl+u;
|
this.blobUrl=this.fileBaseUrl+u;
|
||||||
},
|
},
|
||||||
createVideoBlob(url){
|
createVideoBlob(url){
|
||||||
let $this=this;
|
let $this=this;
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ computed: {
|
|||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
delItem(item,itemIdx) {
|
delItem(item,itemIdx){
|
||||||
this.$confirm('您确定要删除所选课程吗?', '删除提示', {
|
this.$confirm('您确定要删除所选课程吗?', '删除提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
@@ -152,7 +152,11 @@ computed: {
|
|||||||
apiBoeCourse.delLearning(item.kid).then(res=>{
|
apiBoeCourse.delLearning(item.kid).then(res=>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
this.$message({ type: 'success', message: '删除成功!' });
|
this.$message({ type: 'success', message: '删除成功!' });
|
||||||
this.couresList.splice(itemIdx,1);
|
this.couresList.forEach((ic,index)=>{
|
||||||
|
if(item.kid == ic.kid) {
|
||||||
|
this.couresList.splice(index,1);
|
||||||
|
}
|
||||||
|
})
|
||||||
this.dataList.forEach((it,i)=>{
|
this.dataList.forEach((it,i)=>{
|
||||||
if(item.id == it.id) {
|
if(item.id == it.id) {
|
||||||
this.dataList.splice(i,1);
|
this.dataList.splice(i,1);
|
||||||
@@ -166,7 +170,11 @@ computed: {
|
|||||||
apicourseStudy.deleteSignUp(item.id,item.courseId).then(res =>{
|
apicourseStudy.deleteSignUp(item.id,item.courseId).then(res =>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
this.$message({ type: 'success', message: '删除成功!' });
|
this.$message({ type: 'success', message: '删除成功!' });
|
||||||
this.couresList.splice(itemIdx,1);
|
this.couresList.forEach((ic,index)=>{
|
||||||
|
if(item.id == ic.id) {
|
||||||
|
this.couresList.splice(index,1);
|
||||||
|
}
|
||||||
|
})
|
||||||
this.dataList.forEach((it,i)=>{
|
this.dataList.forEach((it,i)=>{
|
||||||
if(item.id == it.id) {
|
if(item.id == it.id) {
|
||||||
this.dataList.splice(i,1);
|
this.dataList.splice(i,1);
|
||||||
|
|||||||
Reference in New Issue
Block a user