fix:调整 Record rules 二级页面顺序
This commit is contained in:
@@ -245,13 +245,13 @@ export default {
|
|||||||
{ prop: 'ipam', name: this.$t('ipam.subnet.ipDetails'), active: true }
|
{ prop: 'ipam', name: this.$t('ipam.subnet.ipDetails'), active: true }
|
||||||
],
|
],
|
||||||
recordRule: {
|
recordRule: {
|
||||||
evalLog: [
|
|
||||||
{ prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: true },
|
|
||||||
{ prop: 'Metrics', name: this.$t('overall.metric'), active: false }
|
|
||||||
],
|
|
||||||
Metrics: [
|
Metrics: [
|
||||||
{ prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: false },
|
{ prop: 'Metrics', name: this.$t('overall.metric'), active: true },
|
||||||
{ prop: 'Metrics', name: this.$t('overall.metric'), active: true }
|
{ prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: false }
|
||||||
|
],
|
||||||
|
evalLog: [
|
||||||
|
{ prop: 'Metrics', name: this.$t('overall.metric'), active: false },
|
||||||
|
{ prop: 'recordRule', name: this.$t('overall.alertRuleEvalLog'), active: true }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
alertSilence: [
|
alertSilence: [
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
{{ $t("overall.option") }}
|
{{ $t("overall.option") }}
|
||||||
</div>
|
</div>
|
||||||
<div slot-scope="scope" class="table-operation-items">
|
<div slot-scope="scope" class="table-operation-items">
|
||||||
<button class="table-operation-item" @click="showBottomBox('recordRule', scope.row)" :title="$t('overall.view')"><i class="nz-icon nz-icon-view1"></i></button>
|
<button class="table-operation-item" @click="showBottomBox('Metrics', scope.row)" :title="$t('overall.view')"><i class="nz-icon nz-icon-view1"></i></button>
|
||||||
<el-dropdown size="medium" v-has="['record_rule_edit','record_rule_delete']" trigger="click" @command="tableOperation">
|
<el-dropdown size="medium" v-has="['record_rule_edit','record_rule_delete']" trigger="click" @command="tableOperation">
|
||||||
<div class="table-operation-item table-operation-item--more" :title="$t('overall.moreOperations')">
|
<div class="table-operation-item table-operation-item--more" :title="$t('overall.moreOperations')">
|
||||||
<i class="nz-icon nz-icon-more3"></i>
|
<i class="nz-icon nz-icon-more3"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user