From 0659111c8be777fe336c1911961250b7aeb3f246 Mon Sep 17 00:00:00 2001 From: suyanyan <1321717064@qq.com> Date: Wed, 4 Sep 2024 14:18:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E8=A1=8C=E4=B8=BA=E7=94=BB?= =?UTF-8?q?=E5=83=8F-=E5=AD=A6=E7=94=9F=E6=A1=A3=E6=A1=88=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/modules/violation/portraitSummary.ts | 16 + .../views/attendance/behaviorTrace/index.vue | 2 + .../roolcall/components/form/index.vue | 8 +- .../src/views/attendance/roolcall/index.vue | 4 +- .../personnel/components/form/form_basic.vue | 2 + .../personnel/components/form/index.vue | 4 +- .../src/views/userManage/personnel/index.vue | 2 + .../src/views/violation/portrait/detail.vue | 333 ++++++++++-------- 8 files changed, 220 insertions(+), 151 deletions(-) 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('') });