|
|
@ -9,6 +9,8 @@ import PollTabSecond from './PollDetailTabSecond'
|
|
|
|
import PollTabThird from './PollDetailTabThird'
|
|
|
|
import PollTabThird from './PollDetailTabThird'
|
|
|
|
import PollTabForth from './PollDetailTabForth'
|
|
|
|
import PollTabForth from './PollDetailTabForth'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import DownloadMessage from '../../modals/DownloadMessage';
|
|
|
|
|
|
|
|
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish'
|
|
|
|
import ImmediatelyPublish from './pollPublicBtn/ImmediatelyPublish'
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd'
|
|
|
|
import ImmediatelyEnd from './pollPublicBtn/ImmediatelyEnd'
|
|
|
|
import CancelPublish from './pollPublicBtn/CancelPublish'
|
|
|
|
import CancelPublish from './pollPublicBtn/CancelPublish'
|
|
|
@ -69,6 +71,10 @@ class PollDetailIndex extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
confirmysl(url){
|
|
|
|
|
|
|
|
this.refs.DownloadMessage.confirmysl(url);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
render(){
|
|
|
|
let {tab,pollDetail,user_permission}=this.state;
|
|
|
|
let {tab,pollDetail,user_permission}=this.state;
|
|
|
|
|
|
|
|
|
|
|
@ -76,6 +82,7 @@ class PollDetailIndex extends Component{
|
|
|
|
const isStudent = this.props.isStudent();
|
|
|
|
const isStudent = this.props.isStudent();
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="newMain">
|
|
|
|
<div className="newMain">
|
|
|
|
|
|
|
|
<DownloadMessage {...this.props} ref="DownloadMessage" />
|
|
|
|
<div className="educontent mt10 mb50">
|
|
|
|
<div className="educontent mt10 mb50">
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${this.props.match.params.coursesId}/students`}>{this.props.coursedata.name}</WordsBtn>
|
|
|
|
<WordsBtn style="grey" className="fl" to={`/courses/${this.props.match.params.coursesId}/students`}>{this.props.coursedata.name}</WordsBtn>
|
|
|
@ -152,7 +159,7 @@ class PollDetailIndex extends Component{
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
:""
|
|
|
|
:""
|
|
|
|
} */}
|
|
|
|
} */}
|
|
|
|
<a className="fl color-blue font-16" href={`/api/polls/${this.props.match.params.pollId}/commit_result.xlsx`}>导出统计</a>
|
|
|
|
<a className="fl color-blue font-16" onClick={()=>this.confirmysl("/polls/"+this.props.match.params.pollId+"/commit_result.xlsx")} href="javascript:void(0);">导出统计</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{
|
|
|
|