From e3d95001ebd24b9f406a30fb994a1acd94046ef2 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 10 May 2021 14:35:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DchabinetBox=20name?= =?UTF-8?q?=E6=9C=AA=E5=AE=9A=E4=B9=89=20alertRuleBox=20id=E6=9C=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/rightBox/setting/cabinetBox.vue | 2 ++ .../layout/path_navigation/PathNavigation.vue | 18 +++++++++--------- .../src/components/page/config/credentials.vue | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue b/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue index 5ffd65699..76d5018f6 100644 --- a/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/setting/cabinetBox.vue @@ -56,6 +56,8 @@ export default { } } }, + created() { + }, methods: { clickOutside () { this.esc(false) diff --git a/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue b/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue index 8ab4cdac2..ee6a8514a 100644 --- a/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue +++ b/nezha-fronted/src/components/layout/path_navigation/PathNavigation.vue @@ -78,7 +78,7 @@ - + @@ -173,7 +173,7 @@ v-if="rightBox.charts.show"> - + @@ -227,12 +227,10 @@ import axios from 'axios' export default { props: { show: Boolean, - params: { type: Object }, exportFileName: { type: String }, - link: { type: Object }, - permissions: { type: Object }, - showCur: { type: Boolean, default: true }, - id: { type: String, default: 'export' } + id: { type: String, default: 'export' }, + currentDc: { type: Object }, + alertRule: Object }, components: { DcBox, @@ -431,9 +429,10 @@ export default { unit: 2, operator: '>', last: 60, - severity: 'P2', + severityId: '', summary: '', - description: '' + description: '', + method: [] }, cabinet: { id: '', @@ -525,6 +524,7 @@ export default { }, // Alert addAlertRule() { + console.log(id) this.rightBox.alert.show = true this.$emit("update:show", false); }, diff --git a/nezha-fronted/src/components/page/config/credentials.vue b/nezha-fronted/src/components/page/config/credentials.vue index 9e0ec0289..ac8b34a81 100644 --- a/nezha-fronted/src/components/page/config/credentials.vue +++ b/nezha-fronted/src/components/page/config/credentials.vue @@ -47,7 +47,7 @@ - +