diff --git a/web/client/src/sections/problem/containers/dataAlarm.jsx b/web/client/src/sections/problem/containers/dataAlarm.jsx index c7f79c2..e4aa8be 100644 --- a/web/client/src/sections/problem/containers/dataAlarm.jsx +++ b/web/client/src/sections/problem/containers/dataAlarm.jsx @@ -5,6 +5,7 @@ import { Button, Form, Modal, Skeleton, Pagination, TextArea, Tooltip } from "@d import Statistics from '../components/statistics' import TableData from '../components/tableData' import SideSheets from '../components/sideSheet' +import Set from './set' import { Setup, OutHidden } from "$components"; import moment from "moment"; @@ -341,6 +342,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket }) => { return ( + route=='dataLnterrupt'|| route=='dataAbnormal'|| route=='strategyHit'?
{/* 滞留提醒 */}
@@ -454,7 +456,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket }) => { /> : "" }
- ) + :) } function mapStateToProps (state) { diff --git a/web/client/src/sections/problem/containers/set.jsx b/web/client/src/sections/problem/containers/set.jsx new file mode 100644 index 0000000..73f2875 --- /dev/null +++ b/web/client/src/sections/problem/containers/set.jsx @@ -0,0 +1,34 @@ +import React, { useEffect } from 'react'; +import { connect } from 'react-redux'; + + + +const Set = (props) => { + const { dispatch, actions, user, loading, socket } = props + + useEffect(() => { + + }, []) + + + return ( + <> +
+ +
+ + ) +} + +function mapStateToProps (state) { + const { auth, global, members, webSocket } = state; + return { + // loading: members.isRequesting, + // user: auth.user, + // actions: global.actions, + // members: members.data, + // socket: webSocket.socket + }; +} + +export default connect(mapStateToProps)(Set);