修改考试管理

This commit is contained in:
quhongwei
2023-03-01 02:24:04 +08:00
parent cddfa6efde
commit 3a95fb725b
2 changed files with 4 additions and 4 deletions

View File

@@ -402,8 +402,8 @@ export default {
taskId: props.datasource.courseId, taskId: props.datasource.courseId,
targetId: props.datasource.projectId targetId: props.datasource.projectId
}).then(res=>{ }).then(res=>{
state.tabledata = res.data.data.managementDtoList; state.tabledata = res.data.data.managementDtoList.records;
state.tableDataTotal = res.data.data.total; state.tableDataTotal = res.data.data.managementDtoList.total;
state.loadingData = false; state.loadingData = false;
}) })
} }

View File

@@ -403,8 +403,8 @@ export default {
taskId: props.datasource.courseId, taskId: props.datasource.courseId,
targetId: props.datasource.routerId targetId: props.datasource.routerId
}).then(res => { }).then(res => {
state.tabledata = res.data.data.managementDtoList; state.tabledata = res.data.data.managementDtoList.records;
state.tableDataTotal = res.data.data.total; state.tableDataTotal = res.data.data.managementDtoList.total;
state.loadingData = false; state.loadingData = false;
}) })
} }