NEZ-3212 feat:告警详情页易用性改进

This commit is contained in:
zyh
2023-10-12 10:35:17 +08:00
parent 84115ec7b1
commit 7027942029
13 changed files with 1173 additions and 189 deletions

View File

@@ -145,7 +145,7 @@
class="nz-dialog chart-fullscreen"
destroy-on-close
fullscreen
:modal-append-to-body="false"
append-to-body
>
<alertMessageInfo
:ref="'chart-fullscreen' + chartInfo.id"
@@ -156,6 +156,7 @@
:is-fullscreen="true"
:time-range="searchTimeDialog"
@showFullscreen="showFullscreen"
:now-time="nowTime"
></alertMessageInfo>
</el-dialog>
<!--全屏-->
@@ -645,11 +646,6 @@ export default {
chartInfo.elements && (chartInfo.elements[0].expression = this.currentMsg.alertRule.expr.replace(/\r|\n+/g, ''))
}
// 设置dataLink
if (this.currentMsg.alertRule.param) {
chartInfo.param.dataLink = JSON.parse(this.currentMsg.alertRule.param).dataLink
}
chartInfo.id = this.currentMsg.id
chartInfo.name = this.currentMsg.alertRule.name
chartInfo.isAlertMessage = true