diff --git a/SafeCampus.WEB/src/api/modules/violation/portraitSummary.ts b/SafeCampus.WEB/src/api/modules/violation/portraitSummary.ts index 8b9db03..54c24ce 100644 --- a/SafeCampus.WEB/src/api/modules/violation/portraitSummary.ts +++ b/SafeCampus.WEB/src/api/modules/violation/portraitSummary.ts @@ -39,6 +39,22 @@ const portraitSummaryApi = { /** 获取学生属性标签 */ getStudentDetail(params: any) { return http.get("getStudentDetail", params); + }, + /* 学生-出勤情况 */ + getStudentAttendance(params: any) { + return http.post("attendance", params); + }, + /* 学生-出校 */ + getStudentOutSchool(params: any) { + return http.post("outsideSchool", params); + }, + /* 学生-图书馆 */ + getStudentLibrary(params: any) { + return http.post("library", params); + }, + /* 学生-食堂 */ + getStudentCanteen(params: any) { + return http.post("canteen", params); } }; diff --git a/SafeCampus.WEB/src/views/attendance/behaviorTrace/index.vue b/SafeCampus.WEB/src/views/attendance/behaviorTrace/index.vue index 56498ab..f259486 100644 --- a/SafeCampus.WEB/src/views/attendance/behaviorTrace/index.vue +++ b/SafeCampus.WEB/src/views/attendance/behaviorTrace/index.vue @@ -187,6 +187,8 @@ const detialRef = ref | null>(null); onMounted(async () => { // 获取系部下拉数据 departmentOptions.value = await getDepartmentList() + // 获取班级 + classOptions.value = await getClassList('') });