admin_new P0+P1 全批次合并 (84 commits) #2

Merged
direv merged 85 commits from develop into main 2026-08-07 11:27:17 +08:00
Showing only changes of commit c34035434a - Show all commits

View File

@ -161,14 +161,13 @@ async function loadCustomers() {
const columns = [ const columns = [
{ prop: 'customerName', label: '客户名', minWidth: 150 }, { prop: 'customerName', label: '客户名', minWidth: 150 },
{ prop: 'appName', label: '应用名称', minWidth: 180 }, { prop: 'appName', label: '应用名称', minWidth: 220 },
{ prop: 'appId', label: 'AppID', width: 240, showOverflowTooltip: true }, { prop: 'appId', label: 'AppID', width: 240, showOverflowTooltip: true },
{ prop: 'scopes', label: '权限范围', minWidth: 160 },
{ prop: 'totalCallCount', label: '调用次数', width: 100, align: 'right' as const, formatter: (row: any) => row.totalCallCount ?? '--' }, { prop: 'totalCallCount', label: '调用次数', width: 100, align: 'right' as const, formatter: (row: any) => row.totalCallCount ?? '--' },
{ prop: 'status', label: '状态', width: 90, slot: 'status' as const }, { prop: 'status', label: '状态', width: 90, slot: 'status' as const },
{ prop: 'createDate', label: '创建时间', width: 170, slot: 'createDate' as const }, { prop: 'createDate', label: '创建时间', width: 170, slot: 'createDate' as const },
{ prop: 'lastUsedAt', label: '最后调用', width: 170, formatter: (row: any) => fmtDate(row.lastUsedAt) }, { prop: 'lastUsedAt', label: '最后调用', width: 170, formatter: (row: any) => fmtDate(row.lastUsedAt) },
{ label: '操作', width: 160, align: 'center' as const, fixed: 'right' as const, slot: 'action' as const } { label: '操作', width: 220, align: 'center' as const, fixed: 'right' as const, slot: 'action' as const }
] ]
function onSearch() { page.value = 1; load() } function onSearch() { page.value = 1; load() }