fix: QC分组补cost_benefit标签+排序

This commit is contained in:
yumoqing 2026-09-03 16:59:51 +08:00
parent 475ea79f6c
commit ee62a2bbf9

View File

@ -204,10 +204,11 @@ async with DBPools().sqlorContext(dbname) as sor:
qc_labels = {
'scoring_items': '评分项 QC', 'qualifications': '资质 QC',
'doc_requirements': '投标文件要求 QC', 'chapter_outline': '章节骨架 QC',
'cost_benefit': '成本收益分析 QC',
'__none__': 'QC 审核', '__legacy__': 'QC 审核(早期)',
}
order = ['scoring_items', 'qualifications', 'doc_requirements',
'chapter_outline', '__none__', '__legacy__']
'chapter_outline', 'cost_benefit', '__none__', '__legacy__']
nodes = []
for key in order + [k for k in groups if k not in order]:
if key not in groups: