|
|
|
@ -1,26 +1,18 @@
|
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
|
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 ShixunModal from "../coursesPublic/ShixunModal";
|
|
|
|
|
import PathModal from "../coursesPublic/PathModal";
|
|
|
|
|
import AddcoursesNav from "../coursesPublic/AddcoursesNav";
|
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish'
|
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd'
|
|
|
|
|
import PollListItem from './PollListItem'
|
|
|
|
|
import NoneData from '../coursesPublic/NoneData'
|
|
|
|
|
import UseBank from '../busyWork/UseBank'
|
|
|
|
|
|
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish';
|
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd';
|
|
|
|
|
import PollListItem from './PollListItem';
|
|
|
|
|
import NoneData from '../coursesPublic/NoneData';
|
|
|
|
|
import UseBank from '../busyWork/UseBank';
|
|
|
|
|
import _ from 'lodash';
|
|
|
|
|
|
|
|
|
|
import '../css/members.css'
|
|
|
|
|
import '../css/busyWork.css'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { WordsBtn } from 'educoder'
|
|
|
|
|
import Modals from '../../modals/Modals'
|
|
|
|
|
|
|
|
|
|
import axios from 'axios'
|
|
|
|
|
import '../css/members.css';
|
|
|
|
|
import '../css/busyWork.css';
|
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
|
|
|
|
|
@ -139,6 +131,15 @@ class Poll extends Component{
|
|
|
|
|
}
|
|
|
|
|
// 加载列表
|
|
|
|
|
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({
|
|
|
|
|
isSpin:true
|
|
|
|
|
})
|
|
|
|
|