Commit 98604b82 authored by Data Governance Dev's avatar Data Governance Dev

refactor(web): 去掉「部分|全量」radio,所有检查都跑全量

用户反馈:partial/full 选项不再需要,所有检查(包括用户自定义规则)
都跑全量扫描。

改动:
- 删除每条 IND leaf 行的 <el-radio-group class="sample-scope">
- 删除自定义规则卡片 header 的 <el-radio-group>
- 删除 sampleScope ref / SAMPLE_PARTIAL_LIMIT / buildSampleLimitsForSubmit()
- 删除 watch(analysisTree.groups) 里初始化 sampleScope 的循环
- startJob() payload 不再发 sample_limits 字段
- 删除 setup return 中的 sampleScope 相关导出
- 删除 .sample-scope / .sample-scope--leaf / .custom-rule-sample CSS
- .tree-row--group .group-description max-width 从 280px 放宽到 560px
  (radio 让位消失后,description 可以更长)

后端零改动:sample_limit 参数链(models → job_manager → orchestrator
→ step7/step9)保留。前端不发 sample_limits → 后端默认 None = 全量扫描。

附带 UI 改进:进度区显示「失败 N 步(...)」行 + 进度条部分失败变
warning + 状态 tag 显示「completed (N 失败)」,避免静默失败误导用户。
(对应 step6 length_check TypeError 的 bug 修复,wrapper 签名
修改在 3dfd038c commit 已包含)
parent 3dfd038c
This diff is collapsed.
......@@ -296,34 +296,13 @@ body {
}
/* 2026-08-13:抽样范围 partial/full radio
- 限制 description 最大宽度,给 radio 让位(避免换行错位)
- radio 自身在行内最右,flex-shrink:0 防被挤压 */
- radio 自身在行内最右,flex-shrink:0 防被挤压
- 2026-08-13:去掉 radio 后 group-description 不再需要给 radio 让位,
max-width 调整为更宽松的值,description 可显示更长文案 */
.tree-row--group .group-description {
max-width: 280px;
max-width: 560px;
flex: 0 1 auto;
}
.sample-scope {
margin-left: 12px;
flex-shrink: 0;
}
.sample-scope .el-radio-button__inner {
padding: 5px 10px;
font-size: 12px;
}
/* 叶子行(per-IND)的 radio:与 match-inputs 之间紧贴,左边距小一些 */
.sample-scope--leaf {
margin-left: 8px;
}
/* 自定义规则卡片里也加一份 radio(在 card 顶部一行右对齐) */
.custom-rule-sample {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.custom-rule-sample .label {
color: #606266;
font-size: 13px;
}
.tree-row .badge {
margin-left: 6px;
height: 18px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment