|
|
|
@ -1,11 +1,13 @@
|
|
|
|
|
import React, {Component} from 'react';
|
|
|
|
|
|
|
|
|
|
import {Input, Select, Radio, Checkbox, Popconfirm, message, Modal,Tooltip} from 'antd';
|
|
|
|
|
import {Input, Select, Radio, Checkbox, Popconfirm, Button, Badge,Tooltip} from 'antd';
|
|
|
|
|
|
|
|
|
|
import {BrowserRouter as Router, Route, Link, Switch} from "react-router-dom";
|
|
|
|
|
|
|
|
|
|
import TPMMDEditor from '../../tpm/challengesnew/TPMMDEditor';
|
|
|
|
|
|
|
|
|
|
import './css/newquestion.css';
|
|
|
|
|
|
|
|
|
|
const Option = Select.Option;
|
|
|
|
|
|
|
|
|
|
const RadioGroup = Radio.Group;
|
|
|
|
@ -138,7 +140,7 @@ export default class TpmQuestionNew extends Component {
|
|
|
|
|
// onMouseLeave={this.onshixunsmarkss}
|
|
|
|
|
>
|
|
|
|
|
<span className="fl mr30 color-orange pt10">*</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Select style={{width: 120}} className="winput-240-40 fl"
|
|
|
|
|
id="challenge_score"
|
|
|
|
|
onChange={(e)=>this.props.onshixunsansweSelect(e)}
|
|
|
|
@ -176,7 +178,7 @@ export default class TpmQuestionNew extends Component {
|
|
|
|
|
/>
|
|
|
|
|
{/*<a className="white-btn orange-btn fl mt1 use_scope-btn ml20 mt5 mr20"*/}
|
|
|
|
|
{/*onClick={this.clickshixunsanswerskill}>+ 添加</a>*/}
|
|
|
|
|
<div className="ml15 color-grey-9 mt5">学员答题正确将获得技能,否则不能获得技能
|
|
|
|
|
<div className="ml15 color-grey-9 mt5">学员答题正确将获得技能,否则不能获得技能(回车添加标签)
|
|
|
|
|
<span className=" color-orange ml20" style={{display:this.props.challenge_tagtype===true?"inline-block":"none"}} id="stage_name_notice">
|
|
|
|
|
<i className="fa fa-exclamation-circle mr3"></i>必填项
|
|
|
|
|
</span>
|
|
|
|
@ -186,8 +188,14 @@ export default class TpmQuestionNew extends Component {
|
|
|
|
|
{
|
|
|
|
|
this.props.shixunsskillanswerlist.length === 0 ? "" : this.props.shixunsskillanswerlist.map((itme, key) => {
|
|
|
|
|
return (
|
|
|
|
|
<li className="task_tag_span" key={key}><span>{itme}</span>
|
|
|
|
|
<a onClick={()=>this.props.delshixunssnswerllist(key)}>×</a>
|
|
|
|
|
<li className="fl ml10 mr10" key={key}>
|
|
|
|
|
|
|
|
|
|
<Badge className={"tpmpointer"} count={"x"} onClick={()=>this.props.delshixunssnswerllist(key)}>
|
|
|
|
|
<Button type="primary" ghost className={"Permanentban "}>
|
|
|
|
|
{itme}
|
|
|
|
|
</Button>
|
|
|
|
|
</Badge>
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|