mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
案例,如果密级不是内部的,不能查看
This commit is contained in:
@@ -305,15 +305,6 @@ const getAuditInfo = function(data) {
|
|||||||
return ajax.post('/xboe/m/course/audit/infos', data);
|
return ajax.post('/xboe/m/course/audit/infos', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取审核日志,此功能是为了管理员查看课程的审核日志。
|
|
||||||
* 为后续查看增加的接口
|
|
||||||
* @param {courseId:'课程ID',teacherId:'可以不填写,系统会查询当前人'} data
|
|
||||||
*/
|
|
||||||
const getAuditLogs = function(data) {
|
|
||||||
return ajax.post('/xboe/m/course/audit/logs', data);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 管理员的课程审核处理
|
* 管理员的课程审核处理
|
||||||
@@ -339,7 +330,7 @@ const auditCourseRecords = function(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 管理员的课程发布
|
* 管理员的课程发布,当前已经不再使用了
|
||||||
* @param {Object} query {ids:课程id,多个使用逗号分隔,title:课程的名称, Boolean pass 是否发布}
|
* @param {Object} query {ids:课程id,多个使用逗号分隔,title:课程的名称, Boolean pass 是否发布}
|
||||||
*/
|
*/
|
||||||
const publish = function(data) {
|
const publish = function(data) {
|
||||||
@@ -382,7 +373,7 @@ const detailFew=function(id){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
直接审核
|
直接审核,教师提交审核
|
||||||
*/
|
*/
|
||||||
const sumbits=function(data){
|
const sumbits=function(data){
|
||||||
return ajax.post('/xboe/m/course/manage/sumbits',data);
|
return ajax.post('/xboe/m/course/manage/sumbits',data);
|
||||||
@@ -463,7 +454,6 @@ export default {
|
|||||||
teacherAuditList,
|
teacherAuditList,
|
||||||
auditAppoint,
|
auditAppoint,
|
||||||
getAuditInfo,
|
getAuditInfo,
|
||||||
getAuditLogs,
|
|
||||||
audit,
|
audit,
|
||||||
auditPageRecords,
|
auditPageRecords,
|
||||||
auditCourseRecords,
|
auditCourseRecords,
|
||||||
|
|||||||
@@ -415,7 +415,12 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
viewTopic(data) {
|
viewTopic(data) {
|
||||||
|
if(data.confidentialityLevel=='内部'){
|
||||||
this.$router.push({path:'/case/detail',query:{id:data.id}})
|
this.$router.push({path:'/case/detail',query:{id:data.id}})
|
||||||
|
}else{
|
||||||
|
this.$message.warning("非内部密级案例不能查看");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user