|
|
@ -2,6 +2,7 @@ import React,{ Component } from "react";
|
|
|
|
import { Modal,Radio,Input,Tooltip,Checkbox,Select, Row,Col } from "antd";
|
|
|
|
import { Modal,Radio,Input,Tooltip,Checkbox,Select, Row,Col } from "antd";
|
|
|
|
import axios from 'axios';
|
|
|
|
import axios from 'axios';
|
|
|
|
import { SnackbarHOC } from 'educoder';
|
|
|
|
import { SnackbarHOC } from 'educoder';
|
|
|
|
|
|
|
|
import moment from 'moment';
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
const Option = Select.Option;
|
|
|
|
const Option = Select.Option;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
@ -148,14 +149,16 @@ class sendPanel extends Component{
|
|
|
|
destroyOnClose={true}
|
|
|
|
destroyOnClose={true}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div className="newupload_conbox">
|
|
|
|
<div className="newupload_conbox">
|
|
|
|
<div className="mb20" onMouseLeave={this.closeList}>
|
|
|
|
<div className="mb20"
|
|
|
|
|
|
|
|
// onMouseLeave={this.closeList}
|
|
|
|
|
|
|
|
>
|
|
|
|
<Select
|
|
|
|
<Select
|
|
|
|
placeholder="请选择您要发送的课堂"
|
|
|
|
placeholder="请选择您要发送的课堂"
|
|
|
|
style={{"width":"100%"}}
|
|
|
|
style={{"width":"100%"}}
|
|
|
|
onSelect={this.selectCloseList}
|
|
|
|
onSelect={this.selectCloseList}
|
|
|
|
onMouseEnter={this.openList}
|
|
|
|
// onMouseEnter={this.openList}
|
|
|
|
defaultOpen={false}
|
|
|
|
defaultOpen={false}
|
|
|
|
open={openSearch}
|
|
|
|
// open={openSearch}
|
|
|
|
optionLabelProp="name"
|
|
|
|
optionLabelProp="name"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -164,7 +167,9 @@ class sendPanel extends Component{
|
|
|
|
<Option key={item.course_id} id={key} name={item.course_name}>
|
|
|
|
<Option key={item.course_id} id={key} name={item.course_name}>
|
|
|
|
<Row>
|
|
|
|
<Row>
|
|
|
|
<Col className="fl with70 task-hide">{item.course_name}</Col>
|
|
|
|
<Col className="fl with70 task-hide">{item.course_name}</Col>
|
|
|
|
<Col className="fl color-grey-9 with30 edu-txt-center">{item.created_at}</Col>
|
|
|
|
<Col className="fl color-grey-9 with30 edu-txt-center">
|
|
|
|
|
|
|
|
{moment( item.created_at ).format('YYYY-MM-DD HH:mm')}
|
|
|
|
|
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
</Row>
|
|
|
|
</Option>
|
|
|
|
</Option>
|
|
|
|
)
|
|
|
|
)
|
|
|
|