Browse Source

工作台注释

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

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

@ -107,9 +107,9 @@ const Control = (props) => {
async function concentration1 () { async function concentration1 () {
if (pepProjectId) setProjectId(pepProjectId) if (pepProjectId) setProjectId(pepProjectId)
// //
await dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { // await dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setWorkData(res.payload.data) // if (res.success) setWorkData(res.payload.data)
}) // })
// BI- // BI-
await dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => { await dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => {
if (res.success) setDataBI(res.payload.data) if (res.success) setDataBI(res.payload.data)

Loading…
Cancel
Save