}
+ icon={
}
title="敬请期待!"
subTitle="很抱歉!该功能尚未上线~"
/>
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/Badge/RiskBadge.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/Badge/RiskBadge.tsx
index 1241f0a4d..d027c9ac4 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/Badge/RiskBadge.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/Badge/RiskBadge.tsx
@@ -94,10 +94,7 @@ const RiskBadge = ({ shortCode, mertic }) => {
BadgeContent = createBadge(
'该项指标需要进行风险澄清!',
'red',
-
+
);
} else {
BadgeContent =
;
@@ -119,10 +116,7 @@ const RiskBadge = ({ shortCode, mertic }) => {
BadgeContent = createBadge(
content,
'#ff0000',
-
+
);
} else {
if (dimension === '合法合规') {
@@ -133,10 +127,7 @@ const RiskBadge = ({ shortCode, mertic }) => {
BadgeContent = createBadge(
content,
'#52c41a',
-
+
);
} else {
content +=
@@ -162,10 +153,7 @@ const RiskBadge = ({ shortCode, mertic }) => {
BadgeContent = createBadge(
content,
'#52c41a',
-
+
);
} else {
content += getBadgeContent(
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/EditReport.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/EditReport.tsx
index dfc5dc3f2..57e57de7d 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/EditReport.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/EditReport.tsx
@@ -209,7 +209,6 @@ const EditReport = ({ report, editSuccess }) => {
{userId === report.userId && (
{
// anction(record);
setOpenConfirm(true);
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/RefreshReport.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/RefreshReport.tsx
index 87bb2ddec..1df18b59b 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/RefreshReport.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationBaseInfo/RefreshReport.tsx
@@ -29,7 +29,6 @@ const RefreshReport = ({ report, editSuccess }) => {
{currentUser?.id === report.userId && (
{
mutation.mutate({
reportId: report.id,
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDetail.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDetail.tsx
index d9f880f8c..789d38010 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDetail.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDetail.tsx
@@ -42,7 +42,6 @@ const EvaluationDetail = ({
back();
}}
className="mr-2 mt-1 cursor-pointer text-2xl text-[#3f60ef]"
- rev={undefined}
/>
)}
{targetSoftware === getPathname(item.codeUrl) && (
@@ -52,10 +51,7 @@ const EvaluationDetail = ({
metricItemScoreList={metricItemScoreList}
/>
-
+
>
)}
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDownLoad.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDownLoad.tsx
index 27797a0c4..e7181b183 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDownLoad.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/EvaluationDownLoad.tsx
@@ -22,7 +22,7 @@ const DownloadReportRow = ({ item, setLoadingDownLoad }) => {
},
}
);
- return ;
+ return ;
};
const EvaluationDownLoad = ({ item }) => {
@@ -56,7 +56,7 @@ const EvaluationDownLoad = ({ item }) => {
}}
className=""
>
-
+
)}
@@ -68,7 +68,7 @@ const EvaluationDownLoad = ({ item }) => {
// setLoadingDownLoad={setLoadingDownLoad}
// />
// ) : (
- //
+ //
// )}
//
);
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MerticDetail.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MerticDetail.tsx
index 4897997a2..852cb1b8e 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MerticDetail.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MerticDetail.tsx
@@ -98,48 +98,33 @@ export const useGetMetricIcon = (item, riskFill) => {
if (riskFill) {
return (
-
+
);
}
if (item.score === null) {
return (
-
+
);
} else if (item.score === -1) {
return (
-
+
);
} else if (item.score == 10) {
return (
-
+
);
} else if (item.score >= 6) {
return (
-
+
);
@@ -147,10 +132,7 @@ export const useGetMetricIcon = (item, riskFill) => {
return (
-
+
);
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/CheckRisk.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/CheckRisk.tsx
index a9d7dc6ea..720802757 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/CheckRisk.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/CheckRisk.tsx
@@ -61,7 +61,7 @@ const CheckRisk = ({ report, metricName, dimension }) => {
handleApprove(type, Number(!state))}>
{label}
- {state && }
+ {state && }
),
@@ -101,7 +101,7 @@ const CheckRisk = ({ report, metricName, dimension }) => {
handleApprove(type, state ? 0 : -1)}>
{label}
- {state && }
+ {state && }
),
@@ -204,7 +204,7 @@ const CheckRisk = ({ report, metricName, dimension }) => {
className="flex items-center !rounded-none"
type="primary"
>
-
+
赞同
@@ -215,7 +215,7 @@ const CheckRisk = ({ report, metricName, dimension }) => {
className="flex items-center !rounded-none"
type="primary"
>
-
+
拒绝
@@ -228,7 +228,7 @@ const CheckRisk = ({ report, metricName, dimension }) => {
className="flex items-center !rounded-none"
type="primary"
>
-
+
赞同
diff --git a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/index.tsx b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/index.tsx
index 483852e69..9dbcc4806 100644
--- a/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/index.tsx
+++ b/apps/web/src/modules/oh/DataView/HatchingTreatment/Hatch/EvaluationInfo/MetricDrawer/index.tsx
@@ -118,7 +118,7 @@ const MetricDrawer = ({
title="上一个"
onClick={() => nextAndPre('pre')}
>
-