feat(web): 前端 SPA 化 + 工具页任务面板统一与历史批量删除

- SPA 化:22 个 MPA html 入口与 *-main.ts 合并为 index.html + vue-router(URL 无 .html 后缀),
  页面跳转全部 router-link,/new_web_source/xxx.html 旧路径归一为 /xxx
- 任务面板统一:共享 TaskCenterPanel/TaskItemCard/TaskStatCards/HistoryTaskLayer,
  16 个工具页右侧统一为统计卡 + 当前任务 + 历史任务弹层(任务ID/开始/结束/状态必展示)
- 历史记录支持单条删除 + 批量勾选删除(确认框/全选/失败提示)
- Java 7 模块(dedupe/convert/split/productrisk/shopmatch/pricetrack/deletebrand)
  history 接口补齐任务时间字段(VO+Service,复用 biz_file_task 列)
- 图片工作台/API 层(brand/permission/user)既有未提交改动一并提交
This commit is contained in:
2026-09-08 10:02:55 +08:00
parent d618f3954e
commit 677c2677ec
125 changed files with 7482 additions and 4304 deletions
@@ -5,7 +5,7 @@
<div v-if="$slots.logoExtra" class="logo-extra">
<slot name="logoExtra" />
</div>
<a v-if="showHomeLink" href="/home" class="btn-home">返回首页</a>
<router-link v-if="showHomeLink" to="/home" class="btn-home">返回首页</router-link>
</div>
<nav v-if="showNav" class="nav-sections" aria-label="顶部功能导航">
@@ -13,9 +13,9 @@
<div class="nav-section-title">{{ group.label }}</div>
<div class="nav-section-items">
<template v-for="item in group.items" :key="item.key">
<a v-if="item.href" :href="item.href" class="nav-item" :class="{ active: active === item.key }">
<router-link v-if="item.href" :to="item.href" class="nav-item" :class="{ active: active === item.key }">
{{ item.label }}
</a>
</router-link>
<span v-else class="nav-item disabled" :class="{ active: active === item.key }">
{{ item.label }}
</span>
@@ -94,30 +94,30 @@ const navGroups: ReadonlyArray<NavGroup> = [
columnKey: 'brand_front_tools',
label: '前端工具',
items: [
{ key: 'collect-data', label: '采集数据', href: '/new_web_source/collect-data.html' },
{ key: 'variant-collection', label: 'ASIN变体采集', href: '/new_web_source/variant-collection.html' },
// { key: 'image-video', label: '视频', href: '/new_web_source/image-video.html' },
{ key: 'brand', label: '品牌检测', href: '/new_web_source/brand.html' },
{ key: 'appearance-patent', label: '外观专利检测', href: '/new_web_source/appearance-patent.html' },
{ key: 'similar-asin', label: '货源查询', href: '/new_web_source/similar-asin.html' },
{ key: 'dedupe', label: '数据去重', href: '/new_web_source/dedupe.html' },
{ key: 'split', label: '数据拆分', href: '/new_web_source/split.html' },
{ key: 'convert', label: '格式转换', href: '/new_web_source/convert.html' },
{ key: 'collect-data', label: '采集数据', href: '/collect-data' },
{ key: 'variant-collection', label: 'ASIN变体采集', href: '/variant-collection' },
// { key: 'image-video', label: '视频', href: '/image-video' },
{ key: 'brand', label: '品牌检测', href: '/brand' },
{ key: 'appearance-patent', label: '外观专利检测', href: '/appearance-patent' },
{ key: 'similar-asin', label: '货源查询', href: '/similar-asin' },
{ key: 'dedupe', label: '数据去重', href: '/dedupe' },
{ key: 'split', label: '数据拆分', href: '/split' },
{ key: 'convert', label: '格式转换', href: '/convert' },
],
},
{
columnKey: 'brand_operation_tools',
label: '运营工具',
items: [
{ key: 'publish', label: '上架', href: '/new_web_source/publish.html' },
{ key: 'delete-brand', label: '删除ASIN', href: '/new_web_source/delete-brand.html' },
{ key: 'product-risk', label: '商品风险解决', href: '/new_web_source/product-risk.html' },
{ key: 'shop-match', label: '定时匹配', href: '/new_web_source/shop-match.html' },
{ key: 'pricing', label: '跟价', href: '/new_web_source/price-track.html', aliases: ['price-track'] },
{ key: 'patrol-delete', label: '巡店删除', href: '/new_web_source/patrol-delete.html' },
{ key: 'query-asin', label: '查询ASIN', href: '/new_web_source/query-asin.html' },
{ key: 'shop-data-crawl', label: '店铺数据抓取', href: '/new_web_source/shop-data-crawl.html', columnKey: 'shop_data_crawl', aliases: ['shop-data-crawl'] },
{ key: 'withdraw', label: '取款', href: '/new_web_source/withdraw.html' },
{ key: 'publish', label: '上架', href: '/publish' },
{ key: 'delete-brand', label: '删除ASIN', href: '/delete-brand' },
{ key: 'product-risk', label: '商品风险解决', href: '/product-risk' },
{ key: 'shop-match', label: '定时匹配', href: '/shop-match' },
{ key: 'pricing', label: '跟价', href: '/price-track', aliases: ['price-track'] },
{ key: 'patrol-delete', label: '巡店删除', href: '/patrol-delete' },
{ key: 'query-asin', label: '查询ASIN', href: '/query-asin' },
{ key: 'shop-data-crawl', label: '店铺数据抓取', href: '/shop-data-crawl', columnKey: 'shop_data_crawl', aliases: ['shop-data-crawl'] },
{ key: 'withdraw', label: '取款', href: '/withdraw' },
{ key: 'shop-status', label: '店铺状态查询' },
],
},