v0.5.5: 应急页 v0.5.4 + 移除IT设备升级 + admin登录修复 + 内容审核架构 + 知识库

This commit is contained in:
Simon
2026-06-16 10:07:42 +08:00
parent 10b37a6acc
commit 60e67b0681
59 changed files with 4195 additions and 110 deletions
+4
View File
@@ -37,6 +37,9 @@ export interface Agent {
today_resolved?: number
created_at: string
updated_at: string
// OTP 二次验证(P0-#5 坐席本地密码配套)
otp_enabled?: number // 0/1, 是否启用 OTP
otp_secret?: string // OTP 密钥(敏感)
}
/** 坐席状态 */
@@ -340,6 +343,7 @@ export interface HuorongTerminalDetail {
version: string // 火绒客户端版本
is_online: boolean // 在线状态
last_connect_time?: number // 最后连接时间(Unix时间戳)
group_id?: number | string // 分组ID_info2 可能返回)
// 硬件信息(可选,_info2 返回)
cpu?: string
memory?: string
@@ -417,7 +417,7 @@ const tabs = [
// ==========================================================================
// 状态
// ==========================================================================
const activeTab = ref<'terminals' | 'leaks' | 'virus'>('terminals')
const activeTab = ref<string>('terminals')
const loading = ref(false)
const connectionError = ref('')
@@ -675,7 +675,7 @@ function loadDemoVirusEvents(): void {
// ==========================================================================
// 标签页切换
// ==========================================================================
function switchTab(tab: 'terminals' | 'leaks' | 'virus'): void {
function switchTab(tab: string): void {
activeTab.value = tab
currentPage.value = 1
searchQuery.value = ''