diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index c35790bd0..b7b02279a 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -864,7 +864,6 @@ export default { if (pageSize && pageSize !== 'undefined') { this.pageObj.pageSize = pageSize } - console.log(this.$refs.dataTable, this.$refs.dataDetail) const tableTitle = this.$refs.dataTable ? this.$refs.dataTable.tableTitle : this.$refs.dataDetail.tableTitle let localStorageTableTitle = localStorage.getItem('nz-tableTitle-' + localStorage.getItem('nz-username') + '-' + this.tableId) localStorageTableTitle = localStorageTableTitle ? JSON.parse(localStorageTableTitle) : tableTitle diff --git a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue index 36e558c21..93a489346 100644 --- a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue @@ -1,133 +1,135 @@ - - {rowDblclick(row)}" - > - - - + + {rowDblclick(row)}" > - - - + + + + + + {{scope.row.alertRule?scope.row.alertRule.name : '--'}} - - - - - - - {{scope.row[item.prop]}} - - - - - {{scope.row[item.prop]}} - - - - - {{scope.row[item.prop]}} - - - - + + - + + + {{scope.row[item.prop]}} + - + + + {{scope.row[item.prop]}} + - + + + {{scope.row[item.prop]}} + - + + {{scope.row['severity'].name}} - {{utcTimeToTimezoneStr(scope.row.startAt)}} - - - - {{$t('config.terminallog.endTime')}} - {{utcTimeToTimezoneStr(scope.row.endAt)}} - - {{getDuration(scope.row)}} - - - + {{utcTimeToTimezoneStr(scope.row.startAt)}} + + + + {{$t('config.terminallog.endTime')}} + {{utcTimeToTimezoneStr(scope.row.endAt)}} + + {{getDuration(scope.row)}} + + + {{item.value}} - - - + + {{scope.row['state'] == 1 ? "Pending" : ""}} {{scope.row['state'] == 2 ? "Expired" : ""}} - {{scope.row[item.prop]}} - - + {{scope.row[item.prop]}} + - + + + + {{$t('overall.option')}} + + + + + + + + + {{$t('overall.delete')}} + {{$t('overall.silenceAlert')}} + + + + + + + + + + No results found + + - - - {{$t('overall.option')}} - - - - - - - - - {{$t('overall.delete')}} - {{$t('overall.silenceAlert')}} - - - - - - - - - - No results found - - - - + + + +