feat: 后管菜单更名「外观专利数据库」——V191 改 columns.name(V190 已上产不可回改);routes 标题/页头 h3/403 文案同步;挂载测试断言随改

This commit is contained in:
2026-11-10 10:31:06 +08:00
parent 264db52b84
commit 9acb221152
5 changed files with 48 additions and 5 deletions
@@ -88,7 +88,7 @@ onMounted(() => {
<div class="clean-items-view">
<section class="panel-box">
<div class="clean-panel-head">
<h3>外观专利无侵权数据</h3>
<h3>外观专利数据库</h3>
</div>
<div class="clean-filter-row">
+1 -1
View File
@@ -44,7 +44,7 @@ export const adminPages: AdminPageDef[] = [
{ path: 'asin-center/query', menuKey: 'admin_query_asin', title: '查询ASIN', companyScoped: true, load: () => import('@/pages/asin/QueryAsinPage.vue') },
{ path: 'asin-center/categories', menuKey: 'admin_product_categories', title: '商品类目', companyScoped: false, load: () => import('@/pages/asin/ProductCategoryPage.vue') },
{ path: 'asin-center/skip-price', menuKey: 'admin_skip_price_asin', title: '最低价ASIN', companyScoped: true, load: () => import('@/pages/asin/SkipPricePage.vue') },
{ path: 'patent-center/clean-items', menuKey: 'admin_appearance_patent_clean_items', title: '外观专利无侵权数据', companyScoped: true, load: () => import('@/pages/patent/AppearancePatentCleanItemsPage.vue') },
{ path: 'patent-center/clean-items', menuKey: 'admin_appearance_patent_clean_items', title: '外观专利数据库', companyScoped: true, load: () => import('@/pages/patent/AppearancePatentCleanItemsPage.vue') },
]
export function routeOf(page: AdminPageDef): RouteRecordRaw {
@@ -88,7 +88,7 @@ describe('AC-5 外观专利无侵权数据页(分页列表,参照去重数
const page = adminPages.find((p) => p.path === 'patent-center/clean-items')
expect(page).toBeTruthy()
expect(page?.menuKey).toBe(MENU_KEY)
expect(page?.title).toBe('外观专利无侵权数据')
expect(page?.title).toBe('外观专利数据库')
expect(page?.companyScoped).toBe(true)
const scoped = COMPANY_SCOPED_PAGES.find((p) => p.menuKey === MENU_KEY)
expect(scoped).toBeTruthy()