From 3f62634ccd31fcab4a1a4d64a389363d90b42805 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 24 Sep 2021 14:10:50 +0800 Subject: [PATCH 1/6] =?UTF-8?q?NEZ-1027=20feat:=20alert=20rule=20&=20datac?= =?UTF-8?q?enter=20=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=20user=20=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/css/common/rightBoxCommon.scss | 7 +++++++ .../src/components/common/rightBox/alertRuleBox.vue | 1 + nezha-fronted/src/components/common/rightBox/dcBox.vue | 1 + .../src/components/common/table/alert/alertRuleTable.vue | 2 +- .../src/components/common/table/settings/dcTable.vue | 4 +++- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss index 60e5ada22..c934749df 100644 --- a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss +++ b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss @@ -311,3 +311,10 @@ .el-form-item__content .el-autocomplete .el-input-group { vertical-align: unset; } +.user-name { + font-weight: bold; + margin-right: 5px; +} +.user-username{ + color: #999; +} diff --git a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue index ef6b726c7..fc4e08dba 100644 --- a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue @@ -316,6 +316,7 @@ :key="item.id" :label="item.username" :value="item.id"> + {{item.name}}@{{item.username}} diff --git a/nezha-fronted/src/components/common/rightBox/dcBox.vue b/nezha-fronted/src/components/common/rightBox/dcBox.vue index 3a7ab887e..b0b36b705 100644 --- a/nezha-fronted/src/components/common/rightBox/dcBox.vue +++ b/nezha-fronted/src/components/common/rightBox/dcBox.vue @@ -23,6 +23,7 @@ + {{item.name}}@{{item.username}} diff --git a/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue b/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue index 164166fe4..4e074204d 100644 --- a/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertRuleTable.vue @@ -58,7 +58,7 @@ -