diff --git a/nezha-fronted/src/components/charts/chart-detail.vue b/nezha-fronted/src/components/charts/chart-detail.vue index d07a35dfb..3054b35ee 100644 --- a/nezha-fronted/src/components/charts/chart-detail.vue +++ b/nezha-fronted/src/components/charts/chart-detail.vue @@ -319,23 +319,23 @@ export default { oldSearchTime: [], assetKey: { - host: this.$t('asset.tableTitle.host'), + host: this.$t('asset.host'), id: 'Id', - assetType: this.$t('asset.tableTitle.assetType'), - sn: this.$t('asset.tableTitle.device'), - state: this.$t('asset.tableTitle.assetState'), - pingRtt: this.$t('asset.tableTitle.assetPing'), - dataCenter: this.$t('asset.tableTitle.dataCenter'), - cabinet: this.$t('asset.tableTitle.cabinet'), - model: this.$t('asset.tableTitle.model'), - vendor: this.$t('asset.tableTitle.vendor'), - purchaseDate: this.$t('asset.tableTitle.procurementDate'), - principal: this.$t('asset.tableTitle.principal'), - tel: this.$t('asset.tableTitle.principalTel'), - pingStatus: this.$t('asset.tableTitle.assetPing'), - pingLastReply: this.$t('asset.tableTitle.lastReply'), - endpoint: this.$t('asset.tableTitle.modules'), - alert: this.$t('asset.tableTitle.alerts'), + assetType: this.$t('asset.assetType'), + sn: this.$t('asset.device'), + state: this.$t('asset.assetState'), + pingRtt: this.$t('asset.assetPing'), + dataCenter: this.$t('asset.dataCenter'), + cabinet: this.$t('asset.cabinet'), + model: this.$t('asset.model'), + vendor: this.$t('asset.vendor'), + purchaseDate: this.$t('asset.procurementDate'), + principal: this.$t('asset.principal'), + tel: this.$t('asset.principalTel'), + pingStatus: this.$t('asset.assetPing'), + pingLastReply: this.$t('asset.lastReply'), + endpoint: this.$t('asset.modules'), + alert: this.$t('asset.alerts'), tags: this.$t('overall.tag') }, projectKey: { diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 0e320c972..6252aeb86 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -288,7 +288,6 @@ export default { }, watch: { panelDataList (n) { - console.log(n) this.getData(this.filter) } }, @@ -672,7 +671,6 @@ export default { return } if (param.from == this.$CONSTANTS.fromRoute.chartTemp) { - console.log(this.panelDataList) this.dataList = this.panelDataList this.$nextTick(() => { this.dataList.forEach((item, index) => { @@ -762,7 +760,6 @@ export default { }) }, loadChartData (scrollTop) { - console.log(scrollTop) if (this.dataList.length > 0) { this.dataList.forEach((item, index) => { if (!item.isLoaded) { @@ -1751,7 +1748,6 @@ export default { }, // 懒加载,判断网页区域,加载可见区的prom数据 handleElementInViewport (ele, scrollTop, item, index, isSearch) { - console.log(ele, scrollTop, item, index) /* 网页被卷去的高:document.body.scrollTop 网页正文全文高:document.body.scrollHeight diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index b1972669a..d201561ed 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -122,7 +122,7 @@ export default { }, module: { moduleTabTitle: [ - { prop: 'endpoint', name: this.$t('asset.tableTitle.endpoint') }, + { prop: 'endpoint', name: this.$t('asset.endpoint') }, { prop: 'moduleAlertMessage', name: 'Alerts' }, { prop: 'panel', name: 'Detail' } ] diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue index 58151e96a..db493664b 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue @@ -3,8 +3,8 @@