diff --git a/frontend/src/views/backtest/History.vue b/frontend/src/views/backtest/History.vue index 5cf01be..ee50b61 100644 --- a/frontend/src/views/backtest/History.vue +++ b/frontend/src/views/backtest/History.vue @@ -18,8 +18,8 @@ const pageSize = 20 const typeOptions = [ { key: 'all', label: '全部' }, - { key: 'cta', label: '回测' }, - { key: 'portfolio', label: '组合' }, + { key: 'cta', label: '个股回测' }, + { key: 'portfolio', label: '组合回测' }, { key: 'optimize', label: '参数优化' }, { key: 'factor', label: '因子分析' }, ] as const @@ -113,7 +113,7 @@ function open(row: TaskListItem): void { else router.push(`/backtest/result/${row.task_id}`) } -const typeLabelMap: Record = { cta: '回测', portfolio: '组合', optimize: '优化', factor: '因子' } +const typeLabelMap: Record = { cta: '个股回测', portfolio: '组合回测', optimize: '参数优化', factor: '因子分析' } function typeLabel(t: string): string { return typeLabelMap[t] || t } @@ -151,30 +151,22 @@ function statusLabel(s: string): string { - - + + - - + + - - - + + + + - - - + + - - + +