ZhaoJun 1 жил өмнө
parent
commit
e02b6625cf

+ 34 - 10
src/pages/EqSelfInspection/components/Detail.js

@@ -1310,13 +1310,25 @@ function PressureGaugeTable(props) {
       },
     },
     {
-      title: '仪表最小数',
-      width: '2rem',
+      title: (
+        <>
+          仪表
+          <br />
+          最小数
+        </>
+      ),
+      width: '1.25rem',
       dataIndex: 'data_min',
     },
     {
-      title: '仪表最大数',
-      width: '2rem',
+      title: (
+        <>
+          仪表
+          <br />
+          最大数
+        </>
+      ),
+      width: '1.25rem',
       dataIndex: 'data_max',
     },
     {
@@ -1417,7 +1429,7 @@ function PressureGaugeCom(props) {
           items={[
             {
               key: '2',
-              label: `异常/警告(${errorData?.length || 0})`,
+              label: `异常/警告(${allData?.length || 0})`,
               children: <div></div>,
             },
           ]}
@@ -1460,13 +1472,25 @@ function WaterQualityTable(props) {
       },
     },
     {
-      title: '仪表最小数',
-      width: '2rem',
+      title: (
+        <>
+          仪表
+          <br />
+          最小数
+        </>
+      ),
+      width: '1.25rem',
       dataIndex: 'data_min',
     },
     {
-      title: '仪表最大数',
-      width: '2rem',
+      title: (
+        <>
+          仪表
+          <br />
+          最大数
+        </>
+      ),
+      width: '1.25rem',
       dataIndex: 'data_max',
     },
     {
@@ -1567,7 +1591,7 @@ function WaterQualityCom(props) {
           items={[
             {
               key: '2',
-              label: `异常/警告(${errorData?.length || 0})`,
+              label: `异常/警告(${allData?.length || 0})`,
               children: <div></div>,
             },
           ]}