初始提交:企业级日报系统完整代码

功能特性:
-  JWT用户认证系统
-  日报CRUD管理
-  三级权限控制
-  多维度搜索过滤
-  统计分析功能
-  评论互动系统
-  响应式Cool Admin界面
-  暗色主题支持

 技术栈:
- 后端:Django 4.2.7 + DRF + SimpleJWT
- 前端:Vue 3 + Element Plus + Pinia
- 数据库:SQLite/PostgreSQL
- 部署:Docker + Nginx

 包含内容:
- 完整的后端API代码
- 现代化前端界面
- 数据库迁移文件
- 部署脚本和文档
- 演示页面和测试工具
This commit is contained in:
jiangmingzhao
2025-09-13 14:35:15 +08:00
commit 9b9ee273fc
78 changed files with 24709 additions and 0 deletions

12
backend/env.example Normal file
View File

@@ -0,0 +1,12 @@
# Django配置
SECRET_KEY=your-secret-key-here
DEBUG=True
# 数据库配置可选默认使用SQLite
# DATABASE_URL=postgresql://username:password@localhost:5432/daily_report_db
# 跨域配置
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# 其他配置
ALLOWED_HOSTS=localhost,127.0.0.1