|
@@ -33,6 +33,9 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("project", "项目"),
|
|
Map.entry("project", "项目"),
|
|
|
Map.entry("method", "标准规范"),
|
|
Map.entry("method", "标准规范"),
|
|
|
Map.entry("doc_id", "文件编号"),
|
|
Map.entry("doc_id", "文件编号"),
|
|
|
|
|
+ Map.entry("cert", "证书资质"),
|
|
|
|
|
+ Map.entry("title", "职务职称"),
|
|
|
|
|
+ Map.entry("policy", "政策法规"),
|
|
|
Map.entry("other", "其他")
|
|
Map.entry("other", "其他")
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -55,6 +58,9 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("project", "📋"),
|
|
Map.entry("project", "📋"),
|
|
|
Map.entry("method", "📖"),
|
|
Map.entry("method", "📖"),
|
|
|
Map.entry("doc_id", "📄"),
|
|
Map.entry("doc_id", "📄"),
|
|
|
|
|
+ Map.entry("cert", "🏆"),
|
|
|
|
|
+ Map.entry("title", "👔"),
|
|
|
|
|
+ Map.entry("policy", "⚖️"),
|
|
|
Map.entry("other", "📌")
|
|
Map.entry("other", "📌")
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -77,6 +83,9 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("project", "#faad14"),
|
|
Map.entry("project", "#faad14"),
|
|
|
Map.entry("method", "#9254de"),
|
|
Map.entry("method", "#9254de"),
|
|
|
Map.entry("doc_id", "#597ef7"),
|
|
Map.entry("doc_id", "#597ef7"),
|
|
|
|
|
+ Map.entry("cert", "#f5222d"),
|
|
|
|
|
+ Map.entry("title", "#fa541c"),
|
|
|
|
|
+ Map.entry("policy", "#a0d911"),
|
|
|
Map.entry("other", "#8c8c8c")
|
|
Map.entry("other", "#8c8c8c")
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -98,15 +107,19 @@ public final class EntityTypeConstants {
|
|
|
Map.entry("entity", "Entity"),
|
|
Map.entry("entity", "Entity"),
|
|
|
Map.entry("project", "Project"),
|
|
Map.entry("project", "Project"),
|
|
|
Map.entry("method", "Method"),
|
|
Map.entry("method", "Method"),
|
|
|
- Map.entry("doc_id", "DocumentId")
|
|
|
|
|
|
|
+ Map.entry("doc_id", "DocumentId"),
|
|
|
|
|
+ Map.entry("cert", "Certificate"),
|
|
|
|
|
+ Map.entry("title", "Title"),
|
|
|
|
|
+ Map.entry("policy", "Policy")
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 预定义的类型排序顺序
|
|
* 预定义的类型排序顺序
|
|
|
*/
|
|
*/
|
|
|
public static final java.util.List<String> TYPE_ORDER = java.util.List.of(
|
|
public static final java.util.List<String> TYPE_ORDER = java.util.List.of(
|
|
|
- "entity", "concept", "project", "method", "doc_id", "data", "number", "money",
|
|
|
|
|
- "person", "org", "loc", "location", "date", "device", "term", "other"
|
|
|
|
|
|
|
+ "entity", "concept", "project", "method", "policy", "doc_id", "cert",
|
|
|
|
|
+ "data", "number", "money", "person", "title", "org", "loc", "location",
|
|
|
|
|
+ "date", "device", "term", "other"
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
/**
|