|
|
@ -447,8 +447,8 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
let rulesdata=this.state.rulesdata;
|
|
|
|
let rulesdata=this.state.rulesdata;
|
|
|
|
// console.log("pustdate123131312321321321");
|
|
|
|
console.log("pustdate123131312321321321");
|
|
|
|
// console.log(rulesdata);
|
|
|
|
console.log(rulesdata);
|
|
|
|
if(
|
|
|
|
if(
|
|
|
|
rulesdata.length === 0){
|
|
|
|
rulesdata.length === 0){
|
|
|
|
this.props.showNotification(`分班发布设置不能为空`);
|
|
|
|
this.props.showNotification(`分班发布设置不能为空`);
|
|
|
@ -614,6 +614,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
// })
|
|
|
|
// })
|
|
|
|
//
|
|
|
|
//
|
|
|
|
let {rules}=this.state;
|
|
|
|
let {rules}=this.state;
|
|
|
|
|
|
|
|
var mydatas=[];
|
|
|
|
data = {
|
|
|
|
data = {
|
|
|
|
unified_setting: this.state.unifiedsetting, //非统一配置
|
|
|
|
unified_setting: this.state.unifiedsetting, //非统一配置
|
|
|
|
group_settings: rules,
|
|
|
|
group_settings: rules,
|
|
|
@ -1728,8 +1729,8 @@ class Trainingjobsetting extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log(rules)
|
|
|
|
console.log(rules);
|
|
|
|
console.log(datas)
|
|
|
|
console.log(datas);
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
rules,
|
|
|
|
rules,
|
|
|
|
rulesdata:datas,
|
|
|
|
rulesdata:datas,
|
|
|
|