feat(线缆管理): 新增向导式接线创建功能

- 新增四步向导流程,简化接线创建过程
- 添加线缆标签、颜色、安装信息等新字段
- 实现端口可视化面板和冲突检测功能
- 新增耗材日志设备关联字段
- 添加耗材导入后台任务管理
- 更新线缆管理文档和使用指南
This commit is contained in:
zhang1106
2026-03-31 14:34:34 +08:00
parent 5d972799f2
commit 06e3b56469
16 changed files with 3914 additions and 105 deletions
+31
View File
@@ -96,6 +96,36 @@ const ConsumableLog = sequelize.define(
defaultValue: [],
comment: '本次操作的SN序列号列表',
},
deviceId: {
type: DataTypes.STRING,
allowNull: true,
comment: '目标设备ID(出库时关联)',
},
deviceName: {
type: DataTypes.STRING,
allowNull: true,
comment: '目标设备名称',
},
rackId: {
type: DataTypes.STRING,
allowNull: true,
comment: '机柜ID',
},
rackName: {
type: DataTypes.STRING,
allowNull: true,
comment: '机柜名称',
},
roomId: {
type: DataTypes.STRING,
allowNull: true,
comment: '机房ID',
},
roomName: {
type: DataTypes.STRING,
allowNull: true,
comment: '机房名称',
},
},
{
tableName: 'consumable_logs',
@@ -109,6 +139,7 @@ const ConsumableLog = sequelize.define(
{ fields: ['originalLogId'] },
{ fields: ['isEditable'] },
{ fields: ['isConsumableDeleted'] },
{ fields: ['deviceId'] },
],
}
);