diff --git a/api/app/lib/controllers/patrolManage/yujingguanli.js b/api/app/lib/controllers/patrolManage/yujingguanli.js index 2b39b8b..b7264e4 100644 --- a/api/app/lib/controllers/patrolManage/yujingguanli.js +++ b/api/app/lib/controllers/patrolManage/yujingguanli.js @@ -27,7 +27,7 @@ async function varfiyCode(ctx) { if(type.includes(1)){ await pushBySms({ phone: phone, - templateCode: 'SMS_261950020', + templateCode: 'SMS_273640525', templateParam: { code: varifyCode }, diff --git a/web/client/src/sections/shouye/containers/shouye.js b/web/client/src/sections/shouye/containers/shouye.js index a1c613f..008a768 100644 --- a/web/client/src/sections/shouye/containers/shouye.js +++ b/web/client/src/sections/shouye/containers/shouye.js @@ -135,7 +135,7 @@ const Information = (props) => {
已处理:{shijiandata.filter(i => i?.patrolRecordIssueHandles[0]?.yanshoushijian && parseInt(moment(i?.patrolRecordIssueHandles[0]?.yanshoushijian).format('YYYYMMDD')) === parseInt(moment().format('YYYYMMDD'))).length}个
-
未处理:{shijiandata.filter(i => i?.alarm === true && i?.patrolRecordIssueHandles[0]?.state === 1).length}个
+
未处理:{shijiandata.filter(i => i?.alarm === true && (i?.patrolRecordIssueHandles[0]?.state === 1 ||i?.patrolRecordIssueHandles.length==0)).length}个