dev_forum
杨树林 5 years ago
parent ad5067bebe
commit d3de780bb4

@ -1698,14 +1698,14 @@ class Trainingjobsetting extends Component {
if(rules[i].course_group_id instanceof Array ){
datas.push({
group_id:rules[i].course_group_id,
publish_time:rules[i].publish_time===undefined||rules[i].publish_time===null||rules[i].publish_time===""?"": moment(rules[i].publish_time).format('YYYY-MM-DD HH:mm') ,
end_time:rules[i].end_time===undefined||rules[i].end_time===null||rules[i].end_time===""?"": moment(rules[i].end_time).format('YYYY-MM-DD HH:mm') ,
publish_time: moment(rules[i].publish_time).format('YYYY-MM-DD HH:mm') ,
end_time:moment(rules[i].end_time).format('YYYY-MM-DD HH:mm') ,
});
}else {
datas.push({
group_id:[rules[i].course_group_id],
publish_time: rules[i].publish_time===undefined||rules[i].publish_time===null||rules[i].publish_time===""?"": moment(rules[i].publish_time).format('YYYY-MM-DD HH:mm') ,
end_time:rules[i].end_time===undefined||rules[i].end_time===null||rules[i].end_time===""?"": moment(rules[i].end_time).format('YYYY-MM-DD HH:mm') ,
publish_time: moment(rules[i].publish_time).format('YYYY-MM-DD HH:mm') ,
end_time:moment(rules[i].end_time).format('YYYY-MM-DD HH:mm') ,
});
}

Loading…
Cancel
Save