Require vendor when completing unmanaged NEs from topology.

Persist vendor on create/update and refresh the canvas node so icon tone matches inventory.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-04 11:50:05 +08:00
parent 57f45fdaaf
commit bee86eea0d
3 changed files with 56 additions and 4 deletions

View file

@ -1398,8 +1398,9 @@ const en = {
termConnect: {
title: "Complete login",
titleCreate: "Create NE and connect",
hint: "This node is not managed or lacks credentials. Enter IP and protocol to connect (same as creating/completing an NE).",
hint: "This node is not managed or lacks credentials. Enter IP, vendor, and protocol to connect (same as creating/completing an NE).",
name: "Name",
vendor: "Vendor",
ip: "IP address",
port: "Port",
protocol: "Protocol",

View file

@ -1392,8 +1392,9 @@ const zh = {
termConnect: {
title: "补全登录信息",
titleCreate: "新建网元并登录",
hint: "该网元尚未纳管或缺少登录信息,请填写 IP 与协议后连接(等同新建/补全网元)。",
hint: "该网元尚未纳管或缺少登录信息,请填写 IP、厂家与协议后连接(等同新建/补全网元)。",
name: "名称",
vendor: "厂家",
ip: "IP 地址",
port: "端口",
protocol: "协议",