Browse Source

注释修改

dev
wenlele 2 years ago
parent
commit
2ecbfb51bc
  1. 8
      web/client/src/sections/control/containers/control.jsx

8
web/client/src/sections/control/containers/control.jsx

@ -100,20 +100,20 @@ const Control = (props) => {
useEffect(() => { useEffect(() => {
if (pepProjectId) setProjectId(pepProjectId) if (pepProjectId) setProjectId(pepProjectId)
if (!projectId) { if (!projectId) {
工作台数据请 //
dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setWorkData(res.payload.data) if (res.success) setWorkData(res.payload.data)
}) })
查询BI分析数据- // BI-
dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => { dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setDataBI(res.payload.data) if (res.success) setDataBI(res.payload.data)
}) })
查询BI分析数据-视频异 // BI-
dispatch(control.getVideoAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => { dispatch(control.getVideoAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setVideoBI(res.payload.data) if (res.success) setVideoBI(res.payload.data)
}) })
查询BI分析数据- // BI-
dispatch(control.getAppAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => { dispatch(control.getAppAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setAppBI(res.payload.data) if (res.success) setAppBI(res.payload.data)
}) })

Loading…
Cancel
Save