@@ -163,6 +163,9 @@ export default {
}else if(item.cmtask_type==3){
let pushUrl=`/course/boeframe?id=${item.cmtask_id}&type=3`;
this.$router.push(pushUrl);
+ }else if(item.cmtask_type==4){
+ let params=encodeURIComponent('projectId='+item.cmtask_id);
+ this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
}
},
getPossData(){
@@ -205,31 +208,17 @@ export default {
})
}else if (this.isType == 2){
//定制化学习
- if(this.typeClass == 1){
- apiManage.customized(params).then(res=>{
- if(res.code==200){
- this.total =parseInt(res.data.total);
- this.couresList = res.data.records;
- }else{
- this.$message.error('查询数据失败:'+res.msg);
- }
- this.loading=false;
- }).catch(()=>{
- this.loading=false;
- })
- }else{
- apiManage.compulsoryList(params).then(res=>{
- if(res.code==200){
- this.total =parseInt(res.data.total);
- this.couresList = res.data.records;
- }else{
- this.$message.error('查询数据失败:'+res.msg);
- }
- this.loading=false;
- }).catch(()=>{
- this.loading=false;
- })
- }
+ apiManage.compulsoryList(params).then(res=>{
+ if(res.code==200){
+ this.total =parseInt(res.data.total);
+ this.couresList = res.data.records;
+ }else{
+ this.$message.error('查询数据失败:'+res.msg);
+ }
+ this.loading=false;
+ }).catch(()=>{
+ this.loading=false;
+ })
}else{
apiManage.userTaskList(params).then(res=>{
if(res.code==200){