mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
修改接口
This commit is contained in:
@@ -26,7 +26,7 @@ const userRead = function(data){
|
||||
}
|
||||
//查询未读数量
|
||||
const queryTaskCounts = function(){
|
||||
return ajax.get(baseURL,'/todoTask/queryTaskCounts');
|
||||
return ajax.postJson(baseURL,'/todoTask/queryTaskCounts');
|
||||
}
|
||||
//领导力必修
|
||||
const leadership = function(data){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="margin-top: 50px;" v-if="isType == 9">
|
||||
<div style="margin-top: 50px;" v-if="isType == 9||couresList.length == 0">
|
||||
<el-empty description="您还没有学习数据"></el-empty>
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -157,7 +157,7 @@ export default {
|
||||
if(this.$route.query.type==1 || !this.$route.query.type){
|
||||
type = '0'
|
||||
}
|
||||
apiManage.userRead({type,id:item.cmtask_id})
|
||||
// apiManage.userRead({type,id:item.cmtask_id})
|
||||
if(item.cmtask_type==1){ //学习路径图
|
||||
let params=encodeURIComponent('routerId='+item.cmtask_id);
|
||||
//this.$router.push('/forward?to='+studentPath+'/pathdetails¶ms='+params);
|
||||
|
||||
Reference in New Issue
Block a user