feat: 赛事管理操作日志与审计页体验优化
- API 为赛事/联赛/盘口/赔率/冠军盘写操作写入 CATALOG 审计日志,并新增 catalog-audit-logs 接口 - 管理端将赛事日志独立至赛事管理子页,通用操作日志排除 CATALOG 模块 - 统一赛事子页 list-chrome 布局与面包屑;修复操作日志页表格滚动与分页不可见问题 - 补充中英文/马来语文案及 UAT 验收项 SEC013/SEC014 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,6 +16,7 @@ const tabs = [
|
||||
{ path: '/matches', labelKey: 'nav.matches.fixtures' },
|
||||
{ path: '/matches/outrights', labelKey: 'nav.matches.outrights' },
|
||||
{ path: '/matches/market-templates', labelKey: 'nav.matches.market_templates' },
|
||||
{ path: '/matches/audit-logs', labelKey: 'nav.matches.audit_logs' },
|
||||
];
|
||||
|
||||
function isActive(path: string) {
|
||||
@@ -25,11 +26,15 @@ function isActive(path: string) {
|
||||
if (path === '/matches/market-templates') {
|
||||
return route.path === '/matches/market-templates';
|
||||
}
|
||||
if (path === '/matches/audit-logs') {
|
||||
return route.path === '/matches/audit-logs';
|
||||
}
|
||||
return (
|
||||
route.path === '/matches' ||
|
||||
(route.path.startsWith('/matches/') &&
|
||||
!route.path.startsWith('/matches/outrights') &&
|
||||
!route.path.startsWith('/matches/market-templates'))
|
||||
!route.path.startsWith('/matches/market-templates') &&
|
||||
!route.path.startsWith('/matches/audit-logs'))
|
||||
);
|
||||
}
|
||||
</script>
|
||||
@@ -73,9 +78,16 @@ function isActive(path: string) {
|
||||
border-right: 1px solid var(--border);
|
||||
background: transparent;
|
||||
flex-shrink: 0;
|
||||
height: 44px;
|
||||
min-height: 0;
|
||||
height: auto;
|
||||
align-self: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.matches-subnav--embedded .matches-subnav__item {
|
||||
height: 32px;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.matches-subnav__item {
|
||||
padding: 0 14px;
|
||||
height: 34px;
|
||||
|
||||
Reference in New Issue
Block a user