优化 监控中心 前台页面

This commit is contained in:
fks-yangshouda
2024-08-23 13:18:12 +08:00
parent 6c3dd401ad
commit 723ade2531
7 changed files with 34 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ export const tableColumns = [
customRender: (text: any) => {
return text.index + 1;
},
width: 150,
width: 50,
align: 'center',
},
{

View File

@@ -9,7 +9,7 @@
bordered
:pagination="false"
style="height: 75%"
:scroll="{ x: 200, y: 450 }">
:scroll="{ x: x, y: 450 }">
<template #title>
<div
style="display: flex; align-items: center; justify-content: space-between; width: 100%">
@@ -186,7 +186,7 @@
align: 'center',
});
}
x.value = 300 + headerList.length * 150;
x.value = 200 + headerList.length * 150;
let columnA: any[] = [...tableColumnsA];
columnA.push(...tableColumnsB);
tableColumns.value = columnA;
@@ -237,7 +237,7 @@
::v-deep .ant-table.ant-table-bordered > .ant-table-title {
border: none !important;
}
/* ::v-deep .ant-table-title + .ant-table-container table > thead > tr:first-child th:last-child {
::v-deep .ant-table-title + .ant-table-container table > thead > tr:first-child th:last-child {
display: none !important;
} */
}
</style>