瀏覽代碼

fix: WRX-682

ZhaoJun 1 年之前
父節點
當前提交
e02b6625cf
共有 1 個文件被更改,包括 34 次插入10 次删除
  1. 34 10
      src/pages/EqSelfInspection/components/Detail.js

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