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

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
@@ -52,7 +52,7 @@
<el-table-column prop="xmlx" label="项目类型" width="80" align="center" show-overflow-tooltip />
<el-table-column prop="sm" label="说明" min-width="120" show-overflow-tooltip />
<el-table-column prop="bz" label="备注" min-width="120" show-overflow-tooltip />
<el-table-column label="操作" width="230" align="center" fixed="right">
<el-table-column label="操作" width="230" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
<el-button type="text" size="small" @click="handleEdit(row)">修改</el-button>
+2 -2
View File
@@ -63,7 +63,7 @@
<template slot-scope="{ row }">{{ fmtValue(row.jxbjgbz) }}</template>
</el-table-column>
<el-table-column prop="sm" label="说明" min-width="120" show-overflow-tooltip />
<el-table-column label="操作" width="180" align="center" fixed="right">
<el-table-column label="操作" width="180" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<div class="table-actions">
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
@@ -118,7 +118,7 @@
<template slot-scope="{ row }">{{ fmtValue(row.hbxssx) }}</template>
</el-table-column>
<el-table-column prop="sm" label="说明" min-width="120" show-overflow-tooltip />
<el-table-column label="操作" width="140" align="center" fixed="right">
<el-table-column label="操作" width="140" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<div class="table-actions">
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
@@ -99,7 +99,7 @@
<el-table-column label="毕业日期" width="110" align="center">
<template slot-scope="{ row }">{{ formatDate(row.byrq) }}</template>
</el-table-column>
<el-table-column label="操作" width="190" align="center" fixed="right">
<el-table-column label="操作" width="190" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleDetail(row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>
@@ -67,7 +67,7 @@
<el-table-column label="修改时间" width="160" align="center">
<template slot-scope="{ row }">{{ row.xgsj ? fmtDateTime(row.xgsj) : '-' }}</template>
</el-table-column>
<el-table-column label="操作" width="230" align="center" fixed="right">
<el-table-column label="操作" width="230" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button
v-if="!row.tjsj"
@@ -126,7 +126,7 @@
<el-table-column prop="ksqk" label="考试情况" width="100" align="center" />
<el-table-column prop="bjgm" label="不及格门数" width="110" align="center" />
<el-table-column prop="gljg" label="管理机构" width="150" align="center" show-overflow-tooltip />
<el-table-column label="操作" width="190" align="center" fixed="right">
<el-table-column label="操作" width="190" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" class="text-primary" @click="handleEdit(row)">编辑</el-button>
<el-button type="text" class="text-success" @click="handleGrades(row)">成绩</el-button>
@@ -80,7 +80,7 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right">
<el-table-column label="操作" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<el-button type="text" size="small" icon="el-icon-view" @click="handleView(scope.row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
@@ -56,7 +56,7 @@
</template>
</el-table-column>
<el-table-column prop="fbsj" label="发布时间" width="160" show-overflow-tooltip />
<el-table-column label="操作" width="100" align="center" fixed="right">
<el-table-column label="操作" width="100" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleDetail(row)">详情</el-button>
</template>
@@ -80,7 +80,7 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="230" align="center" fixed="right">
<el-table-column label="操作" width="230" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleDetail(row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>
@@ -97,7 +97,7 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="240" align="center" fixed="right">
<el-table-column label="操作" width="240" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<el-button type="text" size="small" icon="el-icon-view" @click="handleView(scope.row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
@@ -87,7 +87,7 @@
<el-table-column label="停用时间" width="150" align="center">
<template slot-scope="scope">{{ fmtDateTime(scope.row.tysj) }}</template>
</el-table-column>
<el-table-column label="操作" width="160" align="center" fixed="right">
<el-table-column label="操作" width="160" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
<el-button
@@ -75,7 +75,7 @@
<el-table-column prop="jssj" label="结束时间" width="200" align="center" :formatter="fmtDateTime" />
<el-table-column prop="cjsj" label="创建时间" width="200" align="center" :formatter="fmtDateTime" />
<el-table-column prop="jcxqscsj" label="教材需求生成时间" width="200" align="center" :formatter="fmtDateTime" />
<el-table-column label="操作" width="160" align="center" fixed="right">
<el-table-column label="操作" width="160" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
<el-button
@@ -81,7 +81,7 @@
<el-table-column label="创建时间" width="150" align="center">
<template slot-scope="scope">{{ fmtDateTime(scope.row.cjsj) }}</template>
</el-table-column>
<el-table-column label="操作" width="180" align="center" fixed="right">
<el-table-column label="操作" width="180" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<div class="ops-cell">
<el-button type="text" size="mini" icon="el-icon-view" @click="openDetail(scope.row)">详情</el-button>
@@ -50,7 +50,7 @@
<template slot-scope="scope">{{ fmt(scope.row.gxsj) }}</template>
</el-table-column>
<el-table-column prop="bz" label="备注" min-width="120" show-overflow-tooltip />
<el-table-column label="操作" width="130" align="center" fixed="right">
<el-table-column label="操作" width="130" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
<el-button type="text" size="mini" icon="el-icon-delete" class="danger-text" @click="handleDelete(scope.row)">删除</el-button>
@@ -100,7 +100,7 @@
<el-table-column label="停用时间" width="150" align="center">
<template slot-scope="scope">{{ fmtDateTime(scope.row.tysj) }}</template>
</el-table-column>
<el-table-column label="操作" width="240" align="center" fixed="right">
<el-table-column label="操作" width="240" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-view" @click="handleDetail(scope.row)">详情</el-button>
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
@@ -76,7 +76,7 @@
</template>
</el-table-column>
<el-table-column prop="sssb" label="设施设备" width="140" show-overflow-tooltip header-align="center" />
<el-table-column label="操作" align="center" fixed="right" width="190">
<el-table-column label="操作" align="center" fixed="right" class-name="table-action-column" width="190">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
<el-button type="text" size="mini" icon="el-icon-date" @click="handleCalendarEdit(scope.row)">编辑历表</el-button>
+1 -1
View File
@@ -82,7 +82,7 @@
align="center"
width="300"
fixed="right"
class-name="small-padding fixed-width action-column"
class-name="small-padding fixed-width action-column table-action-column"
>
<template slot-scope="scope">
<el-button
@@ -74,7 +74,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="120" align="center" fixed="right">
<el-table-column label="操作" width="120" 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" class="text-danger" @click="handleDelete(row)">删除</el-button>
@@ -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
@@ -95,7 +95,7 @@
<el-table-column prop="pxcc" label="培训层次" width="200" align="center" />
<el-table-column prop="xf" label="学分" align="center" />
<el-table-column prop="xs" label="学时" width="160" align="center" />
<el-table-column label="操作" width="150" align="center" fixed="right">
<el-table-column label="操作" width="150" 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" class="text-danger" @click="handleDelete(row)">删除</el-button>
@@ -105,7 +105,7 @@
<template slot-scope="{ row }">{{ row.jysjhjyxm || '-' }}</template>
</el-table-column>
<el-table-column prop="jysjhbz" label="排课建议" min-width="120" align="center" show-overflow-tooltip />
<el-table-column label="操作" width="270" align="center" fixed="right">
<el-table-column label="操作" width="270" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" :disabled="frozen" @click="openTeacher(row)">指定教员</el-button>
<el-button type="text" size="small" :disabled="frozen" @click="openRoom(row)">指定场地</el-button>
@@ -83,7 +83,7 @@
<el-table-column prop="jssj" label="结束时间" width="180" align="center" :formatter="fmtDateTime" />
<el-table-column prop="cjsj" label="创建时间" width="180" align="center" :formatter="fmtDateTime" />
<el-table-column prop="jcxqscsj" label="教材需求生成时间" align="center" :formatter="fmtDateTime" />
<el-table-column label="操作" width="450" align="center" fixed="right">
<el-table-column label="操作" width="450" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" @click="handleDetail(row)">详情</el-button>
<el-button type="text" size="small" :disabled="isTaskLocked(row)" @click="handleEdit(row)">编辑</el-button>
@@ -75,7 +75,7 @@
@click="handleCreateAccount(row)">创建账号</el-button>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="260">
<el-table-column label="操作" align="center" fixed="right" class-name="table-action-column" width="260">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleViewAttribute(row)">查看属性</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>
+3 -3
View File
@@ -91,7 +91,7 @@
<el-tag :type="row.ty ? 'danger' : 'success'" size="small">{{ row.ty ? '是' : '否' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="140" align="center" fixed="right">
<el-table-column label="操作" width="140" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>
<el-button type="text" size="small" class="danger-text" @click="handleDelete(row)">删除</el-button>
@@ -167,7 +167,7 @@
<el-table-column label="修改时间" min-width="150" align="center">
<template slot-scope="{ row }">{{ fmtDateTime(row.xgsj) || '-' }}</template>
</el-table-column>
<el-table-column label="操作" width="150" align="center" fixed="right">
<el-table-column label="操作" width="150" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleStockDetail(row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleStockEdit(row)">编辑</el-button>
@@ -245,7 +245,7 @@
<template slot-scope="{ row }">{{ fmtDateTime(row.hwbwsj) || '-' }}</template>
</el-table-column>
<el-table-column prop="bz" label="备注" min-width="120" show-overflow-tooltip />
<el-table-column label="操作" width="150" align="center" fixed="right">
<el-table-column label="操作" width="150" align="center" fixed="right" class-name="table-action-column">
<template slot-scope="{ row }">
<el-button type="text" size="small" icon="el-icon-view" @click="handleDetailView(row)">详情</el-button>
<el-button type="text" size="small" icon="el-icon-edit" @click="handleDetailEdit(row)">编辑</el-button>