feat(系统设置): 新增系统设置模块

- 添加SystemSetting模型用于存储系统配置
- 实现系统设置API路由,支持CRUD操作
- 新增系统设置前端页面,包含全局配置、外观设置、数据备份和关于页面
- 设备批量操作增强,支持批量移动、状态变更和导出
- 工单模型允许deviceId为空
This commit is contained in:
zhang1106
2025-12-29 16:10:42 +08:00
parent b7f806f7d3
commit a7499de748
10 changed files with 2089 additions and 136 deletions
+17
View File
@@ -0,0 +1,17 @@
const fs = require('fs');
const content = fs.readFileSync('e:/IDC/jigui/frontend/src/pages/DeviceManagement.jsx', 'utf8');
const startMarker = '// 可调整列宽的表头组件';
const endMarker = '// 防抖 Hook';
const startIndex = content.indexOf(startMarker);
const endIndex = content.indexOf(endMarker, startIndex);
console.log('startMarker index:', startIndex);
console.log('endMarker index:', endIndex);
if (startIndex >= 0 && endIndex >= 0) {
console.log('Content to remove:');
console.log(content.substring(startIndex, endIndex + endMarker.length).substring(0, 500));
}