|
@@ -123,7 +123,7 @@ const SelfInspection = connect(({ eqSelfInspection, loading }) => ({
|
|
|
|
|
|
const renderStatus = () => {
|
|
const renderStatus = () => {
|
|
if (loading) return <LoadingOutlined />;
|
|
if (loading) return <LoadingOutlined />;
|
|
- if (autoReport.warningTotalNum) {
|
|
|
|
|
|
+ if (autoReport.Status > 0) {
|
|
return <span style={{ color: '#FE5850' }}>异常</span>;
|
|
return <span style={{ color: '#FE5850' }}>异常</span>;
|
|
}
|
|
}
|
|
return <span style={{ color: '#F5A623' }}>正常</span>;
|
|
return <span style={{ color: '#F5A623' }}>正常</span>;
|