diff --git a/frontend/src/views/classHour/plan/index.vue b/frontend/src/views/classHour/plan/index.vue
index 626e0e2e..6b80b9e8 100644
--- a/frontend/src/views/classHour/plan/index.vue
+++ b/frontend/src/views/classHour/plan/index.vue
@@ -15,97 +15,108 @@
查询
- 新增{{ currentTitle }}
-
-
-
-
-
-
- {{ fmtValue(row.mrbzksl) }}
-
-
- {{ fmtValue(row.mrksfbz) }}
-
-
- {{ fmtValue(row.mrclksfbz) }}
-
-
- {{ fmtValue(row.xgjxbzksfbz) }}
-
-
- {{ fmtValue(row.jxyxbz) }}
-
-
- {{ fmtValue(row.jxlhbz) }}
-
-
- {{ fmtValue(row.jxzdbz) }}
-
-
- {{ fmtValue(row.jxjgbz) }}
-
-
- {{ fmtValue(row.jxbjgbz) }}
-
-
-
-
- 详情
- 修改
- 删除
-
-
-
+ {{ currentTitle }}
+
+ 新增{{ currentTitle }}
+
-
-
-
-
-
-
- {{ fmtValue(row.zjksxs) }}
-
-
- {{ fmtValue(row.fjksxs) }}
-
-
- {{ fmtValue(row.mbxyrs) }}
-
-
- {{ fmtValue(row.dz10xybjxs) }}
-
-
- {{ fmtValue(row.bjxssx) }}
-
-
- {{ fmtValue(row.d78jksl) }}
-
-
- {{ fmtValue(row.yjksl) }}
-
-
- {{ fmtValue(row.mrktjxffxs) }}
-
-
- {{ fmtValue(row.hbxszl) }}
-
-
- {{ fmtValue(row.hbxssx) }}
-
-
-
-
- 详情
- 修改
-
-
+
+
+
+
+
+
+ {{ fmtValue(row.mrbzksl) }}
+
+
+ {{ fmtValue(row.mrksfbz) }}
+
+
+ {{ fmtValue(row.mrclksfbz) }}
+
+
+ {{ fmtValue(row.xgjxbzksfbz) }}
+
+
+ {{ fmtValue(row.jxyxbz) }}
+
+
+ {{ fmtValue(row.jxlhbz) }}
+
+
+ {{ fmtValue(row.jxzdbz) }}
+
+
+ {{ fmtValue(row.jxjgbz) }}
+
+
+ {{ fmtValue(row.jxbjgbz) }}
+
+
+
+
+ 详情
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+ {{ fmtValue(row.zjksxs) }}
+
+
+ {{ fmtValue(row.fjksxs) }}
+
+
+ {{ fmtValue(row.mbxyrs) }}
+
+
+ {{ fmtValue(row.dz10xybjxs) }}
+
+
+ {{ fmtValue(row.bjxssx) }}
+
+
+ {{ fmtValue(row.d78jksl) }}
+
+
+ {{ fmtValue(row.yjksl) }}
+
+
+ {{ fmtValue(row.mrktjxffxs) }}
+
+
+ {{ fmtValue(row.hbxszl) }}
+
+
+ {{ fmtValue(row.hbxssx) }}
+
+
+
+
+ 详情
+ 修改
+
+
+
{
state.loading = false
+ this.$nextTick(() => {
+ this.$refs.tableRef && this.$refs.tableRef.doLayout()
+ })
})
},
@@ -634,13 +648,6 @@ export default {
}
.plan-page {
- .list-title {
- font-size: 16px;
- font-weight: 600;
- color: #303133;
- margin-bottom: 12px;
- }
-
// ==================== 1. 查询区域 ====================
.search-card {
margin-bottom: 16px;
@@ -654,6 +661,37 @@ export default {
// ==================== 2. 数据表格 ====================
.table-card {
+ .table-title {
+ font-size: 16px;
+ font-weight: 600;
+ color: #303133;
+ margin-bottom: 8px;
+ }
+
+ .list-toolbar {
+ display: flex;
+ justify-content: flex-end;
+ margin-bottom: 12px;
+ }
+
+ ::v-deep .el-table .cell {
+ white-space: nowrap;
+ }
+
+ /* 修复操作栏 cell 底部错位:
+ el-button--small 实际高度 30px, 但 .cell 默认 line-height:23px 装不下,
+ 按钮溢出 cell 顶部被 overflow:hidden 截掉, 导致按钮底部离行底比文字列小 12px。
+ 把 td 上下 padding 去掉、cell line-height 改成 30px, 让 cell 高度 = 按钮高度,
+ 并把 cell 顶端贴 td 顶端, 按钮底部就与文字列底部对齐(都离 td 底约 17px)。 */
+ ::v-deep .op-cell {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
+ }
+ ::v-deep .op-cell > .cell {
+ line-height: 30px !important;
+ padding: 0 10px;
+ }
+
.pagination {
display: flex;
justify-content: flex-end;