dev_forum
杨树林 5 years ago
parent 10fce08c59
commit f536f0c98c

@ -1338,7 +1338,7 @@ class Listofworks extends Component {
// 导出实习报告批量 // 导出实习报告批量
internshipreport = ()=>{ internshipreport = ()=>{
console.log("internshipreport"); console.log("internshipreport");
let url = "http://47.96.87.25:48080/zip/shixun_report"; let url = "/zip/shixun_report";
let homeworkid = this.props.match.params.homeworkid; let homeworkid = this.props.match.params.homeworkid;
axios.get((url),{ axios.get((url),{
params: { params: {
@ -1375,7 +1375,7 @@ class Listofworks extends Component {
Classstudentachievement=()=>{ Classstudentachievement=()=>{
console.log("Classstudentachievement"); console.log("Classstudentachievement");
const course_id = this.props.match.params.coursesId; const course_id = this.props.match.params.coursesId;
let url = "http://47.96.87.25:48080/courses/"+course_id+"/export_member_scores_excel.xlsx"; let url = "/courses/"+course_id+"/export_member_scores_excel.xlsx";
axios.get((url),{ axios.get((url),{
params: { params: {
group_id: this.state.checkedValuesineinfo, group_id: this.state.checkedValuesineinfo,

Loading…
Cancel
Save