|
|
|
@ -1304,16 +1304,19 @@ export default class TPMsettings extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="clearfix mb20">
|
|
|
|
|
<span className="color-orange fl mr20">*</span>
|
|
|
|
|
<div className="width15 fl mr20" onMouseLeave={operateauthority?this.bigopens:""}>
|
|
|
|
|
<div className="width15 fl mr20"
|
|
|
|
|
// onMouseLeave={operateauthority?this.bigopens:""}
|
|
|
|
|
>
|
|
|
|
|
<Select placeholder="请更新主类别" value={choice_main_type === "" ? undefined : choice_main_type}
|
|
|
|
|
style={{width: 180}}
|
|
|
|
|
onChange={operateauthority?this.bigClass:""}
|
|
|
|
|
// onMouseEnter={this.bigopen}
|
|
|
|
|
// onMouseLeave={this.bigopens}
|
|
|
|
|
disabled={operateauthority?false:true}
|
|
|
|
|
onMouseEnter={operateauthority?this.bigopen:""}
|
|
|
|
|
// onMouseEnter={operateauthority?this.bigopen:""}
|
|
|
|
|
onSelect={operateauthority?this.bigopens:""}
|
|
|
|
|
open={opers}>
|
|
|
|
|
// open={opers}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
settingsData === undefined ? "" : settingsData.shixun.main_type.map((item, key) => {
|
|
|
|
@ -1379,17 +1382,19 @@ export default class TPMsettings extends Component {
|
|
|
|
|
</Modal>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="width15 fl pr mr20" onMouseLeave={operateauthority?this.bigopens:""}>
|
|
|
|
|
<div className="width15 fl pr mr20"
|
|
|
|
|
// onMouseLeave={operateauthority?this.bigopens:""}
|
|
|
|
|
>
|
|
|
|
|
<Select mode="multiple" placeholder="请选择小类别"
|
|
|
|
|
value={choice_small_type.length===0||choice_small_type[0]===""||choice_small_type===[]?undefined:choice_small_type}
|
|
|
|
|
style={{width: 180,height:30}}
|
|
|
|
|
disabled={operateauthority?false:true}
|
|
|
|
|
// onChange={operateauthority?this.littleClass:""}
|
|
|
|
|
onDeselect={operateauthority?this.Deselectlittle:""}
|
|
|
|
|
onMouseEnter={operateauthority?this.bigopensmal:""}
|
|
|
|
|
// onMouseEnter={operateauthority?this.bigopensmal:""}
|
|
|
|
|
onSelect={operateauthority?this.littleClass:""}
|
|
|
|
|
defaultOpen={false}
|
|
|
|
|
open={opensmail}
|
|
|
|
|
// open={opensmail}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
settingsData === undefined ? "" : settingsData.shixun.small_type.map((item, key) => {
|
|
|
|
@ -1409,18 +1414,20 @@ export default class TPMsettings extends Component {
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="edu-back-white mb10 padding40-20 clearfix" onMouseLeave={operateauthority?this.bigopens:""}>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
{/*<div className="edu-back-white mb10 padding40-20 clearfix" >*/}
|
|
|
|
|
<div className="clearfix"
|
|
|
|
|
// onMouseLeave={operateauthority?this.bigopens:""}
|
|
|
|
|
>
|
|
|
|
|
<p className="color-grey-6 font-16 mb30">评测脚本</p>
|
|
|
|
|
<div className="pl35">
|
|
|
|
|
<Select placeholder="请选择选择脚本"
|
|
|
|
|
style={{width: 180}}
|
|
|
|
|
className="fl"
|
|
|
|
|
disabled={operateauthority?false:true}
|
|
|
|
|
onMouseEnter={operateauthority?this.sbigopen:""}
|
|
|
|
|
// onMouseEnter={operateauthority?this.sbigopen:""}
|
|
|
|
|
onSelect={operateauthority?this.bigopens:""}
|
|
|
|
|
open={operss}
|
|
|
|
|
// open={operss}
|
|
|
|
|
value={choice_standard_scripts === undefined||choice_standard_scripts === null ? undefined :choice_standard_scripts.id===undefined?choice_standard_scripts:choice_standard_scripts.id}
|
|
|
|
|
onChange={operateauthority?this.SelectScput:""}>
|
|
|
|
|
{
|
|
|
|
@ -1725,7 +1732,9 @@ export default class TPMsettings extends Component {
|
|
|
|
|
<div className="edu-back-white mb10 padding40-20 clearfix">
|
|
|
|
|
<p className="color-grey-6 font-16 mb30">发布信息</p>
|
|
|
|
|
|
|
|
|
|
<div className="clearfix" onMouseLeave={this.bigopens}>
|
|
|
|
|
<div className="clearfix"
|
|
|
|
|
// onMouseLeave={this.bigopens}
|
|
|
|
|
>
|
|
|
|
|
<span className="color-orange fl mr20">*</span>
|
|
|
|
|
<span className="color-grey-6 fl" style={{minWidth: '95px'}}>面向学员:</span>
|
|
|
|
|
|
|
|
|
@ -1734,9 +1743,9 @@ export default class TPMsettings extends Component {
|
|
|
|
|
style={{width: 180}}
|
|
|
|
|
value={trainee}
|
|
|
|
|
onChange={this.Selecttrainee}
|
|
|
|
|
onMouseEnter={this.sbigopenss}
|
|
|
|
|
// onMouseEnter={this.sbigopenss}
|
|
|
|
|
onSelect={this.sbigopensss}
|
|
|
|
|
open={opersss}
|
|
|
|
|
// open={opersss}
|
|
|
|
|
>
|
|
|
|
|
<Option value={1}>初级学员</Option>
|
|
|
|
|
<Option value={2}>中级学员</Option>
|
|
|
|
|