www:新增问题反馈功能;dashboard:适配问题反馈功能,可以在后台系统和用户沟通

This commit is contained in:
eafonyang
2026-08-20 16:42:01 +08:00
parent 5ae979f7e1
commit 3702ad4163
31 changed files with 1956 additions and 11 deletions
+25
View File
@@ -352,6 +352,31 @@ export interface SupportConfig extends PageHeroConfig {
s4_cta_url: string;
}
// ===== 问题反馈 =====
export interface SupportFeedbackItem {
id: number;
feedback_no: string;
product_id: number;
product_name_zh: string;
product_name_en: string;
description: string;
status: 'pending' | 'processing' | 'resolved' | string;
log_file_name: string;
log_file_path: string;
log_file_size: number;
created_at: string;
}
export interface SupportFeedbackMessage {
id: number;
feedback_id: number;
sender_type: 'user' | 'staff';
sender_id: number;
sender_name: string;
content: string;
created_at: string;
}
// ===== 联系表单 =====
export type FormFieldType = 'text' | 'email' | 'phone' | 'textarea' | 'select';