diff --git a/src/api/indexTaskManage.js b/src/api/indexTaskManage.js
index 12da1b92..4c219e57 100644
--- a/src/api/indexTaskManage.js
+++ b/src/api/indexTaskManage.js
@@ -15,4 +15,7 @@ export const ExportExam = (obj) => http.post('/admin/exam/manage/exportExam', ob
export const QueryOnlineManagementDetail = (obj) => http.post('/admin/online/manage/queryOnlineManagementDetail', obj)
// 获取 课程库-面授管理-管理-学习记录 信息
-export const GetCourseStudent = (obj) => http.get('/admin/student/getCourseStudent', {params: obj})
\ No newline at end of file
+export const GetCourseStudent = (obj) => http.get('/admin/student/getCourseStudent', {params: obj})
+
+// 查询评估管理-管理学员的学习信息
+export const QueryAssessmentManageMessage = (obj) => http.post('/admin/assessment/manage/queryAssessmentManageMessage', obj)
\ No newline at end of file
diff --git a/src/views/research/ManagePage.vue b/src/views/research/ManagePage.vue
index d40d0f04..748a53cc 100644
--- a/src/views/research/ManagePage.vue
+++ b/src/views/research/ManagePage.vue
@@ -62,8 +62,8 @@
+
+
+
@@ -81,6 +94,7 @@ import ViewAssess from "../../components/drawers/ViewAssess";
import { reactive, toRefs } from "vue";
import { queryAssessmentDetailList } from "@/api/indexResearch";
import { useRouter } from "vue-router";
+import * as api from "@/api/indexTaskManage";
export default {
name: "ManagePage",
@@ -95,7 +109,11 @@ export default {
tableDataTotalLoading: true,
tabledata: [],
tableDataTotal: 0,
- evalDataSource: ""
+ evalDataSource: "",
+ evalStuListData: [],
+ evalStuListLoading:true,
+ evalStuListDataTotal:0,
+ evalCurrentPage:1
});
const getInfoDate = async () => {
@@ -112,18 +130,35 @@ export default {
});
// 获取学员信息
- console.log('传递的请求学员信息的参数',{
- pageNo: state.currentPage,
- pageSize: state.pageSize,
- type: 3,
- taskId: router.currentRoute.value.params.id,
- pid: router.currentRoute.value.params.id
- })
- // createName
+ state.evalStuListLoading = true;
+ api.QueryAssessmentManageMessage({
+ "assessmentId": router.currentRoute.value.params.id,
+ "pageNo": state.currentPage,
+ "pageSize": state.pageSize
+ }).then(res=>{
+ console.log('获取学员信息',res)
+ // evalStuListDataTotal evalCurrentPage
+ state.evalStuListLoading = false;
+ if(res.data.code==200){
+ state.evalStuListDataTotal = res.data.data.total;
+ state.evalStuListData = res.data.data.rows;
+ state.evalStuListLoading = false;
+ }
+ }).catch(err=>{
+ console.log(err)
+ state.evalStuListLoading = false;
+ })
};
getInfoDate();
+ //分页
+ const changePaginationStu = (page) => {
+ state.evalStuListLoading = true;
+ state.evalCurrentPage = page;
+ getInfoDate();
+ };
+
const showassess = (data) => {
state.evalDataSource = data;
state.Assessvisible = true;
@@ -181,32 +216,32 @@ export default {
{
title: "工号",
width: 40,
- dataIndex: "userNo",
- key: "userNo",
+ dataIndex: "studentCode",
+ key: "studentCode",
},
{
title: "姓名",
width: 40,
- dataIndex: "name",
- key: "name",
+ dataIndex: "studentName",
+ key: "studentName",
},
{
title: "部门",
width: 50,
- dataIndex: "department",
- key: "department",
+ dataIndex: "studentDepartName",
+ key: "studentDepartName",
},
{
width: 50,
title: "岗位",
- dataIndex: "post",
- key: "post",
+ dataIndex: "studentJobName",
+ key: "studentJobName",
},
{
title: "数据来源",
width: 50,
- dataIndex: "dataSource",
- key: "dataSource",
+ dataIndex: "source",
+ key: "source",
},
// {
// title: "项目",
@@ -223,8 +258,8 @@ export default {
{
title: "提交时间",
width: 50,
- dataIndex: "submit",
- key: "submit",
+ dataIndex: "submitTime",
+ key: "submitTime",
},
{
title: "操作",
@@ -250,6 +285,7 @@ export default {
},
],
showassess,
+ changePaginationStu
};
},
};