import React,{ Component } from "react"; import { Pagination } from "antd"; import {ImageLayerOfCommentHOC} from '../../../page/layers/ImageLayerOfCommentHOC' import GraduationTasksappraiseMainEditor from './GraduationTasksappraiseMainEditor' import Graduationtaskitem from './Graduationtaskitem' import '../../../forums/Post.css' import '../../../comment/Comment.css' import '../../common/courseMessage.css' import './GraduationTasksappraiseReply.css' import ModulationModal from "../../coursesPublic/ModulationModal"; import Modals from '../../../modals/Modals'; const REPLY_PAGE_COUNT = 10 const $ = window.$; class GraduationTasksappraiseReplyChild extends Component{ constructor(props){ super(props); this.state={ } } render(){ let { total_count, comments, pageCount, comment_scores} = this.props; const isAdmin = this.props.isAdmin(); const isStudent=this.props.isStudent(); return(
{this.props.Modulationtype===true?this.props.saveModulationModal(value,num)} closable={false} footer={null} destroyOnClose={true} centered={true} />:""} {/*
*/} {/*

{datalist&&datalist.task_name}

*/} {/*返回*/} {/*{this.props.isStudent()?补交附件:""}*/} {/*
*/} {this.props.ultimate===true? isAdmin &&
this.props.showModulationtype(this.props.task_id)}>调分
:""} {this.props.ultimate===true?"":
全部评阅 { !!comment_scores.length && {comment_scores.length===0?"":`(${comment_scores.length})`} }
} {this.props.ultimate===true ? "": isAdmin && this.props.addSuccess()} showSameScore={true} > }
{ comment_scores.map(item => { return }) }
) } } export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReplyChild);