mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
Merge branch 'dev' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into dev
This commit is contained in:
@@ -74,10 +74,10 @@
|
||||
</el-menu-item>
|
||||
</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>
|
||||
<span slot="title">教师管理</span>
|
||||
</el-menu-item>
|
||||
</el-menu-item> -->
|
||||
<!-- <el-menu-item index="/case/manage" v-show="curIdentity == 3">
|
||||
<svg-icon icon-class="case"></svg-icon>
|
||||
<span slot="title">案例管理</span>
|
||||
|
||||
@@ -152,7 +152,11 @@ computed: {
|
||||
apiBoeCourse.delLearning(item.kid).then(res=>{
|
||||
if(res.status==200){
|
||||
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)=>{
|
||||
if(item.id == it.id) {
|
||||
this.dataList.splice(i,1);
|
||||
@@ -166,7 +170,11 @@ computed: {
|
||||
apicourseStudy.deleteSignUp(item.id,item.courseId).then(res =>{
|
||||
if(res.status==200){
|
||||
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)=>{
|
||||
if(item.id == it.id) {
|
||||
this.dataList.splice(i,1);
|
||||
|
||||
Reference in New Issue
Block a user