// 获取当前周期
getCurrentCycle(subDepartmentId=this.props.subDepartmentId) {

let { dispatch } = this.props

calculateApi.currentKaoqinCycle({id:subDepartmentId}).then(res=>{
if (res.data.id) {
//console.log(res.data.name);
this.setState({
cycleName: res.data.name
})
//console.log('CYCLECYCLE',this.state.cycleName);
console.log('CYCLECYCLE',res.data.name);
}else{
this.setState({
cycleName: ''
})
}
})
}

 

相关文章:

  • 2021-12-23
  • 2021-08-06
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-27
  • 2021-12-20
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案