import React, {Component} from "react"; import {Link, NavLink} from 'react-router-dom'; import {WordsBtn, ActionBtn,SnackbarHOC,getImageUrl} from 'educoder'; import axios from 'axios'; import { notification, Spin, Table, Pagination, Tabs, Input, Popover } from "antd"; import './../testioncss/testioncss.css'; import NoneDatas from '../component/NoneDatas'; import LoadingSpin from '../../../common/LoadingSpin'; import Contentquestionbank from "./Contentquestionbank"; const { TabPane } = Tabs; const Search = Input.Search; class Contentpart extends Component { constructor(props) { super(props); this.state = { page:1, } } //初始化 componentDidMount(){ } render() { let {page}=this.state; let {defaultActiveKey}=this.props; const content = (

this.props.setitem_types("SINGLE")}>单选题

this.props.setitem_types("MULTIPLE")}>多选题

this.props.setitem_types("JUDGMENT")}>判断题

this.props.setitem_types("PROGRAM")}>编程题

); const contents = (

this.props.setdifficulty(1)}>简单

this.props.setdifficulty(2)}>适中

this.props.setdifficulty(3)}>困难

); return (
this.props.callback(e)}>
{ defaultActiveKey===0||defaultActiveKey==="0"?

新增

:"" } this.props.handleVisibleChange(true)}>
难度
this.props.handleVisibleChanges(true)}>
题型
this.props.setdatafunsval(e)} onSearch={ (value)=>this.props.setdatafuns(value)} />
) } } export default Contentpart