Merge branch 'dev_item_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_new_shixunsrepository

dev_new_shixunsrepository
杨树林 5 years ago
commit ef69d5dc36

@ -34,7 +34,7 @@ class NewMyShixunModel extends Component {
placement: 'right', placement: 'right',
modalsType: false, modalsType: false,
modalsTypes:false, modalsTypes:false,
titilesm: "设为公开后,所有成员均可使用试题", titilesm: "在平台审核后,所有成员均可使用试题",
titiless: "是否设置为公开?", titiless: "是否设置为公开?",
titilesms:"单选题", titilesms:"单选题",
titbool: false, titbool: false,
@ -386,7 +386,7 @@ class NewMyShixunModel extends Component {
this.setState({ this.setState({
modalsType: true, modalsType: true,
titilesm: "设为公开后,所有成员均可使用试题", titilesm: "在平台审核后,所有成员均可使用试题",
titiless: "是否设置为公开?", titiless: "是否设置为公开?",
titbool: true, titbool: true,
timuid: id timuid: id

@ -33,7 +33,7 @@ class Question extends Component {
placement: 'right', placement: 'right',
modalsType: false, modalsType: false,
modalsTypes:false, modalsTypes:false,
titilesm: "设为公开后,所有成员均可使用试题", titilesm: "在平台审核后,所有成员均可使用试题",
titiless: "是否设置为公开?", titiless: "是否设置为公开?",
titilesms:"单选题", titilesms:"单选题",
titbool: false, titbool: false,
@ -399,7 +399,7 @@ class Question extends Component {
this.setState({ this.setState({
modalsType: true, modalsType: true,
titilesm: "设为公开后,所有成员均可使用试题", titilesm: "在平台审核后,所有成员均可使用试题",
titiless: "是否设置为公开?", titiless: "是否设置为公开?",
titbool: true, titbool: true,
timuid: id timuid: id

@ -310,7 +310,7 @@ class ChoquesEditor extends Component{
texts=value; texts=value;
} }
this.setState({ this.setState({
question_titleysl:texts question_titlesysl:texts
}) })
} }
} }

@ -322,7 +322,7 @@ class JudquestionEditor extends Component{
texts=value; texts=value;
} }
this.setState({ this.setState({
question_titleysl:texts question_titlesysl:texts
}) })
} }
} }

@ -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>

Loading…
Cancel
Save