diff --git a/SafeCampus.WEB/components.d.ts b/SafeCampus.WEB/components.d.ts index fb733d8..0430227 100644 --- a/SafeCampus.WEB/components.d.ts +++ b/SafeCampus.WEB/components.d.ts @@ -27,7 +27,6 @@ declare module 'vue' { ElCol: typeof import('element-plus/es')['ElCol'] ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] ElContainer: typeof import('element-plus/es')['ElContainer'] - ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] ElDialog: typeof import('element-plus/es')['ElDialog'] ElDivider: typeof import('element-plus/es')['ElDivider'] ElDrawer: typeof import('element-plus/es')['ElDrawer'] @@ -40,7 +39,6 @@ declare module 'vue' { ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElHeader: typeof import('element-plus/es')['ElHeader'] ElIcon: typeof import('element-plus/es')['ElIcon'] - ElImage: typeof import('element-plus/es')['ElImage'] ElInput: typeof import('element-plus/es')['ElInput'] ElLink: typeof import('element-plus/es')['ElLink'] ElMain: typeof import('element-plus/es')['ElMain'] @@ -49,12 +47,9 @@ declare module 'vue' { ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] - ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSelect: typeof import('element-plus/es')['ElSelect'] - ElSlider: typeof import('element-plus/es')['ElSlider'] ElSpace: typeof import('element-plus/es')['ElSpace'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] @@ -63,11 +58,8 @@ declare module 'vue' { ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] - ElText: typeof import('element-plus/es')['ElText'] - ElTimePicker: typeof import('element-plus/es')['ElTimePicker'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] - ElUpload: typeof import('element-plus/es')['ElUpload'] ESign: typeof import('./src/components/ESign/index.vue')['default'] FormContainer: typeof import('./src/components/Form/FormContainer/index.vue')['default'] Grid: typeof import('./src/components/Grid/index.vue')['default'] diff --git a/SafeCampus.WEB/src/api/modules/attendance/roolcall.ts b/SafeCampus.WEB/src/api/modules/attendance/roolcall.ts index b07ffc8..0f11014 100644 --- a/SafeCampus.WEB/src/api/modules/attendance/roolcall.ts +++ b/SafeCampus.WEB/src/api/modules/attendance/roolcall.ts @@ -48,6 +48,10 @@ const attendanceRoolcallApi = { /** 修改点名任务 */ update(params: any) { return http.put("update", params); + }, + /** 手动点名 */ + manualRoll(params: any) { + return http.post("manualRoll", params); } }; 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('') });