fix: 1.接入ai_suggestion.

2. 接入合同起草功能。
This commit is contained in:
2025-12-05 00:04:45 +08:00
parent eca98fc540
commit 33f10896a0
29 changed files with 3184 additions and 981 deletions
+2
View File
@@ -14,6 +14,7 @@ export interface PromptTemplate {
status: number;
version: string;
created_by: number | null;
created_by_username?: string; // 创建者用户名
created_at: string;
updated_at: string;
is_active?: boolean;
@@ -151,6 +152,7 @@ export function convertToUITemplate(template: PromptTemplate): PromptTemplateUI
status: mapStatusToUI(template.status),
version: template.version,
created_by: template.created_by || 0,
created_by_username: template.created_by_username,
created_at: formatDate(template.created_at),
updated_at: formatDate(template.updated_at),
template_code: template.template_code || undefined,