diff --git a/web/client/src/sections/problem/components/tableData.jsx b/web/client/src/sections/problem/components/tableData.jsx index 24d811e..609d175 100644 --- a/web/client/src/sections/problem/components/tableData.jsx +++ b/web/client/src/sections/problem/components/tableData.jsx @@ -48,6 +48,11 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition }) break; case 'videoAbnormal': + // dispatch(problem.getAlarmDataGroup()).then((res) => { + + + // if (res.success) { } + // }) break; default: dispatch(problem.getAlarmDataGroup()).then((res) => { @@ -108,7 +113,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition }, [query, search]) - +console.log(query); return ( <>
diff --git a/web/client/src/sections/problem/containers/dataAlarm.jsx b/web/client/src/sections/problem/containers/dataAlarm.jsx index 9e52f36..ed158ab 100644 --- a/web/client/src/sections/problem/containers/dataAlarm.jsx +++ b/web/client/src/sections/problem/containers/dataAlarm.jsx @@ -187,7 +187,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket }) => { {v.state}
- }) + }) } @@ -345,6 +345,8 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket }) => { selected={selected} setSelected={setSelected} setGenre={setGenre} + query={query} + setQuery={setQuery} /> {setup ? ( { }} >
- 确认信息: + 确认信息: