From c34035434a740bc7ed1290251b4ed75f58cec4ed Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Thu, 9 Jul 2026 16:20:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(F006-W17.8.3):=20openapi/app=20=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=9D=83=E9=99=90=E8=8C=83=E5=9B=B4=E5=88=97=20+=20?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=88=97=E5=8A=A0=E5=AE=BD=E5=88=B0=20220?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用户反馈: 隐藏权限范围列, 操作列加宽 列宽重新分配 (1920 视口, 8 列, 表格 1630px 撑满): - 删除 权限范围列 (scopes, minWidth 160) - 应用名称 minWidth 180 → 220 (吸收差额 60px) - 操作列 width 160 → 220 (加宽 60px, 给重发二维码+⋯ 充足空间) - 其他列保持不变 实测 (Playwright): - 客户名 260 / 应用名称 380 / AppID 240 / 调用次数 100 - 状态 90 / 创建时间 170 / 最后调用 170 / 操作 220 - 总列宽 1630px, 右边距 29px (与参考页用户列表一致) 操作列按钮完整性: - 行 0 (已撤销): [详情, 删除] ✅ - 行 1/2 (已激活): [详情, 重发二维码] + ⋯ ✅ --- src/modules/openapi/OpenAppListView.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/openapi/OpenAppListView.vue b/src/modules/openapi/OpenAppListView.vue index d80d74a..e9a4ce2 100644 --- a/src/modules/openapi/OpenAppListView.vue +++ b/src/modules/openapi/OpenAppListView.vue @@ -161,14 +161,13 @@ async function loadCustomers() { const columns = [ { prop: 'customerName', label: '客户名', minWidth: 150 }, - { prop: 'appName', label: '应用名称', minWidth: 180 }, + { prop: 'appName', label: '应用名称', minWidth: 220 }, { 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: 'status', label: '状态', width: 90, slot: 'status' as const }, { prop: 'createDate', label: '创建时间', width: 170, slot: 'createDate' as const }, { 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() }