|
|
@ -214,11 +214,14 @@ class Contentpart extends Component {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
isysladmins===true||(is_teacher===true&&professional_certification===true)?
|
|
|
|
isysladmins===true||(is_teacher===true&&professional_certification===true)?
|
|
|
|
<a onClick={(e)=>this.xinzenw(e)}>
|
|
|
|
this.props.Isitapopup&&this.props.Isitapopup==="true"?
|
|
|
|
<div className="newbutoon">
|
|
|
|
""
|
|
|
|
<p className="newbutoontes" >新增</p>
|
|
|
|
:
|
|
|
|
</div>
|
|
|
|
<a onClick={(e)=>this.xinzenw(e)}>
|
|
|
|
</a>
|
|
|
|
<div className="newbutoon">
|
|
|
|
|
|
|
|
<p className="newbutoontes" >新增</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
:""
|
|
|
|
:""
|
|
|
|
:""
|
|
|
|
:""
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -241,6 +244,16 @@ class Contentpart extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
|
|
|
|
this.props.Isitapopup&&this.props.Isitapopup==="true"?
|
|
|
|
|
|
|
|
<Search
|
|
|
|
|
|
|
|
style={isysladmins===true||(is_teacher===true&&professional_certification)?{ marginRight:"0px"}:{marginRight:"0px"}}
|
|
|
|
|
|
|
|
className={"xaxisreverseorder searchwidth"}
|
|
|
|
|
|
|
|
placeholder="请输入题目名称、内容"
|
|
|
|
|
|
|
|
enterButton
|
|
|
|
|
|
|
|
size="large"
|
|
|
|
|
|
|
|
onInput={(e)=>this.props.setdatafunsval(e)}
|
|
|
|
|
|
|
|
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&&professional_certification)?{ marginRight:"30px"}:{marginRight:"0px"}}
|
|
|
|
className={"xaxisreverseorder searchwidth"}
|
|
|
|
className={"xaxisreverseorder searchwidth"}
|
|
|
@ -296,6 +309,7 @@ class Contentpart extends Component {
|
|
|
|
: this.props.Contentdata.items.map((object, index) => {
|
|
|
|
: this.props.Contentdata.items.map((object, index) => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Listjihe {...this.state} {...this.props}
|
|
|
|
<Listjihe {...this.state} {...this.props}
|
|
|
|
|
|
|
|
Isitapopup={this.props.Isitapopup}
|
|
|
|
chakanjiexiboolindex={this.props.chakanjiexiboolindex}
|
|
|
|
chakanjiexiboolindex={this.props.chakanjiexiboolindex}
|
|
|
|
chakanjiexibool={(keindex)=>this.chakanjiexibool(keindex)}
|
|
|
|
chakanjiexibool={(keindex)=>this.chakanjiexibool(keindex)}
|
|
|
|
listjihe={index+1}
|
|
|
|
listjihe={index+1}
|
|
|
|