From c6fd96166341df579d5d320e835da1a7f7836491 Mon Sep 17 00:00:00 2001 From: yupeng Date: Fri, 7 Nov 2025 13:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2=EF=BC=9A?= =?UTF-8?q?=E5=B7=A1=E6=A3=80=E5=86=85=E5=AE=B9=E2=80=94=E2=80=94=E6=B8=A9?= =?UTF-8?q?=E5=BA=A6=E5=BC=82=E5=B8=B8=E6=A3=80=E6=B5=8B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Inspectiontaskplan/SmartInspectionPlan.js | 44 ++++++++++--------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js index b6d4510..efd2fc9 100644 --- a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js +++ b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js @@ -1912,9 +1912,9 @@ const SmartInspectionContent = () => { color: 'rgba(4, 95, 94, 0.8)' }, detail: { - backgroundColor: 'rgba(4, 95, 94, 0.2)', - borderColor: 'rgba(4, 95, 94, 0.5)', - borderWidth: 2, + // backgroundColor: 'rgba(4, 95, 94, 0.2)', + // borderColor: 'rgba(4, 95, 94, 0.5)', + // borderWidth: 2, width: '60%', lineHeight: 40, height: 40, @@ -1922,12 +1922,13 @@ const SmartInspectionContent = () => { offsetCenter: [0, '35%'], valueAnimation: true, formatter: function (value) { - return '{value|' + value.toFixed(0) + '}{unit|°C}'; + return '{value|温度:' + value.toFixed(0) + '℃}'; + // return '{value|温度:' + value.toFixed(0) + '℃}{unit|°C}'; }, rich: { value: { fontSize: 20, - fontWeight: 'bolder', + fontWeight: '400', color: 'rgba(4, 95, 94, 1)' }, unit: { @@ -1940,7 +1941,7 @@ const SmartInspectionContent = () => { data: [ { value: 28, - name: '温度' + name: '' } ] } @@ -2016,9 +2017,9 @@ const SmartInspectionContent = () => { color: 'rgba(4, 95, 94, 0.8)' }, detail: { - backgroundColor: 'rgba(4, 95, 94, 0.2)', - borderColor: 'rgba(4, 95, 94, 0.5)', - borderWidth: 2, + // backgroundColor: 'rgba(4, 95, 94, 0.2)', + // borderColor: 'rgba(4, 95, 94, 0.5)', + // borderWidth: 2, width: '60%', lineHeight: 40, height: 40, @@ -2026,12 +2027,13 @@ const SmartInspectionContent = () => { offsetCenter: [0, '35%'], valueAnimation: true, formatter: function (value) { - return '{value|' + value.toFixed(0) + '}{unit|%}'; + // return '{value|' + value.toFixed(0) + '}{unit|%}'; + return '{value|湿度:' + value.toFixed(0) + '%}'; }, rich: { value: { fontSize: 20, - fontWeight: 'bolder', + fontWeight: '400', color: 'rgba(4, 95, 94, 1)' }, unit: { @@ -2044,7 +2046,7 @@ const SmartInspectionContent = () => { data: [ { value: 55, - name: '湿度' + name: '' } ] } @@ -2080,10 +2082,12 @@ const SmartInspectionContent = () => {
-

阈值配置区

- +
+

阈值配置区

+ +
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />