|
|
|
@ -2858,7 +2858,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
let resultDomtwo;
|
|
|
|
|
resultDomtwo =
|
|
|
|
|
<div>
|
|
|
|
|
<span className="color-grey-6">{item.question.question_number}、</span>
|
|
|
|
|
<span className="color-grey-6">{itemo&&itemo.question&&itemo.question.question_number}、</span>
|
|
|
|
|
<span
|
|
|
|
|
id={"ceshiyong3"}
|
|
|
|
|
className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"}
|
|
|
|
@ -2951,12 +2951,12 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
{
|
|
|
|
|
itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ?
|
|
|
|
|
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
|
|
|
|
|
: itemo.question.answers.length - 1 === indext ?
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
|
|
|
|
@ -2965,7 +2965,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
: indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ?
|
|
|
|
|
<a className="lineh-40 mr10"
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a> : ""
|
|
|
|
@ -3161,7 +3161,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
let resultDomtwo;
|
|
|
|
|
resultDomtwo =
|
|
|
|
|
<div>
|
|
|
|
|
<span className="color-grey-6">{item.question.question_number}、</span>
|
|
|
|
|
<span className="color-grey-6">{itemo&&itemo.question&&itemo.question.question_number}、</span>
|
|
|
|
|
|
|
|
|
|
<span
|
|
|
|
|
id={"ceshiyong1"}
|
|
|
|
@ -3260,12 +3260,12 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
|
|
|
|
|
{
|
|
|
|
|
itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ?
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
|
|
|
|
|
: itemo.question.answers.length - 1 === indext ?
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
|
|
|
|
@ -3275,7 +3275,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
: indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ?
|
|
|
|
|
<a className="lineh-40 mr10"
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增" placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a> : ""
|
|
|
|
@ -3484,7 +3484,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
let resultDomtwo;
|
|
|
|
|
resultDomtwo =
|
|
|
|
|
<div className="problemShow">
|
|
|
|
|
<span className="color-grey-6">{item.question.question_number}、</span>
|
|
|
|
|
<span className="color-grey-6">{itemo&&itemo.question&&itemo.question.question_number}、</span>
|
|
|
|
|
<span
|
|
|
|
|
id={"ceshiyong2"}
|
|
|
|
|
className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"}
|
|
|
|
@ -3571,17 +3571,17 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
<a className="lineh-40 mr10"
|
|
|
|
|
onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip
|
|
|
|
|
title="删除" placement={"bottom"}><i
|
|
|
|
|
className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
|
|
|
|
|
className="iconfont icon-htmal5icon19 font-22 color-grey-c "></i></Tooltip></a>
|
|
|
|
|
{
|
|
|
|
|
itemo.question.answers[itemo.question.answers.length - 1].answer_text === "其他" && itemo.question.answers.length - 2 === indext ?
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增"
|
|
|
|
|
placement={"bottom"}><i
|
|
|
|
|
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
|
|
|
|
|
:
|
|
|
|
|
itemo.question.answers.length - 1 === indext ?
|
|
|
|
|
<a className="lineh-40 "
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增"
|
|
|
|
|
placement={"bottom"}><i
|
|
|
|
@ -3593,7 +3593,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
: indext === 1 && itemo.question.answers.length === 2 || indext === 1 && itemo.question.answers.length === 3 ?
|
|
|
|
|
<a className="lineh-40 mr10"
|
|
|
|
|
<a className="lineh-40 ml10"
|
|
|
|
|
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
|
|
|
|
|
title="新增"
|
|
|
|
|
placement={"bottom"}><i
|
|
|
|
|