diff --git a/src/api/apis.js b/src/api/apis.js index 72d5416e..ae74b11e 100644 --- a/src/api/apis.js +++ b/src/api/apis.js @@ -1,7 +1,7 @@ export const STUDENT_LIST = '/admin/student/getStudent'; export const ONLINE_COURSE_PAGE = '/onlineClasses/queryOnlineList'; export const ASSESSMENT_PAGE = '/assessment/queryAssessmentDetailList post'; -export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlist post'; +export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlistV2 post'; export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post'; export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post'; export const PROJECT_TEMPLATE_DETAIL_MODIFY = '/admin/project/template/editStageAndTask post'; diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index 185ef73b..27282fde 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -826,7 +826,7 @@ export default { name: props.datasource?.name, url: process.env.VUE_APP_BASE_API + - `/admin/student/studentSign?taskId=${props.datasource.routerTaskId + `/admin/student/studentSign?taskId=${props.datasource.id }&taskType=${props.datasource.type}&type=${2}`, }; console.log("codeInfo", state.codeInfo); @@ -855,7 +855,6 @@ export default { // 导出数据 function exportTaskStu() { - debugger {/* debugger */ } console.log("props.datasource此处的taskId 应该是router_task 表中主键", props.datasource); console.log("props.datasource", props.datasource); diff --git a/src/components/drawers/CheckWork.vue b/src/components/drawers/CheckWork.vue index 83cd35d8..00200b2d 100644 --- a/src/components/drawers/CheckWork.vue +++ b/src/components/drawers/CheckWork.vue @@ -183,7 +183,7 @@ export default { }; //获取作业详情 const getWorkDetail = () => { - debugger + // debugger console.log("props.workId, props.stuId", props.workId, props.stuId); getWorkSubmitInfo(props.workId, props.stuId) .then((res) => { diff --git a/src/components/drawers/ExportScore.vue b/src/components/drawers/ExportScore.vue index b3ee5147..eadbe8d2 100644 --- a/src/components/drawers/ExportScore.vue +++ b/src/components/drawers/ExportScore.vue @@ -24,7 +24,7 @@ @change="handleChange" :showUploadList="false" :data="{ type: type, taskId: Number(id), - workId: datesource.info.id, + workId: datesource.info?datesource.info.id:id, targetId: Number(id), }">