|
|
@ -186,7 +186,7 @@ app.controller('ClassController', ['$scope', 'config','$http', 'auth','$location
|
|
|
|
vm.sendFile = function(r,index){
|
|
|
|
vm.sendFile = function(r,index){
|
|
|
|
vm.myresource_sendIndex = index;
|
|
|
|
vm.myresource_sendIndex = index;
|
|
|
|
rms.save('myresource_sendIndex',index);
|
|
|
|
rms.save('myresource_sendIndex',index);
|
|
|
|
$location.path("/send_class_list").search({id: r.id});
|
|
|
|
$location.path("/send_class_list").search({id: r.id,course_id: courseid});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if(!vm.currentTab){
|
|
|
|
if(!vm.currentTab){
|
|
|
@ -306,4 +306,15 @@ app.controller('ClassController', ['$scope', 'config','$http', 'auth','$location
|
|
|
|
$location.path("/class_publishissue").search({id:courseid});
|
|
|
|
$location.path("/class_publishissue").search({id:courseid});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vm.goHomeworkDetail = function(id){
|
|
|
|
|
|
|
|
rms.save("yoffset", document.documentElement.scrollTop || document.body.scrollTop);
|
|
|
|
|
|
|
|
rms.save('course_activities_page',vm.course_activities_page);
|
|
|
|
|
|
|
|
rms.save("course_activities",vm.course_activities);
|
|
|
|
|
|
|
|
rms.save('course_has_more', vm.course_has_more);
|
|
|
|
|
|
|
|
rms.save("tab_num",vm.currentTab);
|
|
|
|
|
|
|
|
rms.save("course",vm.course);
|
|
|
|
|
|
|
|
// $location.path('/'+type+'/'+act_id);
|
|
|
|
|
|
|
|
$location.path("/homework").search({id: id});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}]);
|
|
|
|
}]);
|