From 1575e10531d03eec4b6d791d46413ff0d474c941 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Tue, 14 Mar 2023 16:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=8A=E6=97=A5=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/shouye/containers/shouye.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/web/client/src/sections/shouye/containers/shouye.js b/web/client/src/sections/shouye/containers/shouye.js index 5f9b275..a4e362e 100644 --- a/web/client/src/sections/shouye/containers/shouye.js +++ b/web/client/src/sections/shouye/containers/shouye.js @@ -160,7 +160,35 @@ const Information = (props) => { }).length}个 + +
+
+
今日预警
+
{shijiandata.filter(i=>{ + + return i?.patrolRecordIssueHandles[0]?.yanshoucishu>2&&i?.patrolRecordIssueHandles[0]?.isgaojing!==true&&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 }
+
+
+
已下发:{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}个
+
+
+ +