Files
eip4-web/package.json
zhengwr 4f06268755 feat(approval): 审批抽屉接协办/转阅多选人 + BPMN 流程图查看
- approval.ts ApprovalActionRequest 加 targetUserIds(协办/转阅多人)
- ApprovalDrawer 新增 MultiUserForm 多选人弹窗(协办 assist / 转阅 circulated)
- 新增 ProcessDiagram(bpmn-js NavigatedViewer:中文走浏览器字体,当前节点绿/已走过灰)
  + diagram.ts API;ApprovalDrawer 加「查看流程图」按需展开段
- 依赖 bpmn-js@^17

配套后端 eip4-platform feat/approval-closure(协办/转阅端点 + 流程图端点 + scriptUser 会签)。
tsc 干净 + vitest 83/83 + build 5104 模块。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 08:09:31 +08:00

42 lines
1.1 KiB
JSON

{
"name": "eip4-web",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "EIP4 前端渲染宿主——amis 6.13.0 本地化 SDK 渲染 + 登录/JWT + 待办聚合",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run"
},
"dependencies": {
"axios": "1.7.9",
"bpmn-js": "^17.11.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.28.0"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "22.10.2",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "4.3.4",
"amis": "^6.13.0",
"amis-core": "^6.13.0",
"amis-editor": "^6.13.0",
"amis-formula": "^6.13.0",
"amis-theme-editor-helper": "^6.12.0-ab.1",
"amis-ui": "^6.13.0",
"i18n-runtime": "^1.0.13",
"jsdom": "^29.1.1",
"typescript": "5.6.3",
"vite": "5.4.11",
"vitest": "^2.1.9"
}
}