fix: 跟踪任务HLR操作

This commit is contained in:
TsMask
2024-09-12 17:12:41 +08:00
parent 6d5e96421b
commit ca8605fd6e
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
import { title } from "process";
export default {
// 语言
i18n: '中文',
@@ -1125,9 +1123,6 @@ export default {
stopOk: "{title} 任务已结束",
stopErr: "{title} 任务异常",
stopNotRun: "{title} 任务未运行",
traceFile: "跟踪文件",
errMsg: "错误信息",
imsiORmsisdn: "imsi 或 msisdn 是空值,不能开始任务",
},
task: {
neTypePlease: '请选择网元类型',
@@ -1170,6 +1165,9 @@ export default {
delTaskTip: '确认删除记录编号为 {id} 的数据项?',
stopTask: '成功停止任务 {id}',
stopTaskTip: '确认停止记录编号为 {id} 的任务?',
traceFile: "跟踪文件",
errMsg: "错误信息",
imsiORmsisdn: "imsi 或 msisdn 是空值,不能开始任务",
},
},
faultManage: {

View File

@@ -348,7 +348,7 @@ function fnModalVisibleByVive(id: Record<string, any>) {
if (modalState.confirmLoading) return;
const hide = message.loading(t('common.loading'), 0);
modalState.confirmLoading = true;
fileTaskHLR({ id }).then(res => {
fileTaskHLR({ id, dir: '/usr/local/log' }).then(res => {
modalState.fileErrMsg = '';
modalState.fileList = [];
modalState.confirmLoading = false;