feat: 学生信息管理系统开发完成

- 完成学生信息管理核心功能开发
- 新增学生信息采集批次管理功能
- 完成班干部管理模块开发
- 修复物业报修模块附件上传逻辑
- 完善数据库表结构和权限配置
- 更新API文档和变更记录
- 优化前端页面交互体验

详细变更记录见:
- docs/变更管理/code-adjust-record-2025-01-13-wuzhen.md
- docs/变更管理/code-adjust-record-2025-07-11-wuzilong.md
- docs/变更管理/code-adjust-record-2025-07-12-wuzhen.md
This commit is contained in:
wuzhen committed 2025-07-14 07:53:31 +08:00
commit 8697b21b4d
237 files changed
+35787 -2878

No files matched your search

+37 -26
View File
@@ -1,39 +1,48 @@
# 安全保卫管理模块 - API接口
## 📋 模块说明
- **模块名称**: 安全保卫管理 (Security Management)
- **模块简称**: aqbw
- **对应后端**: backend/ruoyi-modules/ruoyi-aqbw/
- **对应前端**: web/src/views/aqbw/
## 📁 目录结构
此目录用于存放安全保卫管理模块的所有API接口定义,建议按功能模块细分:
### 🔒 门禁管理 (access/)
- `access/index.ts` - 门禁管理API
- 门禁权限、进出记录、访客管理
### 📹 监控管理 (monitor/)
- `monitor/index.ts` - 监控管理API
- 监控设备、录像查看、异常报警
### 🚨 安全事件 (incident/)
- `incident/index.ts` - 安全事件管理API
- 事件报告、事件处理、应急预案
### 👮 安保人员 (security/)
- `security/index.ts` - 安保人员管理API
- 人员管理、值班安排、巡逻记录
### 🚗 车辆管理 (vehicle/)
- `vehicle/index.ts` - 车辆管理API
- 车辆登记、停车管理、违章处理
### 📊 统计分析 (statistics/)
- `statistics/index.ts` - 安全统计分析API
- 安全数据统计、事件分析、风险评估
## 🎯 API规范
- 统一使用TypeScript定义接口类型
- 请求路径前缀:`/aqbw/`
- 权限编码格式:`aqbw:功能:操作`
@@ -41,36 +50,37 @@
- 安全相关接口需要特别的权限控制
## 📝 接口示例
```typescript
// 安全事件查询接口
export interface SecurityIncidentQuery {
pageNum?: number
pageSize?: number
incidentTitle?: string
incidentType?: string
severity?: string
status?: string
startDate?: string
endDate?: string
pageNum?: number;
pageSize?: number;
incidentTitle?: string;
incidentType?: string;
severity?: string;
status?: string;
startDate?: string;
endDate?: string;
}
export interface SecurityIncidentVO {
id: number
incidentTitle: string
incidentCode: string
incidentType: string
severity: string
description: string
location: string
reporterId: number
reporterName: string
handleId?: number
handlerName?: string
status: string
occurTime: string
reportTime: string
handleTime?: string
createTime: string
id: number;
incidentTitle: string;
incidentCode: string;
incidentType: string;
severity: string;
description: string;
location: string;
reporterId: number;
reporterName: string;
handleId?: number;
handlerName?: string;
status: string;
occurTime: string;
reportTime: string;
handleTime?: string;
createTime: string;
}
// 获取安全事件列表
@@ -79,14 +89,15 @@ export function listSecurityIncident(query: SecurityIncidentQuery) {
url: '/aqbw/incident/list',
method: 'get',
params: query
})
});
}
```
## 📝 注意事项
- 所有接口类型定义需要与后端VO对象保持一致
- 分页查询统一使用TableDataInfo响应格式
- 非分页接口使用R类型响应格式
- 安全相关数据需要严格的权限控制
- 敏感操作需要详细的日志记录
- 紧急事件处理接口需要考虑实时性
- 紧急事件处理接口需要考虑实时性
+2 -2
View File
@@ -4,7 +4,7 @@
* @date 2025-01-23
*/
import request from '@/utils/request'
import request from '@/utils/request';
// 此处导出安全保卫管理模块相关的所有API接口
// 示例:
@@ -15,4 +15,4 @@ import request from '@/utils/request'
// export * from './vehicle' // 车辆管理
// 临时导出一个空对象,防止编译错误
export default {}
export default {};