From f9648cfb1b7d7f15c7cefed0077bb8254c1971a6 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Wed, 15 Mar 2023 09:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8A=E6=97=A5=E9=A2=84=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/shouye/containers/shouye.js | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/web/client/src/sections/shouye/containers/shouye.js b/web/client/src/sections/shouye/containers/shouye.js index 04b2c5a..d1c0b01 100644 --- a/web/client/src/sections/shouye/containers/shouye.js +++ b/web/client/src/sections/shouye/containers/shouye.js @@ -139,28 +139,6 @@ const Information = (props) => {
未处理:{shijiandata.filter(i => i?.alarm === true && (i?.patrolRecordIssueHandles[0]?.state === 1 ||i?.patrolRecordIssueHandles.length==0)).length}个
-
-
-
今日预警
-
{shijiandata.filter(i=>{ - return i?.patrolRecordIssueHandles[0]?.yanshoucishu>2&&i?.patrolRecordIssueHandles[0]?.isgaojing!==true - &&shijiandata?.filter(j=>j?.pointId===i?.pointId&&j?.points?.project?.id===i?.points?.project?.id - &&j?.patrolRecordIssueHandles[0]?.yujingshijian - &&i?.patrolRecordIssueHandles[0]?.yujingshijian&&moment(i?.patrolRecordIssueHandles[0]?.yujingshijian).format - ('YYYYMMDD') === moment().format('YYYYMMDD') - &&moment(i?.patrolRecordIssueHandles[0].yanshoushijian).valueOf() -
-
-
已下发:{shijiandata.filter(i=>{ - return i?.patrolRecordIssueHandles[0]?.isgaojing===true&&i?.patrolRecordIssueHandles[0]?.yujingafchishu===null - &&i?.patrolRecordIssueHandles[0]?.yujingshijian - &&moment(i?.patrolRecordIssueHandles[0]?.yujingshijian).format - ('YYYYMMDD') === moment().format('YYYYMMDD') - }).length}个
-
-
@@ -169,8 +147,7 @@ const Information = (props) => { return i?.patrolRecordIssueHandles[0]?.yanshoucishu>2&&moment(i?.patrolRecordIssueHandles[0]?.yujingshijian).format('YYYYMMDD') === moment().format('YYYYMMDD') &&res?.payload?.data?.filter(j=>j?.pointId===i?.pointId&&j?.points?.project?.id===i?.points?.project?.id - &&j?.patrolRecordIssueHandles[0]?.yujingshijian - &&i?.patrolRecordIssueHandles[0]?.yujingshijian + &&moment(i?.patrolRecordIssueHandles[0].yanshoushijian).valueOf()