Merge branch 'dev-2.0' of https://git.mesalab.cn/nezha/nezha-fronted into dev-2.0
This commit is contained in:
@@ -209,6 +209,11 @@ export default {
|
||||
}
|
||||
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
|
||||
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
|
||||
if (this.from === fromRoute.model) {
|
||||
this.$set(this.searchLabel, 'modelIds', this.obj.id)
|
||||
} else if (this.from === fromRoute.dc) {
|
||||
this.$set(this.searchLabel, 'dcIds', this.obj.id)
|
||||
}
|
||||
this.tools.loading = true
|
||||
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
|
||||
this.tools.loading = false
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<transition name="el-zoom-in-center">
|
||||
<div v-show="browserWindowZoom" class="zoom">
|
||||
<div v-show="browserWindowZoom" class="zoom" style="z-index: 101;">
|
||||
<i class="nz-icon nz-icon-about-full"></i>
|
||||
<span>{{$t('tip.zoomStatusPrompt')}}</span>
|
||||
<button class="zoom-button" @click="doNotAskAgain">{{$t('tip.doNotAskAgain')}}</button>
|
||||
|
||||
@@ -651,7 +651,6 @@ export default {
|
||||
this.severitySelect.forEach((item, index) => {
|
||||
this.$set(item, 'searchType', 'severity')
|
||||
})
|
||||
console.log(this.severitySelect)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -70,9 +70,9 @@
|
||||
<div class="system-config-form basicForm" v-if="activeTab === 'monitor'">
|
||||
<div class="system-title">{{$t('config.system.basic.title')}}</div>
|
||||
<el-form :model="monitor" label-width="180px" size="small" ref="monitorForm" :rules="monitorRules" :validate-on-rule-change="false">
|
||||
<el-form-item :label="$t('config.system.monitor.alertApi')" prop="asset_ping_interval">
|
||||
<el-input v-model="monitor.alert_api" id="monitor-alert-api"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item :label="$t('config.system.monitor.alertApi')" prop="asset_ping_interval">-->
|
||||
<!-- <el-input v-model="monitor.alert_api" id="monitor-alert-api"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item :label="$t('config.system.monitor.prometheusFederation')" prop="prometheus_federation_enabled">
|
||||
<el-switch v-model="monitor.prometheus_federation_enabled " active-color="rgb(238, 157, 63)" active-value='1' inactive-value='0' id="system-monitor-prometheus_federation_enabled">
|
||||
</el-switch>
|
||||
|
||||
@@ -361,7 +361,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<div v-if="!isUrl&&!isAlert&& editChart.type != 'text'&& editChart.type != 'group' && editChart.type != 'diagram'" class="form__sub-title">
|
||||
<span>{{$t('alert.config.expr')}}</span>
|
||||
<span>{{$t('alert.config.exprBox')}}</span>
|
||||
<span v-if="!isSingleStat" @click="addExpression">
|
||||
<i class="nz-icon nz-icon-create-square" style="font-weight: normal; font-size: 17px; cursor: pointer;"></i>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user