|
|
|
@ -226,7 +226,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
|
|
|
|
|
// 确定分配
|
|
|
|
|
sureAcross=()=>{
|
|
|
|
|
let { AcrossTeamIds , chooseId , group_ids , comment_status }=this.state;
|
|
|
|
|
let { AcrossTeamIds , chooseId , group_ids , comment_status,page }=this.state;
|
|
|
|
|
let { task_Id }=this.props;
|
|
|
|
|
|
|
|
|
|
let type = comment_status == 2 ? "user_ids" : "graduation_group_ids";
|
|
|
|
@ -246,7 +246,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if(result){
|
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
|
this.getList(1,group_ids,comment_status);
|
|
|
|
|
this.getList(page,group_ids,comment_status);
|
|
|
|
|
this.setState({
|
|
|
|
|
showflag:false,
|
|
|
|
|
AcrossTeamIds:undefined,
|
|
|
|
@ -344,6 +344,18 @@ class GraduationAcross extends Component{
|
|
|
|
|
width="775px"
|
|
|
|
|
destroyOnClose={true}
|
|
|
|
|
>
|
|
|
|
|
{modalVisible===true?<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
bady{
|
|
|
|
|
overflow: hidden !important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>:""}
|
|
|
|
|
<div id="closeIcon" onClick={()=>this.props.modalCloss()}>
|
|
|
|
|
<i className="iconfont icon-shanchudiao"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<style>
|
|
|
|
|
{`
|
|
|
|
|
.AcrossModal .ant-modal-body{
|
|
|
|
@ -412,7 +424,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
<div className="clearfix mb15 mt15 pl30 pr30" id="acrossContent">
|
|
|
|
|
<span className="fl color-grey-c mt5">已选 { chooseCount == 0 ? 0 : <span className="color-blue">{chooseCount}</span>} 个</span>
|
|
|
|
|
<span className="fr">
|
|
|
|
|
<span className={"fl mt5"}>分配给{ comment_status && comment_status == 2 ? "老师":"答辩组"}:</span>
|
|
|
|
|
<span className={"fl mt5"}><span className={"color-orange"}>分配</span>给{ comment_status && comment_status == 2 ? "老师":"答辩组"}:</span>
|
|
|
|
|
<span className={"fl"} style={{height:"32px"}} id="selectTags">
|
|
|
|
|
<Select
|
|
|
|
|
mode="tags"
|
|
|
|
@ -437,7 +449,7 @@ class GraduationAcross extends Component{
|
|
|
|
|
{menu}
|
|
|
|
|
<Divider style={{ margin: '4px 0 0' }} />
|
|
|
|
|
<div style={{ padding: '8px 12px', cursor: 'pointer' }}>
|
|
|
|
|
<a onClick={this.sureAcross} className="acrossSureBtn">确定</a>
|
|
|
|
|
<a onClick={this.sureAcross} className="acrossSureBtn color-orange">提交</a>
|
|
|
|
|
<a onClick={this.clearSelect} className="ml20"><span className="acrossResetBtn color-blue">重置</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -463,10 +475,10 @@ class GraduationAcross extends Component{
|
|
|
|
|
<Pagination defaultCurrent={page} current={page} pageSize={limit} total={user_count} onChange={this.onPageChange}></Pagination>:""
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
<div className="fr">
|
|
|
|
|
<a className="task-btn color-white mr30" onClick={this.props.modalCloss}>关闭</a>
|
|
|
|
|
<a className="task-btn task-btn-orange" onClick={this.props.modalCloss}>确认</a>
|
|
|
|
|
</div>
|
|
|
|
|
{/*<div className="fr">*/}
|
|
|
|
|
{/*<a className="task-btn color-white mr30" onClick={this.props.modalCloss}>关闭</a>*/}
|
|
|
|
|
{/*<a className="task-btn task-btn-orange" onClick={this.props.modalCloss}>确认</a>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
</div>
|
|
|
|
|
</Modal>
|
|
|
|
|
)
|
|
|
|
|