|
|
@ -1,26 +1,18 @@
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
import { Input,Checkbox,Table, Pagination, Modal,Menu, Tooltip ,Spin} from "antd";
|
|
|
|
import { Input,Checkbox,Table, Pagination, Modal,Menu, Tooltip ,Spin} from "antd";
|
|
|
|
import CourseLayoutcomponent from '../common/CourseLayoutComponent';
|
|
|
|
import {WordsBtn, on, off, trigger } from 'educoder';
|
|
|
|
import HomeworkModal from "../coursesPublic/HomeworkModal";
|
|
|
|
import HomeworkModal from "../coursesPublic/HomeworkModal";
|
|
|
|
import ShixunModal from "../coursesPublic/ShixunModal";
|
|
|
|
|
|
|
|
import PathModal from "../coursesPublic/PathModal";
|
|
|
|
|
|
|
|
import AddcoursesNav from "../coursesPublic/AddcoursesNav";
|
|
|
|
import AddcoursesNav from "../coursesPublic/AddcoursesNav";
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish'
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish';
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd'
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd';
|
|
|
|
import PollListItem from './PollListItem'
|
|
|
|
import PollListItem from './PollListItem';
|
|
|
|
import NoneData from '../coursesPublic/NoneData'
|
|
|
|
import NoneData from '../coursesPublic/NoneData';
|
|
|
|
import UseBank from '../busyWork/UseBank'
|
|
|
|
import UseBank from '../busyWork/UseBank';
|
|
|
|
|
|
|
|
|
|
|
|
import _ from 'lodash';
|
|
|
|
import _ from 'lodash';
|
|
|
|
|
|
|
|
import '../css/members.css';
|
|
|
|
import '../css/members.css'
|
|
|
|
import '../css/busyWork.css';
|
|
|
|
import '../css/busyWork.css'
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
|
|
|
|
import { WordsBtn } from 'educoder'
|
|
|
|
|
|
|
|
import Modals from '../../modals/Modals'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import axios from 'axios'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
const Search = Input.Search;
|
|
|
|
|
|
|
|
|
|
|
@ -139,6 +131,15 @@ class Poll extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 加载列表
|
|
|
|
// 加载列表
|
|
|
|
componentDidMount(){
|
|
|
|
componentDidMount(){
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
isSpin:true
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
let{type,StudentList_value,page}=this.state
|
|
|
|
|
|
|
|
this.InitList(type,StudentList_value,page);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on('updateNavSuccess', this.updateNavSuccess)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
updateNavSuccess=()=>{
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
isSpin:true
|
|
|
|
isSpin:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|