41be262dee
- 后端:dotenv/config 加载 ENCRYPTION_KEY,修复薪资数据解密 - 后端:社保/公积金 calculate API 回退到 SocialYearStandard(通过默认账户) - 后端:getSocialConfigByMonth/getHousingConfigByMonth 回退到 SocialYearStandard - 后端:active-declaration 查询条件改为 lte,当月办理的增员也显示在在保列表 - 后端:employee-enrollment API 增加部门/参保状态筛选和分页 - 后端:updateEmployeeSchema 增加 baseSalary/performanceSalary 字段 - 后端:payroll2.routes 批次详情包含 contracts 合同类型 - 前端:月度办理社保/公积金改为 tab 切换(不再同时展开) - 前端:员工参保列表增加筛选(部门/社保状态/公积金状态)和分页 - 前端:花名册基本信息增加月度工资只读显示(基本+绩效自动计算) - 前端:薪资批次详情表增加合同类型列 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "hr-compliance-backend",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:seed": "tsx prisma/seed.ts",
|
|
"prisma:seed-multi": "tsx prisma/seed-multi-org.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^5.18.0",
|
|
"@types/multer": "^2.2.0",
|
|
"@types/redis": "^4.0.10",
|
|
"bcryptjs": "^2.4.3",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^17.4.2",
|
|
"exceljs": "^4.4.0",
|
|
"express": "^4.19.0",
|
|
"express-rate-limit": "^7.4.0",
|
|
"helmet": "^7.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"mammoth": "^1.12.0",
|
|
"morgan": "^1.10.0",
|
|
"multer": "^2.2.0",
|
|
"node-cron": "^3.0.3",
|
|
"openai": "^6.48.0",
|
|
"pino": "^10.3.1",
|
|
"pino-pretty": "^13.1.3",
|
|
"redis": "^6.1.0",
|
|
"uuid": "^10.0.0",
|
|
"xlsx": "^0.18.5",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jsonwebtoken": "^9.0.6",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/node": "^20.14.0",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/uuid": "^10.0.0",
|
|
"prisma": "^5.18.0",
|
|
"ts-node-dev": "^2.0.0",
|
|
"tsx": "^4.23.1",
|
|
"typescript": "^5.5.0"
|
|
}
|
|
}
|