fix:删除重复国际化
This commit is contained in:
@@ -195,7 +195,7 @@ export default {
|
||||
<div class="partition"></div>
|
||||
<div class="legend-value legend-value-agent">
|
||||
<div class="map-asset">
|
||||
<div class="progress-title">${self.$t('guide.agent')} ${self.$t('overall.normal')}</div>
|
||||
<div class="progress-title">${self.$t('guide.agent')} ${self.$t('config.agent.up')}</div>
|
||||
<div class="success-progress progress-box">
|
||||
<div class="top-progress" style="width: ${(dcStat.agent.up / (dcStat.agent.up + dcStat.agent.down)) * 100}%"></div>
|
||||
<div style="width: 100%" class="bottom-progress"></div>
|
||||
|
||||
@@ -508,7 +508,7 @@ export default {
|
||||
case 'project' : str += `<span>${this.$t('config.system.monitor.monitor')}</span> <span>/</span> <span>${this.$t('project.project.projectName')}</span>`; break
|
||||
case 'module' :str += `<span>${this.$t('config.system.monitor.monitor')}</span> <span>/</span> <span>${this.$t('overall.module')}</span>`; break
|
||||
case 'endpoint' : str += `<span>${this.$t('config.system.monitor.monitor')}</span> <span>/</span> <span>${this.$t('asset.endpoint')}</span>`; break
|
||||
case 'alertrule' : str += `<span>${this.$t('overall.alert')}</span> <span>/</span> <span>${this.$t('alert.config.alertConfig')}</span>`; break
|
||||
case 'alertrule' : str += `<span>${this.$t('overall.alert')}</span> <span>/</span> <span>${this.$t('alert.rule')}</span>`; break
|
||||
}
|
||||
return str
|
||||
},
|
||||
|
||||
@@ -227,7 +227,7 @@ export const statisticsList = [
|
||||
]
|
||||
|
||||
export const alignList = [
|
||||
{ value: 'left', label: i18n.t('dashboard.panel.chartForm.alignList.left') },
|
||||
{ value: 'left', label: i18n.t('project.topology.left') },
|
||||
{ value: 'center', label: i18n.t('project.topology.center') },
|
||||
{ value: 'right', label: i18n.t('dashboard.panel.chartForm.alignList.right') }
|
||||
]
|
||||
|
||||
@@ -233,7 +233,7 @@ export default {
|
||||
this.esc(false)
|
||||
},
|
||||
messageStyle (e) {
|
||||
if (e.column.label == 'Alerts' || e.column.label == this.$t('alert.alertMessage')) {
|
||||
if (e.column.label == 'Alerts' || e.column.label == this.$t('overall.alert')) {
|
||||
if (e.row.alertNum > 0) {
|
||||
return 'danger'
|
||||
} else {
|
||||
|
||||
@@ -238,7 +238,7 @@ export default {
|
||||
this.esc(false)
|
||||
},
|
||||
messageStyle (e) {
|
||||
if (e.column.label == 'Alerts' || e.column.label == this.$t('alert.alertMessage')) {
|
||||
if (e.column.label == 'Alerts' || e.column.label == this.$t('overall.alert')) {
|
||||
if (e.row.alertNum > 0) {
|
||||
return 'danger'
|
||||
} else {
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</my-date-picker>
|
||||
</el-form-item>
|
||||
<!-- labels -->
|
||||
<div class="form__sub-title">{{$t('config.assetLabel.assetLabel')}}</div>
|
||||
<div class="form__sub-title">{{$t('overall.labels')}}</div>
|
||||
<div v-for="(label, i) in editAsset.fields" :key="i" class="form__dotted-item">
|
||||
<el-form-item :prop="'fields.' + i + '.value'">
|
||||
<template v-slot:label>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</template>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label='$t("config.menus.value")' prop="value">
|
||||
<el-form-item :label='$t("overall.labels")' prop="value">
|
||||
<el-input placeholder="" maxlength="128" show-word-limit v-model="editGlobalization.value" size="small" id="dc-box-input-value"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item :label='$t("i18n.remark")' prop="remark">-->
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
minWidth: 150,
|
||||
sortable: 'custom'
|
||||
}, {
|
||||
label: this.$t('config.menus.value'),
|
||||
label: this.$t('overall.labels'),
|
||||
prop: 'value',
|
||||
minWidth: 150,
|
||||
show: true
|
||||
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
permission: 'header_add_asset'
|
||||
},
|
||||
{
|
||||
label: this.$t('alert.config.alertConfig'),
|
||||
label: this.$t('alert.rule'),
|
||||
url: 'alertConfig',
|
||||
type: 5,
|
||||
permission: 'header_add_rule'
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
name: this.$t('config.menus.value'),
|
||||
name: this.$t('overall.labels'),
|
||||
type: 'input',
|
||||
label: 'value',
|
||||
disabled: false
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
popper-class="alert-form-pop right-box-select-top right-public-box-dropdown-top no-style-class"
|
||||
clearable></el-cascader>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('alert.config.alertConfig')">
|
||||
<el-form-item :label="$t('alert.rule')">
|
||||
<el-select class="form-item" size="small" :placeholder="$t('el.select.placeholder')" popper-class="alert-form-pop right-box-select-top right-public-box-dropdown-top no-style-class" v-model="parameters.alertRule" clearable id="alert-param-alertrule">
|
||||
<el-option v-for="(rule, index) in alertRules" :key="index" :label="rule.name" :value="rule.id"></el-option>
|
||||
</el-select>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user