From e80d29dad8644cb046bc182db9723e2e5866943c Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Tue, 14 Mar 2023 16:10:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=8A=E6=97=A5=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/shouye/containers/shouye.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/client/src/sections/shouye/containers/shouye.js b/web/client/src/sections/shouye/containers/shouye.js index a4e362e..cda1247 100644 --- a/web/client/src/sections/shouye/containers/shouye.js +++ b/web/client/src/sections/shouye/containers/shouye.js @@ -166,16 +166,13 @@ const Information = (props) => {
今日预警
{shijiandata.filter(i=>{ - return i?.patrolRecordIssueHandles[0]?.yanshoucishu>2&&i?.patrolRecordIssueHandles[0]?.isgaojing!==true&&moment(i?.patrolRecordIssueHandles[0]?.yujingshijian).format('YYYYMMDD') === moment().format('YYYYMMDD') + 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(){ - return i?.patrolRecordIssueHandles[0]?.isgaojing===true&&i?.patrolRecordIssueHandles[0]?.yujingafchishu===null&&moment(i?.patrolRecordIssueHandles[0]?.yujingshijian).format('YYYYMMDD') === moment().format('YYYYMMDD') - - }).length }
+ }).length }
已下发:{shijiandata.filter(i=>{