改造结果总览详情弹窗侧栏档案面板
This commit is contained in:
@@ -25,13 +25,13 @@ const entry = fs.readFileSync(
|
||||
);
|
||||
|
||||
[
|
||||
"人员基础信息",
|
||||
"命中模型摘要",
|
||||
"姓名",
|
||||
"工号",
|
||||
"部门",
|
||||
"风险等级",
|
||||
"所属项目",
|
||||
"sidebar-profile",
|
||||
"sidebar-summary",
|
||||
"sidebar-hint",
|
||||
"sidebar-risk-badge",
|
||||
"人物档案",
|
||||
"模型摘要",
|
||||
"辅助提示",
|
||||
"命中模型数",
|
||||
"核心异常标签",
|
||||
"暂无异常标签",
|
||||
@@ -39,15 +39,16 @@ const entry = fs.readFileSync(
|
||||
"tag.ruleName",
|
||||
"justify-content: flex-start",
|
||||
"width: 100%",
|
||||
".sidebar-field--column .sidebar-field__label",
|
||||
"margin-bottom: 8px",
|
||||
"sidebar-profile__meta",
|
||||
"sidebar-section__title",
|
||||
].forEach((token) => assert(sidebar.includes(token), token));
|
||||
|
||||
assert(!sidebar.includes("当前命中模型"), "命中模型摘要应移除当前命中模型字段");
|
||||
assert(!sidebar.includes("排查记录摘要"), "侧栏应移除排查记录摘要");
|
||||
assert(!sidebar.includes("sidebar-summary"), "侧栏不应再渲染排查记录摘要文案");
|
||||
assert(!sidebar.includes("人员基础信息"), "侧栏主视觉不应继续停留在字段平铺式表单");
|
||||
assert(!sidebar.includes("position: sticky"), "左侧整卡不应保持固定");
|
||||
assert(!sidebar.includes("border: 1px solid #e2e8f0"), "左右区域合并后左侧不应保留独立卡片边框");
|
||||
assert(!sidebar.includes("justify-content: space-between"), "不应继续以表单式左右对齐作为主体布局");
|
||||
|
||||
assert(!sidebar.includes("关系人画像"), "侧栏不应扩展到额外区块");
|
||||
assert(!sidebar.includes("资产分布"), "侧栏不应扩展到额外区块");
|
||||
|
||||
Reference in New Issue
Block a user