|
|
@ -105,9 +105,9 @@ const Control = (props) => { |
|
|
|
if (pepProjectId) setProjectId(pepProjectId) |
|
|
|
if (!projectId) { |
|
|
|
// 工作台数据请求 |
|
|
|
await dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
if (res.success) setWorkData(res.payload.data) |
|
|
|
}) |
|
|
|
// await dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
// if (res.success) setWorkData(res.payload.data) |
|
|
|
// }) |
|
|
|
// 查询BI分析数据-数据 |
|
|
|
await dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => { |
|
|
|
if (res.success) setDataBI(res.payload.data) |
|
|
|