Skip to content

Commit eb8dce2

Browse files
committed
feature: 落盘算子改为默认执行
1 parent b881a5f commit eb8dce2

File tree

9 files changed

+166
-203
lines changed

9 files changed

+166
-203
lines changed

frontend/src/pages/DataCleansing/Detail/components/FileTable.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,19 +227,16 @@ export default function FileTable({result, fetchTaskResult}) {
227227
dataIndex: "status",
228228
key: "status",
229229
filters: [
230-
{ text: "已完成", value: "已完成" },
231-
{ text: "失败", value: "失败" },
232-
{ text: "处理中", value: "处理中" },
230+
{ text: "已完成", value: "COMPLETED" },
231+
{ text: "失败", value: "FAILED" },
233232
],
234233
onFilter: (value: string, record: any) => record.status === value,
235234
render: (status: string) => (
236235
<Badge
237236
status={
238237
status === "COMPLETED"
239238
? "success"
240-
: status === "FAILED"
241-
? "error"
242-
: "processing"
239+
: "error"
243240
}
244241
text={TaskStatusMap[status as TaskStatus].label}
245242
/>
@@ -248,6 +245,7 @@ export default function FileTable({result, fetchTaskResult}) {
248245
{
249246
title: "操作",
250247
key: "action",
248+
width: 200,
251249
render: (_text: string, record: any) => (
252250
<div className="flex">
253251
{record.status === "COMPLETED" ? (

runtime/ops/formatter/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def _configure_importer():
1515

1616

1717
def _import_operators():
18-
from . import file_exporter
1918
from . import slide_formatter
2019
from . import mineru_formatter
2120

runtime/ops/formatter/file_exporter/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

runtime/ops/formatter/file_exporter/metadata.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

runtime/ops/formatter/file_exporter/process.py

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)