Files
selfrelease 71e2bb2412 feat: AI判赔预测表单UI优化 - 卡片布局/左右分栏/Word导出
- 结构化判赔预测表单改为卡片式布局(员工信息/争议事实/制度合规)
- 左右分栏:左栏表单(2/5),右栏AI结果(3/5),结果区固定高度可滚动
- 系统带出字段用Database图标替代文字标注
- 移除违纪记录摘要重复内容
- 三期信息整合到员工信息卡片内
- 新增AI分析结果导出Word文档功能(docx库)
- 后端roster API返回三期字段,修复特殊状态拼接逻辑
- 修复markdown渲染样式冲突(移除index.css中h1/h2/h3覆盖)
2026-07-26 23:03:25 +08:00

48 lines
1.2 KiB
JSON

{
"name": "hr-compliance-frontend",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@tanstack/react-query": "^5.51.0",
"axios": "^1.7.0",
"clsx": "^2.1.0",
"docx": "^9.7.1",
"file-saver": "^2.0.5",
"jspdf": "^4.2.1",
"lucide-react": "^0.428.0",
"qrcode.react": "^4.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.0",
"react-markdown": "^10.1.0",
"react-router-dom": "^6.26.0",
"recharts": "^3.10.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"xlsx": "^0.18.5",
"zod": "^3.23.0",
"zustand": "^4.5.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.20",
"@types/file-saver": "^2.0.7",
"@types/node": "^26.1.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.0",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.5.0",
"vite": "^5.4.0"
}
}