优化 监控中心 前台页面
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
bordered
|
||||
:pagination="false"
|
||||
style="height: 75%"
|
||||
:scroll="{ x: 100, y: 450 }">
|
||||
:scroll="{ x: 200, y: 450 }">
|
||||
<template #title>
|
||||
<div
|
||||
style="display: flex; align-items: center; justify-content: space-between; width: 100%">
|
||||
@@ -84,6 +84,7 @@
|
||||
});
|
||||
|
||||
const loading = ref(false);
|
||||
const x = ref(1200);
|
||||
|
||||
const typeList = ref();
|
||||
// 采集频率
|
||||
@@ -181,8 +182,11 @@
|
||||
tableColumnsB.push({
|
||||
title: headerList[i],
|
||||
dataIndex: headerList[i],
|
||||
width: 150,
|
||||
align: 'center',
|
||||
});
|
||||
}
|
||||
x.value = 300 + headerList.length * 150;
|
||||
let columnA: any[] = [...tableColumnsA];
|
||||
columnA.push(...tableColumnsB);
|
||||
tableColumns.value = columnA;
|
||||
@@ -222,7 +226,7 @@
|
||||
display: flex;
|
||||
}
|
||||
::v-deep .ant-table-container {
|
||||
padding: 0px 16px;
|
||||
margin: 0px 16px;
|
||||
}
|
||||
</style>
|
||||
<style scoped>
|
||||
@@ -233,4 +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 {
|
||||
display: none !important;
|
||||
} */
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user