[FIX]调整操作列宽度

This commit is contained in:
huweihang
2025-12-23 18:01:46 +08:00
parent ce00a46869
commit d368b45739

View File

@@ -276,7 +276,7 @@
<span class="common-cell">{{ scope.row.sysCreateTime }}</span>
</template>
</el-table-column>
<el-table-column label="操作" min-width="280px" fixed="right" header-align="center" align="left">
<el-table-column label="操作" min-width="300px" fixed="right" header-align="center" align="left">
<template slot-scope="scope" class="btn-gl">
<template v-if="getInlineActions(scope.row).length">
<span v-for="(action, index) in getInlineActions(scope.row)" :key="action.key">
@@ -2059,12 +2059,12 @@ export default {
buildActions(row) {
const actions = [];
// 优先级按原有展示顺序
if (row.isPermission && !this.forChoose && row.status == 2) {
actions.push({ key: 'withdraw', label: '撤回', className: 'action-link--primary' });
}
if (this.aiPermission) {
actions.push({ key: 'aiSetting', label: 'AI设置', className: 'action-link--primary' });
}
if (row.isPermission && !this.forChoose && row.status == 2) {
actions.push({ key: 'withdraw', label: '撤回', className: 'action-link--primary' });
}
if (row.isPermission && row.status != 2) {
actions.push({ key: 'edit', label: '编辑', className: 'action-link--primary' });
}