分组作业题库发送和删除题

dev_aliyun_beta
杨树林 5 years ago
parent b8ddff21da
commit 1bae001745

@ -14,6 +14,7 @@ import './completetaskdetails.css';
import GroupPackage from "../groupjobbank/GroupPackage";
import GroupPackage2 from "../groupjobbank/GroupPackage2";
import AttachmentsList from "../../../common/components/attachment/AttachmentList";
import NoneData from '../../courses/coursesPublic/NoneData'
@ -65,18 +66,13 @@ class Groupjobbandetails extends Component {
<div className="yslquestionbank1">
{
datas&&(datas.description===null?
<div className="alltask ">
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
<NoneData></NoneData>
:datas.description==="null"?
<div className="alltask ">
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
<NoneData></NoneData>
:
datas.description===""?
<NoneData></NoneData>
:
<div id="MakedownHTML"className="markdown-body yslquesHeigth yslquesmarkdowntext" dangerouslySetInnerHTML={{__html: markdownToHTML(datas.description).replace(/▁/g, "▁▁▁")}}/>
)
}
@ -87,7 +83,7 @@ class Groupjobbandetails extends Component {
{/* <GroupPackage key={key} attachments={item}></GroupPackage>*/}
{/* )*/}
{/*})}*/}
<div >
<div>
{datas.attachments === undefined ? "" :
<AttachmentsList {...this.state} {...this.props} attachments={datas.attachments} ></AttachmentsList>}
<GroupPackage2 datas={datas} bool={false}></GroupPackage2>

@ -13,6 +13,7 @@ import {
import GroupPackage from '../groupjobbank/GroupPackage'
import './completetopicde.css';
import AttachmentsList from "../../../common/components/attachment/AttachmentList";
import NoneData from '../../courses/coursesPublic/NoneData'
class Completetopicdetails extends Component {
@ -64,18 +65,13 @@ class Completetopicdetails extends Component {
<div className="yslquestionbank1">
{
datas&&(datas.description===null?
<div className="alltask ">
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
<NoneData></NoneData>
:datas.description==="null"?
<div className="alltask ">
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")} />
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p></div>
</div>
<NoneData></NoneData>
:
datas.description===""?
<NoneData></NoneData>
:
<div id="MakedownHTML"className="markdown-body yslquesHeigth yslquesmarkdowntext" dangerouslySetInnerHTML={{__html: markdownToHTML(datas.description).replace(/▁/g, "▁▁▁")}}/>
)
}

Loading…
Cancel
Save