diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index 2c5b5b16..185ef73b 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -855,6 +855,7 @@ export default { // 导出数据 function exportTaskStu() { + debugger {/* debugger */ } console.log("props.datasource此处的taskId 应该是router_task 表中主键", props.datasource); console.log("props.datasource", props.datasource); @@ -862,13 +863,13 @@ export default { window.open( `${process.env.VUE_APP_BASE_API }/admin/student/exportTaskStudent?currentStageId=${props.datasource.chapterId - }&type=2&pid=${props.datasource.courseId}&thirdType=1&taskId=${props.datasource.id}&taskType=${props.datasource.type}` + }&type=2&pid=${props.datasource.routerId}&thirdType=1&taskId=${props.datasource.id}&taskType=${props.datasource.type}` ); } else { window.open( `${process.env.VUE_APP_BASE_API }/admin/student/exportTaskStudent?currentStageId=${props.datasource.stageId - }&type=1&pid=${props.datasource.courseId}&thirdType=1&taskId=${props.datasource.id}&taskType=${props.datasource.type}` + }&type=1&pid=${props.datasource.projectId}&thirdType=1&taskId=${props.datasource.id}&taskType=${props.datasource.type}` ); } diff --git a/src/components/drawers/CheckWork.vue b/src/components/drawers/CheckWork.vue index ac26b74a..83cd35d8 100644 --- a/src/components/drawers/CheckWork.vue +++ b/src/components/drawers/CheckWork.vue @@ -183,6 +183,7 @@ export default { }; //获取作业详情 const getWorkDetail = () => { + debugger console.log("props.workId, props.stuId", props.workId, props.stuId); getWorkSubmitInfo(props.workId, props.stuId) .then((res) => { @@ -346,4 +347,4 @@ export default { } } } - \ No newline at end of file +