|
|
@ -157,9 +157,9 @@ class Trainingjobsetting extends Component {
|
|
|
|
this.props.triggerRef(this);
|
|
|
|
this.props.triggerRef(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (this.props.isAdmin() === false) {
|
|
|
|
if (this.props.isAdmin() === false) {
|
|
|
|
// this.cancelEdit()
|
|
|
|
this.cancelEdit()
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// componentWillReceiveProps(nextProps) {
|
|
|
|
// componentWillReceiveProps(nextProps) {
|
|
|
@ -676,7 +676,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
// this.props.showNotification(`总分值+效率效率分之和要等于100,现在分值为` + max);
|
|
|
|
// this.props.showNotification(`总分值+效率效率分之和要等于100,现在分值为` + max);
|
|
|
|
// return;
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
debugger
|
|
|
|
|
|
|
|
if (this.state.proportion === "自定义分值") {
|
|
|
|
if (this.state.proportion === "自定义分值") {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if(parseFloat(this.state.CalculateMax)!==parseFloat(max)){
|
|
|
|
if(parseFloat(this.state.CalculateMax)!==parseFloat(max)){
|
|
|
|