import React, {Component} from "react"; import { WordsBtn,on, off, trigger,markdownToHTML, MarkdownToHtml ,getImageUrl} from 'educoder'; import { Button, Checkbox, message, InputNumber, DatePicker, Radio, Tooltip, notification, } from "antd"; import GroupPackage from '../groupjobbank/GroupPackage' import './questionbank.css'; import AttachmentsList from "../../../common/components/attachment/AttachmentList"; import NoneData from '../../courses/coursesPublic/NoneData' //内容详情 class Generaljobdetails extends Component { constructor(props) { super(props); this.state = { } } componentDidMount() { console.log("Generaljobdetails"); console.log("componentDidMount"); // let query = this.props.location.pathname; // const type = query.split('/'); // this.setState({ // shixuntypes:type[3] // }) // this.props.triggerRef(this); } // 获取数据地方 getTrainingjobsetting = () => { var homeworkid = this.props.match.params.homeworkid; } //跳转道描点的地方 scrollToAnchor = (anchorName) => { if (anchorName) { // 找到锚点 let anchorElement = document.getElementById(anchorName); // 如果对应id的锚点存在,就跳转到锚点 if(anchorElement) { anchorElement.scrollIntoView(); } } }; render() { let{datas}=this.props; return (
{ datas.description===null? "" :datas.description==="null"? "" :datas&&datas.description===""? "" : //
} {datas.attachments === undefined ? (datas.description === undefined || datas.description === null || datas.description === "" ? : "" ) : datas.attachments=== "" ? (datas.description === undefined || datas.description === null || datas.description === "" ? : "" ) : datas.attachments=== null ? (datas.description === undefined || datas.description === null || datas.description === "" ? : "" ) : datas.attachments.length === 0 ? (datas.description === undefined || datas.description === null || datas.description === "" ? : "" ) :
}
) } } export default Generaljobdetails;