|
|
|
@ -618,7 +618,7 @@ class Fileslists extends Component{
|
|
|
|
|
modalname:"立即发布",
|
|
|
|
|
modaltype:response.data.course_groups===null||response.data.course_groups.length===0?2:1,
|
|
|
|
|
visible:true,
|
|
|
|
|
typs:"start",
|
|
|
|
|
typs:"end",
|
|
|
|
|
Topval:"学生将能立即收到资源",
|
|
|
|
|
// Botvalleft:"暂不发布",
|
|
|
|
|
// Botval:`本操作只对"未发布"的分班有效`,
|
|
|
|
@ -645,6 +645,7 @@ class Fileslists extends Component{
|
|
|
|
|
let url ="/files/bulk_publish.json";
|
|
|
|
|
axios.put(url, {
|
|
|
|
|
course_id:coursesId,
|
|
|
|
|
group_ids:ds,
|
|
|
|
|
ids :checkBoxValues,
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if(result.status===200){
|
|
|
|
|