无人机管理后台前端(已迁走)
张含笑
2025-09-04 31dd762062b6a2d55966b88043482f8eb2d45bde
feat:调整分页数据
1 files modified
16 ■■■■ changed files
src/views/resource/components/spotDetails.vue 16 ●●●● patch | view | raw | blame | history
src/views/resource/components/spotDetails.vue
@@ -60,8 +60,10 @@
            <el-table
              ref="polygonTableEle"
              highlight-current-row
              :row-class-name="tableRowClassName"
              :data="tableData"
              @row-click="handleLocationPolygon"
            >
              <el-table-column type="index" align="center" width="30" label="序号">
@@ -228,7 +230,7 @@
};
const params = ref({
  page: 1,
  pageSize: 20,
  pageSize: 10,
});
// 图斑管理表格
const getTableList = () => {
@@ -628,7 +630,7 @@
  z-index: 99;
  width: 277px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.6);
  // backdrop-filter: blur(5px);
  border-radius: 8px 8px 8px 8px;
  padding: 6px 10px 0 10px;
@@ -647,6 +649,7 @@
    font-size: 14px;
    color: #ffffff;
  }
  // 表格样式
  :deep(.el-table) {
    // 清除表格内部横线和竖线
@@ -709,7 +712,14 @@
      background-color: var(--el-table-current-row-bg-color) !important;
    }
  }
:deep(.el-table__body) {
  tr {
    height: 46px;  // 设置行高
  }
  td {
    padding: 8px 0;  // 调整单元格内边距
  }
}
  .operationspan {
    cursor: pointer;
  }