|
|
|
@ -7,7 +7,7 @@ import CourseLayoutcomponent from '../common/CourseLayoutComponent'
|
|
|
|
|
|
|
|
|
|
import Titlesearchsection from '../common/titleSearch/TitleSearchSection'
|
|
|
|
|
import ColorCountText from '../common/titleSearch/ColorCountText'
|
|
|
|
|
import { WordsBtn, trigger, on, off, getUrl, downloadFile , sortDirections } from 'educoder'
|
|
|
|
|
import { WordsBtn, trigger, on, off, getUrl, getRandomNumber , sortDirections } from 'educoder'
|
|
|
|
|
import Modals from "../../modals/Modals";
|
|
|
|
|
import axios from 'axios'
|
|
|
|
|
import _ from 'lodash'
|
|
|
|
@ -669,9 +669,9 @@ class studentsList extends Component{
|
|
|
|
|
const { course_group_name, invite_code } = this.state;
|
|
|
|
|
|
|
|
|
|
const courseId = this.props.match.params.coursesId
|
|
|
|
|
let exportUrl = `/courses/${courseId}/export_member_scores_excel.xlsx?`; //总成绩
|
|
|
|
|
let exportUrltwo = `/courses/${courseId}/export_couser_info.xlsx?`; //课堂信息
|
|
|
|
|
let exportUrlthree = `/courses/${courseId}/export_member_act_score.xlsx?`; //活跃度
|
|
|
|
|
let exportUrl = `/courses/${courseId}/export_member_scores_excel.xlsx?${getRandomNumber(true)}`; //总成绩
|
|
|
|
|
let exportUrltwo = `/courses/${courseId}/export_couser_info.xlsx?${getRandomNumber(true)}`; //课堂信息
|
|
|
|
|
let exportUrlthree = `/courses/${courseId}/export_member_act_score.xlsx?${getRandomNumber(true)}`; //活跃度
|
|
|
|
|
|
|
|
|
|
const params = {}
|
|
|
|
|
if (course_group_id) {
|
|
|
|
@ -685,7 +685,7 @@ class studentsList extends Component{
|
|
|
|
|
}
|
|
|
|
|
let paramsString = ''
|
|
|
|
|
for (let key in params) {
|
|
|
|
|
paramsString += `${key}=${params[key]}&`
|
|
|
|
|
paramsString += `&${key}=${params[key]}&`
|
|
|
|
|
}
|
|
|
|
|
exportUrl += paramsString;
|
|
|
|
|
exportUrltwo+=paramsString;
|
|
|
|
|