|
@@ -27,7 +27,7 @@ export default function LiquidLevelCom(props) {
|
|
allData?.forEach((item) => {
|
|
allData?.forEach((item) => {
|
|
if (!item.history && item.status == 1 && statusCheck.includes(1)) {
|
|
if (!item.history && item.status == 1 && statusCheck.includes(1)) {
|
|
data.errorTableData.push(item);
|
|
data.errorTableData.push(item);
|
|
- } else if (item.history && item.status == 0 && statusCheck.includes(0)) {
|
|
|
|
|
|
+ } else if (item.history) {
|
|
data.normalData.push(item);
|
|
data.normalData.push(item);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -44,7 +44,7 @@ export default function LiquidLevelCom(props) {
|
|
children: <div></div>,
|
|
children: <div></div>,
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- if (showAllTabs || normalData.length > 0) {
|
|
|
|
|
|
+ if (showAllTabs) {
|
|
items.push({
|
|
items.push({
|
|
key: '0',
|
|
key: '0',
|
|
label: `历史记录(${normalData.length || 0})`,
|
|
label: `历史记录(${normalData.length || 0})`,
|
|
@@ -77,7 +77,7 @@ export default function LiquidLevelCom(props) {
|
|
<div className={styles.tipTitle}>
|
|
<div className={styles.tipTitle}>
|
|
液位校验
|
|
液位校验
|
|
<Popover content={content}>
|
|
<Popover content={content}>
|
|
- <i></i>
|
|
|
|
|
|
+ <Icon type="info-circle" style={{ marginLeft: 20 }} />
|
|
</Popover>
|
|
</Popover>
|
|
</div>
|
|
</div>
|
|
<TabsContent
|
|
<TabsContent
|