dev_forum
杨树明 5 years ago
parent 23fea61cc0
commit e101275492

@ -196,8 +196,8 @@ class Trainingjobsetting extends Component {
array.push({ array.push({
course_group_id: result.data.group_settings[i].group_id, course_group_id: result.data.group_settings[i].group_id,
course_group_name: result.data.group_settings[i].group_name, course_group_name: result.data.group_settings[i].group_name,
publish_time: result.data.group_settings[i].publish_time, publish_time: moment(result.data.group_settings[i].publish_time).format('YYYY-MM-DD HH:mm'),
end_time: result.data.group_settings[i].end_time, end_time: moment(result.data.group_settings[i].end_time).format('YYYY-MM-DD HH:mm'),
publish_flag: "", publish_flag: "",
end_flag: "", end_flag: "",
class_flag: "", class_flag: "",
@ -215,8 +215,8 @@ class Trainingjobsetting extends Component {
arrays.push({ arrays.push({
course_group_id:result.data.group_settings[i].group_id, course_group_id:result.data.group_settings[i].group_id,
course_group_name:result.data.group_settings[i].group_name, course_group_name:result.data.group_settings[i].group_name,
publish_time:result.data.group_settings[i].publish_time, publish_time:moment( result.data.group_settings[i].publish_time).format('YYYY-MM-DD HH:mm') ,
end_time:result.data.group_settings[i].end_time, end_time:moment(result.data.group_settings[i].end_time ).format('YYYY-MM-DD HH:mm'),
course_choosed:0, course_choosed:0,
}) })
@ -612,7 +612,7 @@ class Trainingjobsetting extends Component {
// item.publiend_timesh_time="" // item.publiend_timesh_time=""
// } // }
// }) // })
//
let {rules}=this.state; let {rules}=this.state;
data = { data = {
unified_setting: this.state.unifiedsetting, //非统一配置 unified_setting: this.state.unifiedsetting, //非统一配置

Loading…
Cancel
Save