|
|
@ -7,6 +7,7 @@ import {
|
|
|
|
Spin,
|
|
|
|
Spin,
|
|
|
|
Table,
|
|
|
|
Table,
|
|
|
|
Pagination,
|
|
|
|
Pagination,
|
|
|
|
|
|
|
|
Radio
|
|
|
|
} from "antd";
|
|
|
|
} from "antd";
|
|
|
|
import './../questioncss/questioncom.css';
|
|
|
|
import './../questioncss/questioncom.css';
|
|
|
|
const tagArray = [
|
|
|
|
const tagArray = [
|
|
|
@ -43,6 +44,7 @@ class Listjihe extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
let {page,name,nd,chakanjiexibool}=this.state;
|
|
|
|
let {page,name,nd,chakanjiexibool}=this.state;
|
|
|
|
let {defaultActiveKey,items}=this.props;
|
|
|
|
let {defaultActiveKey,items}=this.props;
|
|
|
@ -66,16 +68,30 @@ class Listjihe extends Component {
|
|
|
|
{/*内容*/}
|
|
|
|
{/*内容*/}
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
<p className="w100s listjihetixingstits sortinxdirection">
|
|
|
|
<p className="w100s listjihetixingstits sortinxdirection">
|
|
|
|
{items === undefined ||items === null? "" : items.choices.map((object, index) => {
|
|
|
|
{
|
|
|
|
return (
|
|
|
|
items.item_type==="JUDGMENT"?
|
|
|
|
<p className="sortinxdirection ml10">
|
|
|
|
items === undefined ||items === null? "" : items.choices.map((object, index) => {
|
|
|
|
{tagArray[index]}
|
|
|
|
return (
|
|
|
|
{
|
|
|
|
<p className="sortinxdirection ml10">
|
|
|
|
object.choice_text
|
|
|
|
<Radio checked={object.is_answer}>{
|
|
|
|
}
|
|
|
|
object.choice_text
|
|
|
|
</p>
|
|
|
|
}</Radio>
|
|
|
|
)
|
|
|
|
</p>
|
|
|
|
})}
|
|
|
|
)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
items === undefined ||items === null? "" : items.choices.map((object, index) => {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<p className="sortinxdirection ml10">
|
|
|
|
|
|
|
|
{tagArray[index]}
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
object.choice_text
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -92,7 +108,7 @@ class Listjihe extends Component {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
defaultActiveKey===0||defaultActiveKey==="0"?
|
|
|
|
<div className="xaxisreverseorder">
|
|
|
|
<div className="xaxisreverseorder">
|
|
|
|
<p className="viewparsings xiaoshou mr25" onClick={()=>this.props.showmodelysl()}>
|
|
|
|
<p className="viewparsings xiaoshou mr25" onClick={()=>this.props.showmodelysl(items.id)}>
|
|
|
|
<i className="iconfont icon-shanchu1 font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<i className="iconfont icon-shanchu1 font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<span>删除</span>
|
|
|
|
<span>删除</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
@ -100,7 +116,7 @@ class Listjihe extends Component {
|
|
|
|
<i className="iconfont icon-bianji2 font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<i className="iconfont icon-bianji2 font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<span>编辑</span>
|
|
|
|
<span>编辑</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p className="viewparsings xiaoshou mr25" onClick={()=>this.props.showmodels()}>
|
|
|
|
<p className="viewparsings xiaoshou mr25" onClick={()=>this.props.showmodels(items.id)}>
|
|
|
|
<i className="iconfont icon-gongkai font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<i className="iconfont icon-gongkai font-17 lg ml7 lh30 icontianjiadaohangcolors mr5"></i>
|
|
|
|
<span>公开</span>
|
|
|
|
<span>公开</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|