|
|
@ -7,7 +7,8 @@ import {
|
|
|
|
Spin,
|
|
|
|
Spin,
|
|
|
|
Table,
|
|
|
|
Table,
|
|
|
|
Pagination,
|
|
|
|
Pagination,
|
|
|
|
Radio
|
|
|
|
Radio,
|
|
|
|
|
|
|
|
Tooltip
|
|
|
|
} from "antd";
|
|
|
|
} from "antd";
|
|
|
|
import './../questioncss/questioncom.css';
|
|
|
|
import './../questioncss/questioncom.css';
|
|
|
|
import QuillForEditor from "../../../common/quillForEditor";
|
|
|
|
import QuillForEditor from "../../../common/quillForEditor";
|
|
|
@ -153,9 +154,9 @@ class Listjihe extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
items.item_type==="PROGRAM"?
|
|
|
|
items.item_type==="PROGRAM"?
|
|
|
|
|
|
|
|
<a href={`/problems/${items.program_attr.identifier}/edit`}>
|
|
|
|
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(items&&items.name).replace(/▁/g, "▁▁▁")}}></div>
|
|
|
|
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}} dangerouslySetInnerHTML={{__html: markdownToHTML(items&&items.name).replace(/▁/g, "▁▁▁")}}></div>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}}>
|
|
|
|
<div className="ml10 w100s listjihetixingstit markdown-body" style={{wordBreak: "break-word"}}>
|
|
|
|
{ items===undefined||items===null||items===""?"":
|
|
|
|
{ items===undefined||items===null||items===""?"":
|
|
|
@ -283,10 +284,13 @@ class Listjihe extends Component {
|
|
|
|
:
|
|
|
|
:
|
|
|
|
items.item_type === "PROGRAM" ?
|
|
|
|
items.item_type === "PROGRAM" ?
|
|
|
|
items.program_attr.status === 0 ?
|
|
|
|
items.program_attr.status === 0 ?
|
|
|
|
|
|
|
|
<Tooltip placement="top" title={"编程题未发布,不能选用!"}>
|
|
|
|
<p className="selectionys jinzhixiaoshou">
|
|
|
|
<p className="selectionys jinzhixiaoshou">
|
|
|
|
<i className="iconfont icon-tianjiadaohang font-12 lg ml7 lh30 icontianjiadaohangcolor mr5"></i>
|
|
|
|
<i className="iconfont icon-tianjiadaohang font-12 lg ml7 lh30 icontianjiadaohangcolor mr5"></i>
|
|
|
|
<span className="mr15 lh30">选用</span>
|
|
|
|
<span className="mr15 lh30">选用</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<p className="selection xiaoshou" onClick={() => this.Selectingpracticaltraining(items.id)}>
|
|
|
|
<p className="selection xiaoshou" onClick={() => this.Selectingpracticaltraining(items.id)}>
|
|
|
|
<i className="iconfont icon-tianjiadaohang font-12 lg ml7 lh30 icontianjiadaohangcolor mr5"></i>
|
|
|
|
<i className="iconfont icon-tianjiadaohang font-12 lg ml7 lh30 icontianjiadaohangcolor mr5"></i>
|
|
|
|