feat(phase-4/5 用户端): 恢复巡店删除与指定删除ASIN两个功能页与全部表件

用户口径:这两个功能是随 fdaae3c5 连带删错(该退役的只有紫鸟新版/旧版选项控件),
本次按历史逐字找回并摘掉紫鸟引用。

- 页面:BrandDeleteBrandTab.vue(1740行) / BrandPatrolDeleteTab.vue(1370行) 从 fdaae3c5~1 找回,
  两页各摘 5 处 ZiniaoVersionSetting/useZiniaoVersion 引用与 1 个 ziniao_version 载荷字段
  (checkQueuePayload 只钉 taskId,摘掉不触闸;全树其余读点 0 处)
- 表件:router 两条路由、tool-catalog 18→20 工具与四条图标/详情、BrandTopBar 导航两条、
  endpoints 两块(deleteBrand 10 键 / patrolDelete 16 键)、progress-light 10→12、
  java-modules re-export、module-templates 联合、withdraw.ts 巡店段整文件找回(513 行,
  含两个 ProductRisk*Vo import)
- 测试面:9 支退役时改过的用例从 fdaae3c5~1 逐字找回(含 modules-delete-brand.test.ts 167 行/11 例)
- 自证:npm test 854/854 绿(基线 840+找回 14 例)、vue-tsc --noEmit 与 vite build 通过
- 未触碰他人在飞件:BrandSimilarAsinTab.vue / task-status-text.ts / similar-asin-fake-completed.test.ts

注:恢复后的三支大文件将顶破 ops 侧 readability 棘轮,基线随本轮在 ops 仓重锚并登记。
This commit is contained in:
2026-10-16 20:04:40 +08:00
parent ffeb777c38
commit 11ad68eea4
21 changed files with 4090 additions and 30 deletions
+34
View File
@@ -8,8 +8,10 @@ const MODULE_KEYS = [
'split',
'convert',
'publish',
'deleteBrand',
'productRisk',
'shopMatch',
'patrolDelete',
'queryAsin',
'shopDataCrawl',
'withdraw',
@@ -78,6 +80,8 @@ test('test_progress_batch_paths_match_controllers', () => {
'/api/appearance-patent/tasks/progress/batch',
'/api/collect-data/tasks/progress/batch',
'/api/publish/tasks/progress/batch',
'/api/delete-brand/tasks/progress/batch',
'/api/patrol-delete/tasks/progress/batch',
'/api/price-track/tasks/progress/batch',
'/api/product-risk-resolve/tasks/progress/batch',
'/api/shop-match/tasks/progress/batch',
@@ -144,6 +148,18 @@ test('test_endpoints_frozen_snapshot', () => {
"history": "/api/publish/history",
"taskDelete": "/api/publish/tasks/{taskId}"
},
"deleteBrand": {
"run": "/api/delete-brand/run",
"history": "/api/delete-brand/history",
"historyDelete": "/api/delete-brand/history/{resultId}",
"taskDetail": "/api/delete-brand/tasks/{taskId}",
"taskDetails": "/api/delete-brand/tasks/batch",
"taskDownload": "/api/delete-brand/tasks/{taskId}/download",
"resultDownload": "/api/delete-brand/results/{resultId}/download",
"resultSubmit": "/api/delete-brand/tasks/{taskId}/result",
"progressBatch": "/api/delete-brand/tasks/progress/batch",
"progressLight": "/api/delete-brand/tasks/progress/light"
},
"productRisk": {
"candidates": "/api/product-risk-resolve/candidates",
"candidateAdd": "/api/product-risk-resolve/candidates",
@@ -180,6 +196,24 @@ test('test_endpoints_frozen_snapshot', () => {
"skipAsins": "/api/shop-match/tasks/{taskId}/skip-asins/paginated",
"resultDownload": "/api/shop-match/results/{resultId}/download"
},
"patrolDelete": {
"candidates": "/api/patrol-delete/candidates",
"candidateAdd": "/api/patrol-delete/candidates",
"candidateDelete": "/api/patrol-delete/candidates/{id}",
"conditions": "/api/patrol-delete/conditions",
"conditionAdd": "/api/patrol-delete/conditions",
"conditionDelete": "/api/patrol-delete/conditions/{id}",
"matchShops": "/api/patrol-delete/match-shops",
"dashboard": "/api/patrol-delete/dashboard",
"history": "/api/patrol-delete/history",
"historyDelete": "/api/patrol-delete/history/{resultId}",
"progressBatch": "/api/patrol-delete/tasks/progress/batch",
"progressLight": "/api/patrol-delete/tasks/progress/light",
"taskCreate": "/api/patrol-delete/tasks",
"taskDelete": "/api/patrol-delete/tasks/{taskId}",
"taskResult": "/api/patrol-delete/tasks/{taskId}/result",
"resultDownload": "/api/patrol-delete/results/{resultId}/download"
},
"queryAsin": {
"candidates": "/api/query-asin/candidates",
"candidateAdd": "/api/query-asin/candidates",