|  |  | @ -17,6 +17,8 @@ import NoneDatas from '../component/NoneDatas'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import LoadingSpin from '../../../common/LoadingSpin'; |  |  |  | import LoadingSpin from '../../../common/LoadingSpin'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import Contentquestionbank from "./Contentquestionbank"; |  |  |  | import Contentquestionbank from "./Contentquestionbank"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import Listjihe from "./Listjihe"; |  |  |  | import Listjihe from "./Listjihe"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import Certifiedprofessional from "../../modals/Certifiedprofessional"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import QuestionModalPicture from '../component/QuestionModalPicture.js' | 
			
		
	
		
		
			
				
					
					|  |  |  | const { TabPane } = Tabs; |  |  |  | const { TabPane } = Tabs; | 
			
		
	
		
		
			
				
					
					|  |  |  | const Search = Input.Search; |  |  |  | const Search = Input.Search; | 
			
		
	
		
		
			
				
					
					|  |  |  | class Contentpart extends Component { |  |  |  | class Contentpart extends Component { | 
			
		
	
	
		
		
			
				
					|  |  | @ -25,25 +27,114 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		this.state = { |  |  |  | 		this.state = { | 
			
		
	
		
		
			
				
					
					|  |  |  | 			page:1, |  |  |  | 			page:1, | 
			
		
	
		
		
			
				
					
					|  |  |  | 			chakanjiexibool:false, |  |  |  | 			chakanjiexibool:false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			mydisplay:false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			occupation:2, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			url: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			isysladmins:false, | 
			
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	//初始化
 |  |  |  | 	//初始化
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	componentDidMount(){ |  |  |  | 	componentDidMount(){ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		let isysladmins=false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			if(this.props.current_user){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if(this.props.current_user.admin){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				else if(this.props.current_user.business){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			isysladmins:isysladmins | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	handleShowUploadImage = (url) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		// console.log('==============>>>>>>>>>>>>',url);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		// setUrl(url);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			url:url | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	handleClose=()=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			url:'', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	chakanjiexibool=(index)=>{ |  |  |  | 	chakanjiexibool=(index)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props.current_user.professional_certification===false&&this.state.isysladmins===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.HideAddcoursestypess(2); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |    this.props.chakanjiexibool(index); |  |  |  |    this.props.chakanjiexibool(index); | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	showmodels=(e)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props.current_user.professional_certification===false&&this.state.isysladmins===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.HideAddcoursestypess(2); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.props.showmodels(e) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	showmodelsInaudit=(e)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props.current_user.professional_certification===false&&this.state.isysladmins===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.HideAddcoursestypess(2); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.props.showmodelsInaudit(e) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	showmodelysl=(e)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props.current_user.professional_certification===false&&this.state.isysladmins===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.HideAddcoursestypess(2); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.props.showmodelysl(e) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	componentDidUpdate(prevProps) { |  |  |  | 	componentDidUpdate(prevProps) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		if(prevProps.current_user !== this.props.current_user) { |  |  |  | 		if(prevProps.current_user !== this.props.current_user) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 			const isysladmins=this.props&&this.props.current_user&&this.props.current_user.admin?this.props.current_user.admin:false; |  |  |  | 			let isysladmins=false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 			const is_teacher=this.props&&this.props.current_user&&this.props.current_user.is_teacher?this.props.current_user.is_teacher:false; |  |  |  | 			let is_teacher=this.props&&this.props.current_user&&this.props.current_user.is_teacher?this.props.current_user.is_teacher:false; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			const professional_certification=this.props&&this.props.current_user&&this.props.current_user.professional_certification?this.props.current_user.professional_certification:false; |  |  |  | 			const professional_certification=this.props&&this.props.current_user&&this.props.current_user.professional_certification?this.props.current_user.professional_certification:false; | 
			
		
	
		
		
			
				
					
					|  |  |  | 			let {defaultActiveKey} = this.props; |  |  |  | 			let {defaultActiveKey} = this.props; | 
			
		
	
		
		
			
				
					
					|  |  |  | 			var defaultActiveKeys=defaultActiveKey; |  |  |  | 			var defaultActiveKeys=defaultActiveKey; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		try { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			if(this.props){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if(this.props.current_user){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					if(this.props.current_user.admin){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					else if(this.props.current_user.business){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			if(is_teacher===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if(this.props.current_user.user_identity !=="学生"){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					//专业人士
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					is_teacher=true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}catch (e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				isysladmins:isysladmins | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 			if(isysladmins===true||(is_teacher===true&&professional_certification===true)){ |  |  |  | 			if(isysladmins===true||(is_teacher===true&&professional_certification===true)){ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				defaultActiveKeys="0" |  |  |  | 				defaultActiveKeys="0" | 
			
		
	
		
		
			
				
					
					|  |  |  | 			}else{ |  |  |  | 			}else{ | 
			
		
	
	
		
		
			
				
					|  |  | @ -52,7 +143,26 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 			this.props.callback(defaultActiveKeys); |  |  |  | 			this.props.callback(defaultActiveKeys); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	HideAddcoursestypess=(i)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		console.log("调用了"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			mydisplay:true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			occupation:i, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	mydisplayHidedel=()=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			mydisplay:false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	xinzenw=(e)=>{ |  |  |  | 	xinzenw=(e)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		//只限制了教师
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		if(this.props.current_user.professional_certification===false&&this.state.isysladmins===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			this.HideAddcoursestypess(2); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  | 		var urls=""; |  |  |  | 		var urls=""; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		 if(this.props.discipline_id){ |  |  |  | 		 if(this.props.discipline_id){ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			 // if(urls==="?"){
 |  |  |  | 			 // if(urls==="?"){
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -95,13 +205,32 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	render() { |  |  |  | 	render() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		let {page}=this.state; |  |  |  | 		let {page,mydisplay,url}=this.state; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		let {defaultActiveKey,item_type,booljupyterurls}=this.props; |  |  |  | 		let {defaultActiveKey,item_type,booljupyterurls}=this.props; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		const defaultActiveKeys=defaultActiveKey+''; |  |  |  | 		const defaultActiveKeys=defaultActiveKey+''; | 
			
		
	
		
		
			
				
					
					|  |  |  | 		const isysladmins=this.props&&this.props.current_user&&this.props.current_user.admin?this.props.current_user.admin:false; |  |  |  | 		let isysladmins=false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 		const is_teacher=this.props&&this.props.current_user&&this.props.current_user.is_teacher?this.props.current_user.is_teacher:false; |  |  |  | 		let is_teacher=this.props&&this.props.current_user&&this.props.current_user.is_teacher?this.props.current_user.is_teacher:false; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		const professional_certification=this.props&&this.props.current_user&&this.props.current_user.professional_certification?this.props.current_user.professional_certification:false; |  |  |  | 		const professional_certification=this.props&&this.props.current_user&&this.props.current_user.professional_certification?this.props.current_user.professional_certification:false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		try { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			if(is_teacher===false){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if(this.props.current_user.user_identity !=="学生"){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					//专业人士
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					is_teacher=true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			if(this.props){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if(this.props.current_user){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					if(this.props.current_user.admin){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					else if(this.props.current_user.business){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						isysladmins=true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		}catch (e) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		const content = ( |  |  |  | 		const content = ( | 
			
		
	
		
		
			
				
					
					|  |  |  | 			<div className="questiontypes" style={{ |  |  |  | 			<div className="questiontypes" style={{ | 
			
		
	
	
		
		
			
				
					|  |  | @ -137,11 +266,37 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		// console.log("Contentpart.js");
 |  |  |  | 		// console.log("Contentpart.js");
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		//console.log(this.props.defaultActiveKey);
 |  |  |  | 		// console.log(this.props.current_user.professional_certification);
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		return ( |  |  |  | 		return ( | 
			
		
	
		
		
			
				
					
					|  |  |  | 			<div className=" clearfix mt25"> |  |  |  | 			<div className=" clearfix mt25"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				<div className="educontent mt10 pb20 w1200s"> |  |  |  | 				<div className="educontent mt10 pb20 w1200s"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					{url? | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						<QuestionModalPicture  {...this.props} {...this.state} handleClose={()=>this.handleClose()}></QuestionModalPicture> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						: | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						"" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						mydisplay===true? | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 							<Certifiedprofessional {...this.props} {...this.state}  ModalCancelsy={this.mydisplayHidedel} /> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 							:"" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						mydisplay===true? | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 							<style> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 								{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 									` | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 									  body{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             overflow:hidden!important; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 									` | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 								} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 							</style> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 							:"" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					} | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<div className="w1200ms contentparttit" style={{ |  |  |  | 					<div className="w1200ms contentparttit" style={{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 						position: "relative", |  |  |  | 						position: "relative", | 
			
		
	
		
		
			
				
					
					|  |  |  | 					}}> |  |  |  | 					}}> | 
			
		
	
	
		
		
			
				
					|  |  | @ -166,7 +321,7 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 						{ |  |  |  | 						{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 							isysladmins===true||(is_teacher===true&&professional_certification===true)? |  |  |  | 							isysladmins===true||is_teacher===true? | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 									<Tabs activeKey={defaultActiveKeys} onChange={(e)=>this.props.callback(e)}> |  |  |  | 									<Tabs activeKey={defaultActiveKeys} onChange={(e)=>this.props.callback(e)}> | 
			
		
	
		
		
			
				
					
					|  |  |  | 										<TabPane tab="公共" key="1"> |  |  |  | 										<TabPane tab="公共" key="1"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 										</TabPane> |  |  |  | 										</TabPane> | 
			
		
	
	
		
		
			
				
					|  |  | @ -192,7 +347,7 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 									` |  |  |  | 									` | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 |  |  |  | 									 | 
			
		
	
		
		
			
				
					
					|  |  |  | 									.xaxisreverseorder .ant-input-group-addon{ |  |  |  | 									.xaxisreverseorder .ant-input-group-addon{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 									width: 60px !important; |  |  |  | 									width: 48px !important; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 									 |  |  |  | 									 | 
			
		
	
		
		
			
				
					
					|  |  |  | 									} |  |  |  | 									} | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 |  |  |  | 									 | 
			
		
	
	
		
		
			
				
					|  |  | @ -214,7 +369,7 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 						 <div className="xaxisreverseorder"> |  |  |  | 						 <div className="xaxisreverseorder"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 							 { |  |  |  | 							 { | 
			
		
	
		
		
			
				
					
					|  |  |  | 								 defaultActiveKey===0||defaultActiveKey==="0"? |  |  |  | 								 defaultActiveKey===0||defaultActiveKey==="0"? | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 isysladmins===true||(is_teacher===true&&professional_certification===true)? |  |  |  | 									 isysladmins===true||is_teacher===true? | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 											 this.props.Isitapopup&&this.props.Isitapopup==="true"? |  |  |  | 											 this.props.Isitapopup&&this.props.Isitapopup==="true"? | 
			
		
	
		
		
			
				
					
					|  |  |  | 												 "" |  |  |  | 												 "" | 
			
		
	
		
		
			
				
					
					|  |  |  | 												 : |  |  |  | 												 : | 
			
		
	
	
		
		
			
				
					|  |  | @ -247,7 +402,7 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 								 defaultActiveKey===0||defaultActiveKey==="0"? |  |  |  | 								 defaultActiveKey===0||defaultActiveKey==="0"? | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 this.props.Isitapopup&&this.props.Isitapopup==="true"? |  |  |  | 									 this.props.Isitapopup&&this.props.Isitapopup==="true"? | 
			
		
	
		
		
			
				
					
					|  |  |  | 										 <Search |  |  |  | 										 <Search | 
			
		
	
		
		
			
				
					
					|  |  |  | 											 style={isysladmins===true||(is_teacher===true&&professional_certification)?{ marginRight:"0px"}:{marginRight:"0px"}} |  |  |  | 											 style={isysladmins===true||is_teacher===true?{ marginRight:"0px"}:{marginRight:"0px"}} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 											 className={"xaxisreverseorder searchwidth"} |  |  |  | 											 className={"xaxisreverseorder searchwidth"} | 
			
		
	
		
		
			
				
					
					|  |  |  | 											 placeholder="请输入题目名称、内容" |  |  |  | 											 placeholder="请输入题目名称、内容" | 
			
		
	
		
		
			
				
					
					|  |  |  | 											 enterButton |  |  |  | 											 enterButton | 
			
		
	
	
		
		
			
				
					|  |  | @ -256,7 +411,7 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 											 onSearch={ (value)=>this.props.setdatafuns(value)} /> |  |  |  | 											 onSearch={ (value)=>this.props.setdatafuns(value)} /> | 
			
		
	
		
		
			
				
					
					|  |  |  | 										 : |  |  |  | 										 : | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 <Search |  |  |  | 									 <Search | 
			
		
	
		
		
			
				
					
					|  |  |  | 										 style={isysladmins===true||(is_teacher===true&&professional_certification)?{ marginRight:"30px"}:{marginRight:"0px"}} |  |  |  | 										 style={isysladmins===true||is_teacher===true?{ marginRight:"30px"}:{marginRight:"0px"}} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 										 className={"xaxisreverseorder searchwidth"} |  |  |  | 										 className={"xaxisreverseorder searchwidth"} | 
			
		
	
		
		
			
				
					
					|  |  |  | 										 placeholder="请输入题目名称、内容" |  |  |  | 										 placeholder="请输入题目名称、内容" | 
			
		
	
		
		
			
				
					
					|  |  |  | 										 enterButton |  |  |  | 										 enterButton | 
			
		
	
	
		
		
			
				
					|  |  | @ -320,9 +475,12 @@ class Contentpart extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  | 													pages={this.props.pages} |  |  |  | 													pages={this.props.pages} | 
			
		
	
		
		
			
				
					
					|  |  |  | 													getitem_basketss={(id)=>this.props.getitem_basketss(id)} |  |  |  | 													getitem_basketss={(id)=>this.props.getitem_basketss(id)} | 
			
		
	
		
		
			
				
					
					|  |  |  | 													getitem_baskets={(e)=>this.props.getitem_baskets(e)} |  |  |  | 													getitem_baskets={(e)=>this.props.getitem_baskets(e)} | 
			
		
	
		
		
			
				
					
					|  |  |  | 													showmodels={(e)=>this.props.showmodels(e)} |  |  |  | 													showmodels={(e)=>this.showmodels(e)} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 													showmodelysl={(e)=>this.props.showmodelysl(e)} |  |  |  | 													showmodelysl={(e)=>this.showmodelysl(e)} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 													showmodelsInaudit={(e)=>this.props.showmodelsInaudit(e)} |  |  |  | 													showmodelsInaudit={(e)=>this.showmodelsInaudit(e)} | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 													handleShowUploadImage={(e)=>this.handleShowUploadImage(e)} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 													handleClose={()=>this.handleClose()} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 								> |  |  |  | 								> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 								</Listjihe> |  |  |  | 								</Listjihe> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |