优化清洗重试机制,优化清洗进度展示,修复模板无法展示参数 (#113)

* bugfix: 模板无法展示参数

* bugfix: 优化清洗进度展示

* bugfix: 优化清洗重试机制
This commit is contained in:
hhhhsc701
2025-11-28 15:28:10 +08:00
committed by GitHub
parent f1bffdcd61
commit 07029d07ff
11 changed files with 93 additions and 21 deletions

View File

@@ -177,10 +177,13 @@ export default function TaskList() {
title: "进度",
dataIndex: "process",
key: "process",
width: 200,
render: (progress: number) => (
<Progress percent={progress} size="small" />
),
width: 150,
render: (_, record: CleansingTask) => {
if (record?.status?.value == TaskStatus.FAILED) {
return <Progress percent={record?.progress?.process} size="small" status="exception" />;
}
return <Progress percent={record?.progress?.process} size="small"/>;
},
},
{
title: "已处理文件数",

View File

@@ -45,13 +45,6 @@ export default function TemplateList() {
};
const templateColumns = [
{
title: "模板ID",
dataIndex: "id",
key: "id",
fixed: "left",
width: 100,
},
{
title: "模板名称",
dataIndex: "name",
@@ -71,6 +64,13 @@ export default function TemplateList() {
</Button>
);
}},
{
title: "模板ID",
dataIndex: "id",
key: "id",
fixed: "left",
width: 150,
},
{
title: "算子数量",
dataIndex: "num",