fix
longz
2026-05-26 cb44316d3975af52a3a9af824094b844dd7df874
frontend-admin/src/views/StaffEmployeesView.vue
@@ -103,7 +103,8 @@
          <el-button v-permission="'sys:staff:create'" type="primary" @click="openCreate">添加</el-button>
        </div>
        <el-table :data="rows" v-loading="loading" stripe border class="staff-table">
        <div class="staff-table-wrap">
          <el-table :data="rows" v-loading="loading" stripe border class="staff-table" height="100%">
          <el-table-column label="姓名" min-width="130">
            <template #default="{ row }">
              <div class="person-cell">
@@ -150,7 +151,8 @@
              </div>
            </template>
          </el-table-column>
        </el-table>
          </el-table>
        </div>
        <div class="pager-wrap">
          <div class="pager-total">共 {{ total }} 条</div>
@@ -159,7 +161,7 @@
            layout="sizes, prev, pager, next"
            :total="total"
            :page-size="size"
            :page-sizes="[10, 16, 20, 50, 100]"
            :page-sizes="[10, 20, 50, 100]"
            v-model:current-page="page"
            @current-change="load"
            @size-change="onSizeChange"
@@ -261,7 +263,7 @@
const avatarUploading = ref(false);
const rows = ref<StaffRow[]>([]);
const page = ref(1);
const size = ref(16);
const size = ref(10);
const total = ref(0);
const deptTree = ref<DeptTree[]>([]);
const deptOptions = ref<DeptTree[]>([]);
@@ -610,6 +612,7 @@
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 12px;
  height: calc(100vh - 170px);
  min-height: calc(100vh - 170px);
}
@@ -631,6 +634,7 @@
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.panel-title {
@@ -710,6 +714,11 @@
.table-card {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.table-toolbar {
@@ -718,6 +727,12 @@
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex: none;
}
.staff-table-wrap {
  flex: 1;
  min-height: 0;
}
.toolbar-left {
@@ -748,6 +763,7 @@
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  flex: none;
}
.pager-total {