dev_aliyun_beta
杨树林 5 years ago
parent 0bdb0962de
commit 554a91bcbf

@ -748,7 +748,7 @@ class PollNewQuestbank extends Component {
{"answer_id": 2, "answer_position": 2, "answer_text": ""},
{"answer_id": 3, "answer_position": 3, "answer_text": ""},
{"answer_id": 4, "answer_position": 4, "answer_text": ""},
{"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
// {"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
]
};
question = {"question": questiontwo};
@ -842,7 +842,7 @@ class PollNewQuestbank extends Component {
{"answer_id": 2, "answer_position": 2, "answer_text": ""},
{"answer_id": 3, "answer_position": 3, "answer_text": ""},
{"answer_id": 4, "answer_position": 4, "answer_text": ""},
{"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
// {"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
]
};
question = {"question": questiontwo};
@ -3320,9 +3320,9 @@ class PollNewQuestbank extends Component {
//////////////////////////////////////////// 可选
<div>
<div style={{minWidth: "1179px"}}>
{polls_status === undefined || polls_status === 1 ?
{this.state.polls_status === undefined || this.state.polls_status === 1 ?
(newoption === false ?
(this.state.newoption === false ?
<a className="defalutCancelbtn ml61 mt5 mb20" style={{ width: 160}}
onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</a>
: "")
@ -3643,9 +3643,9 @@ class PollNewQuestbank extends Component {
//////////////////////////////////////////// 可选
<div>
<div style={{minWidth: "1179px"}}>
{polls_status === undefined || polls_status === 1 ?
{this.state.polls_status === undefined || this.state.polls_status === 1 ?
(newoption === false ?
(this.state.newoption === false ?
<a className=" defalutCancelbtn ml61 mt5 mb20" style={{ width: 160}}
onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</a>
: "")
@ -3954,12 +3954,12 @@ class PollNewQuestbank extends Component {
{/*<ActionBtn style="grey" className="mr20 mt5"*/}
{/* onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>*/}
<div style={{minWidth: "1138px"}}>
{polls_status === undefined || polls_status === 1 ?
{this.state.polls_status === undefined || this.state.polls_status === 1 ?
""
: ""}
{polls_status === undefined || polls_status === 1 ?
{this.state.polls_status === undefined ||this.state.polls_status === 1 ?
(newoption === false ?
(this.state.newoption === false ?
<a className="defalutCancelbtn ml61 mt5" style={{ width: 160}}
onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</a>
: "")
@ -3984,9 +3984,9 @@ class PollNewQuestbank extends Component {
//////////////////////////////////////////// 可选
<div>
<div style={{minWidth: "1179px"}}>
{polls_status === undefined || polls_status === 1 ?
{this.state.polls_status === undefined || this.state.polls_status === 1 ?
(newoption === false ?
(this.state.newoption === false ?
<a className=" defalutCancelbtn ml61 mt5 mb20 " style={{ width: 160}}
onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</a>
: "")

Loading…
Cancel
Save