From fc2e50b4153948d59d541c738548f7fdb22f1e77 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 2 Feb 2026 18:39:52 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"refactor(template):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E6=A8=A1=E6=9D=BF=E5=88=97=E8=A1=A8=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=81=E7=89=88=E6=9C=AC=E5=92=8C=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=88=97"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a5261b33b2607c1da0dd56f1ae7b7827a9e54776. --- .../DataAnnotation/Template/TemplateList.tsx | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx index 242085c..8f128e1 100644 --- a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx +++ b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx @@ -225,6 +225,23 @@ const TemplateList: React.FC = () => { {ClassificationMap[category as keyof typeof ClassificationMap]?.label || category} ), }, + { + title: "类型", + dataIndex: "builtIn", + key: "builtIn", + width: 100, + render: (builtIn: boolean) => ( + + {builtIn ? "系统内置" : "自定义"} + + ), + }, + { + title: "版本", + dataIndex: "version", + key: "version", + width: 80, + }, { title: "创建时间", dataIndex: "createdAt", @@ -232,6 +249,46 @@ const TemplateList: React.FC = () => { width: 180, render: (date: string) => new Date(date).toLocaleString(), }, + { + title: "操作", + key: "action", + width: 200, + fixed: "right", + render: (_, record) => ( + + +