fix: 通知
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m20s

This commit is contained in:
luo
2026-07-28 18:40:54 +08:00
parent ee266c51cc
commit 831f03c3a7
9 changed files with 213 additions and 106 deletions

View File

@@ -718,7 +718,7 @@
{
type: 'primary',
link: true,
onClick: () => handleViewDetail(row)
onClick: () => handleNameClick(row)
},
() => row.exchange_no || '--'
)
@@ -1410,6 +1410,14 @@
}
// 查看详情
const handleNameClick = (row: ExchangeResponse) => {
if (hasAuth('exchange:detail')) {
handleViewDetail(row)
} else {
ElMessage.warning('您没有查看详情的权限')
}
}
const handleViewDetail = (row: any) => {
router.push(`${RoutesAlias.ExchangeDetail}/${row.id}`)
}