fix: 1.接入ai_suggestion.
2. 接入合同起草功能。
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user