fix(F006-W17.8.3): openapi/app 隐藏权限范围列 + 操作列加宽到 220
用户反馈: 隐藏权限范围列, 操作列加宽 列宽重新分配 (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 (已激活): [详情, 重发二维码] + ⋯ ✅
This commit is contained in:
parent
d4441c051e
commit
c34035434a
@ -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() }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user