更改中英文

This commit is contained in:
lai
2024-09-06 19:21:57 +08:00
parent 5d69d7612a
commit ca82a0a74b
3 changed files with 27 additions and 4 deletions

View File

@@ -1051,6 +1051,7 @@ export default {
},
customTarget:{
kpiId:' Custom Indicator',
kpiIdTip:'This Ne has no custom indicators',
period:' Granularity',
title:' Custom Indicator Title',
objectType:' Object type',
@@ -1067,6 +1068,7 @@ export default {
inactive:'Inactive',
symbol:'Symbol',
element:'Element',
granularity:'Granularity',
}
},
traceManage: {
@@ -1284,7 +1286,7 @@ export default {
tailLines: 'End Lines',
},
exportFile:{
fileName:'File Name',
fileName:'File Source',
downTip: "Confirm the download file name is [{fileName}] File?",
downTipErr: "Failed to get file",
deleteTip: "Confirm the delete file name is [{fileName}] File?",

View File

@@ -1,3 +1,5 @@
import { title } from "process";
export default {
// 语言
i18n: '中文',
@@ -1051,6 +1053,7 @@ export default {
},
customTarget:{
kpiId:'自定义指标项',
kpiIdTip:'该网元没有自定义指标',
period:'颗粒度',
title:'自定义指标项标题',
objectType:'对象类型',
@@ -1067,6 +1070,7 @@ export default {
inactive:'停用',
symbol:"符号",
element:'元素',
granularity:'颗粒度',
}
},
traceManage: {
@@ -1284,7 +1288,7 @@ export default {
tailLines: '末尾行数',
},
exportFile:{
fileName:'文件',
fileName:'文件来源',
downTip: "确认下载文件名为 【{fileName}】 文件?",
downTipErr: "文件获取失败",
deleteTip: "确认删除文件名为 【{fileName}】 文件?",

View File

@@ -139,7 +139,9 @@ function fnDownloadFile(row: Record<string, any>) {
if (downLoading.value) return;
Modal.confirm({
title: t('common.tipTitle'),
content: t('views.logManage.exportFile.downTip', { fileName: row.fileName }),
content: t('views.logManage.exportFile.downTip', {
fileName: row.fileName,
}),
onOk() {
downLoading.value = true;
const hide = message.loading(t('common.loading'), 0);
@@ -175,7 +177,9 @@ function fnRecordDelete(row: Record<string, any>) {
if (delLoading.value) return;
Modal.confirm({
title: t('common.tipTitle'),
content: t('views.logManage.exportFile.deleteTip', { fileName: row.fileName }),
content: t('views.logManage.exportFile.deleteTip', {
fileName: row.fileName,
}),
onOk() {
const key = 'delFile';
delLoading.value = true;
@@ -288,6 +292,19 @@ onMounted(() => {
/>
</a-form-item>
</a-col>
<a-col :lg="16" :md="18" :xs="24" v-if="queryParams.path">
<a-form-item
:label="t('views.logManage.neFile.nePath')"
name="configName"
style="margin-bottom: 0"
>
<a-breadcrumb>
<a-breadcrumb-item>
{{ queryParams.path }}
</a-breadcrumb-item>
</a-breadcrumb>
</a-form-item>
</a-col>
</a-row>
</a-form>
</template>