评查点规则编辑中添加多实体开关控制。

修复文档类型删除失败的bug
This commit is contained in:
2026-01-16 10:11:53 +08:00
parent ea896f98fd
commit e332d05e5d
3 changed files with 75 additions and 35 deletions
+30 -1
View File
@@ -777,7 +777,36 @@ export default function ReviewDetails() {
/>
{/* 在面包屑右侧显示精简版的FileInfo */}
<div className=" ml-10 text-left flex-1 flex flex-row flex-wrap">
<div className=" ml-5 text-left flex-1 flex flex-row flex-wrap items-center">
{/* 评分tag:优秀、合格、不合格、待评价 */}
{/* {(() => {
const score = "";
let tagText = '待评价';
let tagClassName = 'bg-gray-100 text-gray-600 border-gray-300';
if (score >= 90) {
tagText = '优秀';
tagClassName = 'bg-green-50 text-green-700 border-green-300';
} else if (score >= 60) {
tagText = '合格';
tagClassName = 'bg-blue-50 text-blue-700 border-blue-300';
} else if (score > 0) {
tagText = '不合格';
tagClassName = 'bg-red-50 text-red-700 border-red-300';
}
return (
<span className={`
px-3 py-0.5 rounded-full text-xs font-medium border mr-1
${tagClassName}
`}
title="供应商评价"
>
{tagText}
</span>
);
})()} */}
<span className="mr-2 text-xl font-medium">
{reviewData.fileInfo.fileName}
</span>