diff --git a/nezha-fronted/src/assets/css/common/tableCommon.scss b/nezha-fronted/src/assets/css/common/tableCommon.scss
index 041859def..08058d1c4 100644
--- a/nezha-fronted/src/assets/css/common/tableCommon.scss
+++ b/nezha-fronted/src/assets/css/common/tableCommon.scss
@@ -194,8 +194,7 @@
height: calc(100% - 58px);
.el-table:not(.chart-table) {
- position: absolute;
- width: calc(100% - 40px);
+ width: 100%;
border: 1px solid $--right-box-border-color;
border-bottom: none;
diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue
index 8f24c2d7c..1180f79db 100644
--- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue
+++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue
@@ -47,7 +47,8 @@
-
+
+
@@ -76,10 +77,12 @@ import operationLogTab from './tabs/operationLogTab'
import terminalLogTab from './tabs/terminalLogTab'
import assetTab from '@/components/common/bottomBox/tabs/assetTab'
import { fromRoute } from '@/components/common/js/constants'
+import LogBottomTab from '@/components/common/bottomBox/tabs/logBottomTab'
export default {
name: 'bottomBox',
components: {
+ LogBottomTab,
cabinetTab,
alertMessageTab,
endpointTab,
@@ -186,6 +189,7 @@ export default {
endpointTabTitle: [
{ prop: 'panelTab', name: this.$t('overall.detail') },
{ prop: 'endpointQuery', name: 'Query' },
+ { prop: 'log', name: 'Log' },
{ prop: 'endpointAlertMessage', name: this.$t('overall.alert') }
]
},
@@ -283,12 +287,15 @@ export default {
}
.sub-container {
padding: 10px;
- height: 100%;
+ height: calc(100% - 64px);
background-color: #f6f6f6;
overflow-y: auto;
&>div {
background-color: white;
}
+ &>.nz-table2 {
+ padding-top: 20px !important;
+ }
}
.sub-top-tools .top-tool-btn-txt .nz-icon{
display: inline-block;
@@ -321,7 +328,7 @@ export default {
height: 100%;
background-color: #f6f6f6;
- .nz-table2 {
+ &>.nz-table2 {
height: calc(100% - 92px);
padding: 20px 20px 0;
}
@@ -346,6 +353,14 @@ export default {
padding-bottom: 10px;
height: calc(100% - 30px);
}
+.bottom-log {
+ padding: 15px;
+}
+.bottom-common {
+ padding: 20px;
+ height: 100%;
+ box-sizing: border-box;
+}
.chart-temp{
height: calc(100% - 20px);
overflow-y: auto;
diff --git a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue
index b922b58c5..dc53a4da2 100644
--- a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue
+++ b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue
@@ -34,7 +34,7 @@
>