|  |  |  | @ -392,24 +392,36 @@ class Statistics extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 			) | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		// console.log(this.props.isAdmin)
 | 
			
		
	
		
			
				
					|  |  |  |  | 		 // console.log("Statistics");
 | 
			
		
	
		
			
				
					|  |  |  |  | 		 // console.log(this.props.user.course_is_end)
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		const operations = <React.Fragment> | 
			
		
	
		
			
				
					|  |  |  |  |      const course_is_endismy=this.props&&this.props.user&&this.props.user.course_is_end; | 
			
		
	
		
			
				
					|  |  |  |  | 		 const operations = <React.Fragment> | 
			
		
	
		
			
				
					|  |  |  |  | 			{course_grouptype===false||this.state.course_groups.length===0?"": | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.isAdmin()===true? | 
			
		
	
		
			
				
					|  |  |  |  | 					<Dropdownbox | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.props} | 
			
		
	
		
			
				
					|  |  |  |  | 						{...this.state} | 
			
		
	
		
			
				
					|  |  |  |  | 						postwork_scoredata={(group_idss)=>this.getwork_scoredata(1,group_idss,'desc') | 
			
		
	
		
			
				
					|  |  |  |  | 						} | 
			
		
	
		
			
				
					|  |  |  |  | 					/> | 
			
		
	
		
			
				
					|  |  |  |  | 					:"" | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			{ | 
			
		
	
		
			
				
					|  |  |  |  | 				this.state.activeKey==="1"? | 
			
		
	
		
			
				
					|  |  |  |  | 					<a className={"ml20 ant-btn-link"} onClick={()=>this.setComputeTimet(this.props.match.params.coursesId)}>获取最新成绩</a> | 
			
		
	
		
			
				
					|  |  |  |  | 					( | 
			
		
	
		
			
				
					|  |  |  |  | 						course_is_endismy===false? | 
			
		
	
		
			
				
					|  |  |  |  | 							<a className={"ml20 ant-btn-link"} onClick={()=>this.setComputeTimet(this.props.match.params.coursesId)}>获取最新成绩</a> | 
			
		
	
		
			
				
					|  |  |  |  | 							: | 
			
		
	
		
			
				
					|  |  |  |  | 							"" | 
			
		
	
		
			
				
					|  |  |  |  | 					) | 
			
		
	
		
			
				
					|  |  |  |  | 					:"" | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			{ | 
			
		
	
		
			
				
					|  |  |  |  | 				this.props.isAdmin()===true? | 
			
		
	
		
			
				
					|  |  |  |  | 					<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/courses/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a> | 
			
		
	
		
			
				
					|  |  |  |  | 					:"" | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/courses/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a> | 
			
		
	
		
			
				
					|  |  |  |  | 		</React.Fragment>; | 
			
		
	
		
			
				
					|  |  |  |  | 		return( | 
			
		
	
		
			
				
					|  |  |  |  | 			<React.Fragment> | 
			
		
	
	
		
			
				
					|  |  |  | @ -586,7 +598,7 @@ class Statistics extends Component{ | 
			
		
	
		
			
				
					|  |  |  |  | 									} | 
			
		
	
		
			
				
					|  |  |  |  | 								` | 
			
		
	
		
			
				
					|  |  |  |  | 							}</style> | 
			
		
	
		
			
				
					|  |  |  |  | 						<Tabs  className="statisticsTabs" activeKey={this.state.activeKey} onChange={this.activeKey} tabBarExtraContent={this.props.isAdmin()===true?operations:""}> | 
			
		
	
		
			
				
					|  |  |  |  | 						<Tabs  className="statisticsTabs" activeKey={this.state.activeKey} onChange={this.activeKey} tabBarExtraContent={operations}> | 
			
		
	
		
			
				
					|  |  |  |  | 							<TabPane tab="学习成绩" key="1" className={"statisticsTabs1"} > | 
			
		
	
		
			
				
					|  |  |  |  | 								{bomdata===undefined||bomdata===null?"":bomdata.length===0?<NoneData/>:<Table | 
			
		
	
		
			
				
					|  |  |  |  | 									columns={columns} | 
			
		
	
	
		
			
				
					|  |  |  | 
 |