feat(web): 管理面调用日志——筛选明细与 key/成员跳转链路

This commit is contained in:
2026-10-09 01:41:45 +08:00
parent 2e91c593ab
commit 008eb14adc
12 changed files with 436 additions and 17 deletions
+8
View File
@@ -297,6 +297,13 @@ function onRowClass(record: KeyItem) {
{{ formatMinute(record.registered_at) }}
</template>
<template v-else-if="column.key === 'actions'">
<a-space>
<a-button
size="small"
@click="() => router.push({ path: '/admin/logs', query: { api_key_id: String(record.id) } })"
>
查调用
</a-button>
<a-popconfirm
v-if="record.status === 'active'"
title="停用后移出轮询清单(数据保留)"
@@ -310,6 +317,7 @@ function onRowClass(record: KeyItem) {
<a-button v-else size="small" @click="() => onToggleStatus(record)">
启用
</a-button>
</a-space>
</template>
</template>
</a-table>