完成历史项目导入前端闭环

This commit is contained in:
wkc
2026-03-29 10:01:42 +08:00
parent 0889ee4533
commit 9df1b956b3
3 changed files with 18 additions and 0 deletions

View File

@@ -78,3 +78,9 @@
-`uploadFileActionRules.js` 改为按整行判断动作,对 `sourceType = HISTORY_IMPORT` 的记录直接返回 `null`,隐藏删除入口
- 新增 `upload-data-history-import-readonly.test.js`,并扩展现有文件列表与删除文案测试,锁定来源字段与历史导入只读规则
- 验证命令:`cd ruoyi-ui && node tests/unit/upload-data-file-list-table.test.js && node tests/unit/upload-data-delete-retag-copy.test.js && node tests/unit/upload-data-history-import-readonly.test.js`
### 2026-03-29 Task 4 前端校验与详情页收口验证
- 扩展 `project-import-history-dialog-behavior.test.js`,补齐“请选择历史项目”“请输入新项目名称”两条关键校验文案断言,锁定导入弹窗最小交互约束
- 扩展 `project-detail-tagging-polling.test.js`,补齐 `this.$route.params.projectId``projectStatusPolling` 代码痕迹断言,确认新项目详情页继续以路由参数承接并保留状态轮询能力
- 完成前端回归验证:`cd ruoyi-ui && node tests/unit/project-import-history-submit-flow.test.js && node tests/unit/project-import-history-dialog-layout.test.js && node tests/unit/project-import-history-dialog-behavior.test.js && node tests/unit/upload-data-file-list-table.test.js && node tests/unit/upload-data-delete-retag-copy.test.js && node tests/unit/upload-data-history-import-readonly.test.js && node tests/unit/project-detail-tagging-polling.test.js`