调整宽度

This commit is contained in:
2026-06-15 13:49:24 +08:00
parent 1810a7f88f
commit 11dc5759ce
3 changed files with 6 additions and 5 deletions

View File

@ -50,7 +50,7 @@ export const tableColumns = [
// 注册时间
{ prop: 'createTime', label: '注册时间', sortable: false, width: '240' },
// 操作
{ label: '操作', slotName: 'action', width: '150px', fixed: 'right' as const}
{ label: '操作', slotName: 'action', width: '220', fixed: 'right' as const}
]
// 点差表格配置

View File

@ -16,14 +16,15 @@
{{ row.status === 1 ? '正常' : '禁用' }}
</template>
<template #action="{ row }">
<el-button type="primary" size="small" @click="openDetailDrawer(row)" v-if="row.id">
<el-button type="primary" text size="small" @click="openDetailDrawer(row)" v-if="row.id">
查看详情
</el-button>
<el-divider direction="vertical" v-if="row.id" />
<el-button type="primary" size="small" @click="handleChange(row)" v-anth="'user_editUser'">
<el-button type="primary" text size="small" @click="handleChange(row)" v-anth="'user_editUser'">
修改
</el-button>
<el-button type="warning" size="small" @click="handleAdjustAmount(row)">
<el-divider direction="vertical" v-if="row.id" />
<el-button type="warning" text size="small" @click="handleAdjustAmount(row)">
调整金额
</el-button>
</template>

View File

@ -58,7 +58,7 @@ export const clientTableColumns = [
{ prop: 'agentUsername', label: '所属代理', align: 'center' as const , width: '160' },
{ prop: 'amount', label: '资金', align: 'center' as const, isNumber: true },
{ label: '状态', slotName: 'status', align: 'center' as const },
{ label: '操作', slotName: 'action', align: 'center' as const , width: '220', fixed: 'right' as const },
{ label: '操作', slotName: 'action', align: 'center' as const , width: '260', fixed: 'right' as const },
]
//定义添加客户form配置