fix:删除重复国际化数据

This commit is contained in:
zhangyu
2022-06-21 18:14:21 +08:00
parent e9cb846079
commit 8010406cd1
84 changed files with 179 additions and 177 deletions

View File

@@ -119,7 +119,7 @@ export default {
minWidth: 200,
sortable: 'custom'
}, {
label: this.$t('config.agent.host'),
label: this.$t('asset.host'),
prop: 'host',
show: true
}, {

View File

@@ -69,7 +69,7 @@
<span style="cursor: pointer" @click="$emit('showBottomBox', 'alertMessageTab', scope.row)">
<i :class="scope.row.alertNum ? 'red' : 'green'" class="nz-icon nz-icon-overview-alert vertical-align-top;" @mouseenter="tooltipHover(scope.row,true, $event)" @mouseleave="tooltipHover(scope.row,false, $event)"></i>
<div v-if="scope.row.alertNumtooltipShow" class="alert-days-info-tooltip" :style="{left: scope.row.left + 'px',top:scope.row.top + 'px'}">
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})</div>
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('overall.active')}})</div>
<div class="severity-info" style='justify-content: space-between'>
<div class="severity-name">{{$t('overall.result.total')}}</div>
<div class="severity-value">{{scope.row.alertNum}}</div>

View File

@@ -76,7 +76,7 @@
<span style="cursor: pointer" @click="showBottomBox('endpointAlertMessage', scope.row)">
<i :class="scope.row.alertNum ? 'red' : 'green'" class="nz-icon nz-icon-overview-alert vertical-align-top;" @mouseenter="tooltipHover(scope.row,true, $event)" @mouseleave="tooltipHover(scope.row,false, $event)"></i>
<div v-if="scope.row.alertNumtooltipShow" class="alert-days-info-tooltip" :style="{left: scope.row.left + 'px',top:scope.row.top + 'px'}">
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})</div>
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('overall.active')}})</div>
<div class="severity-info" style='justify-content: space-between'>
<div class="severity-name">{{$t('overall.result.total')}}</div>
<div class="severity-value">{{scope.row.alertNum}}</div>
@@ -108,7 +108,7 @@
@mouseenter="labelHoverConfigs(scope.row, 0, true, $event)"
@mouseleave="labelHoverConfigs(scope.row, 0, false, $event)"
>
<span class="endpoint-cell-left"><i class="nz-icon nz-icon-Metrics colorFA901C" /> {{$t('project.metrics.metrics')}} </span>
<span class="endpoint-cell-left"><i class="nz-icon nz-icon-Metrics colorFA901C" /> {{$t('overall.metric')}} </span>
<span v-if="scope.row.configs[0].state===0 || !scope.row.configs[0].state">
<span class="active-icon red-bg inline-block"></span>
</span>
@@ -146,7 +146,7 @@
</nz-tooltip>
</template>
<template v-else-if="item.prop === 'enabled'">
<span v-if="scope.row[item.prop] === 1">{{$t('asset.talon.enable')}}</span>
<span v-if="scope.row[item.prop] === 1">{{$t('overall.enable')}}</span>
<span v-else>{{$t('profile.close')}}</span>
</template>
<span v-else-if="item.prop === 'id'" :id="'globalSearch' + scope.row.id">{{scope.row[item.prop]}}</span>

View File

@@ -92,7 +92,7 @@ export default {
show: true,
sortable: 'custom'
}, {
label: this.$t('config.exprTemp.gname'),
label: this.$t('dashboard.panel.chartForm.group'),
prop: 'gname',
show: true,
sortable: 'custom'

View File

@@ -146,7 +146,7 @@ export default {
show: false,
minWidth: 120
}, {
label: this.$t('config.mib.updateAt'),
label: this.$t('alert.silence.upTime'),
prop: 'updateAt',
show: false,
minWidth: 150

View File

@@ -55,7 +55,7 @@
<span style="cursor: pointer" @click="showBottomBox('moduleAlertMessage', scope.row)">
<i :class="scope.row.alertNum ? 'red' : 'green'" class="nz-icon nz-icon-overview-alert vertical-align-top;" @mouseenter="tooltipHover(scope.row,true, $event)" @mouseleave="tooltipHover(scope.row,false, $event)"></i>
<div v-if="scope.row.alertNumtooltipShow" class="alert-days-info-tooltip" :style="{left: scope.row.left + 'px',top:scope.row.top + 'px'}">
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})</div>
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('overall.active')}})</div>
<div class="severity-info" style='justify-content: space-between'>
<div class="severity-name">{{$t('overall.result.total')}}</div>
<div class="severity-value">{{scope.row.alertNum}}</div>

View File

@@ -109,7 +109,7 @@ export default {
minWidth: 80
},
// {
// label: this.$t('config.operationlog.userId'),
// label: this.$t('config.user.userId'),
// prop: 'userId',
// show: false,
// },

View File

@@ -59,7 +59,7 @@
<span style="cursor: pointer" @click="jumpAlertMessage(scope.row)">
<i :class="scope.row.alertNum ? 'red' : 'green'" class="nz-icon nz-icon-overview-alert vertical-align-top;" @mouseenter="tooltipHover(scope.row,true, $event)" @mouseleave="tooltipHover(scope.row,false, $event)"></i>
<div v-if="scope.row.alertNumtooltipShow" class="alert-days-info-tooltip" :style="{left: scope.row.left + 'px',top:scope.row.top + 'px'}">
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('asset.pingActive')}})</div>
<div class="tooltip-title">{{$t('project.topology.alert')}}({{$t('overall.active')}})</div>
<div class="severity-info" style='justify-content: space-between'>
<div class="severity-name">{{$t('overall.result.total')}}</div>
<div class="severity-value">{{scope.row.alertNum}}</div>

View File

@@ -111,7 +111,7 @@ export default {
return {
tableTitle: [
{
label: this.$t('overall.endpoint'),
label: this.$t('asset.endpoint'),
prop: 'endpoint',
show: true
}, {

View File

@@ -59,7 +59,7 @@
<template v-else-if="item.prop === 'duration'">
<el-tooltip effect="light" placement="right">
<div slot="content">
{{$t('config.terminallog.endTime')}}<br/>
{{$t('overall.endTime')}}<br/>
{{utcTimeToTimezoneStr(scope.row.endTime)}}
</div>
<span>{{getDuration(scope.row)}}</span>