|
|
|
@ -129,7 +129,7 @@ class GraduationTasks extends Component{
|
|
|
|
|
let {checkBoxValues,checkAllValue}=this.state;
|
|
|
|
|
|
|
|
|
|
if(checkAllValue===false){
|
|
|
|
|
if(checkBoxValues.length===0){
|
|
|
|
|
if(checkBoxValues.length===0||checkAllValue===undefined){
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -612,7 +612,6 @@ class GraduationTasks extends Component{
|
|
|
|
|
const category_id=this.props.match.params.Id;
|
|
|
|
|
const graduationId=this.props.match.params.graduationId;
|
|
|
|
|
// console.log(this.props.isCourseidentity()===isNotMember)
|
|
|
|
|
console.log(checkBoxValues)
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
{/*提示*/}
|
|
|
|
@ -737,7 +736,7 @@ class GraduationTasks extends Component{
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<Spin size="large" spinning={this.state.isSpin}> <Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues}>
|
|
|
|
|
<Spin size="large" spinning={this.state.isSpin}> <Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues===undefined?[]:checkBoxValues}>
|
|
|
|
|
{ tasks&&tasks.map((item, index) => {
|
|
|
|
|
// console.log(item)
|
|
|
|
|
return (
|
|
|
|
|