dev_newshixunModel
杨树林 5 years ago
parent d3f1f5402a
commit 04b2aecf3e

@ -297,7 +297,7 @@ class Trainingjobsetting extends Component {
if(bool===true){ if(bool===true){
if(this.props.isAdmin() !== undefined){ if(this.props.isAdmin() !== undefined){
if(this.props.isAdmin() === true){ if(this.props.isAdmin() === true){
this.editSetting(result); this.editSettings(result);
} }
} }
} }
@ -1822,7 +1822,7 @@ class Trainingjobsetting extends Component {
if(moment(datas.data.late_time,"YYYY-MM-DD HH:mm")<=moment()){ if(moment(datas.data.late_time,"YYYY-MM-DD HH:mm")<=moment()){
endtime=false; endtime=false;
} }
if(result.data.allow_late === false){ if(datas.data.allow_late === false){
whethertopays=false; whethertopays=false;
} }

Loading…
Cancel
Save