feat(线缆管理): 新增向导式接线创建功能
- 新增四步向导流程,简化接线创建过程 - 添加线缆标签、颜色、安装信息等新字段 - 实现端口可视化面板和冲突检测功能 - 新增耗材日志设备关联字段 - 添加耗材导入后台任务管理 - 更新线缆管理文档和使用指南
This commit is contained in:
@@ -257,6 +257,11 @@ router.post('/', async (req, res) => {
|
||||
cableLength,
|
||||
status,
|
||||
description,
|
||||
cableLabel,
|
||||
cableColor,
|
||||
installedBy,
|
||||
installedAt,
|
||||
lastTestedAt,
|
||||
force,
|
||||
} = req.body;
|
||||
|
||||
@@ -321,6 +326,11 @@ router.post('/', async (req, res) => {
|
||||
cableLength,
|
||||
status: status || 'normal',
|
||||
description,
|
||||
cableLabel: cableLabel || null,
|
||||
cableColor: cableColor || null,
|
||||
installedBy: installedBy || null,
|
||||
installedAt: installedAt || null,
|
||||
lastTestedAt: lastTestedAt || null,
|
||||
});
|
||||
|
||||
const createdCable = await Cable.findByPk(cable.cableId, {
|
||||
|
||||
Reference in New Issue
Block a user