操作列透明度设置为不透明,否则底层显示跟操作列冲突

This commit is contained in:
2026-09-21 17:09:31 +08:00
parent 1482bfd31c
commit f5728c0827
23 changed files with 30 additions and 26 deletions
@@ -120,7 +120,7 @@
</template>
</el-table-column>
<el-table-column prop="bz" label="备注" min-width="120" align="left" header-align="center" show-overflow-tooltip />
<el-table-column label="操作" width="310" align="center" fixed="right">
<el-table-column label="操作" width="310" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" @click="handleEdit(row)">编辑</el-button>
<el-button type="text" size="small" @click="handleEditEventCalendar(row)">班历</el-button>
@@ -533,6 +533,10 @@ export default {
this.tableData = data.records || []
this.total = data.total || 0
this.loading = false
// fixed 克隆层在异步数据回填后需要重排,否则行位置与主表错位会透出下层文字
this.$nextTick(() => {
this.$refs.tableRef && this.$refs.tableRef.doLayout()
})
}).catch(() => {
this.tableData = []
this.total = 0