diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 9d40bcd2..d5678efc 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -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?", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 7062158a..fe59d903 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -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}】 文件?", diff --git a/src/views/logManage/exportFile/index.vue b/src/views/logManage/exportFile/index.vue index ca97ce8d..9e9db183 100644 --- a/src/views/logManage/exportFile/index.vue +++ b/src/views/logManage/exportFile/index.vue @@ -139,7 +139,9 @@ function fnDownloadFile(row: Record) { 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) { 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(() => { /> + + + + + {{ queryParams.path }} + + + +