Browse Source

板块修改

dev
wenlele 2 years ago
parent
commit
d17c6ed36c
  1. 4
      web/client/src/sections/problem/containers/dataAlarm.jsx
  2. 34
      web/client/src/sections/problem/containers/set.jsx

4
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'?
<div style={{ minWidth: 1000 }}>
{/* 滞留提醒 */}
<div>
@ -454,7 +456,7 @@ const DataAlarm = ({ match, dispatch, actions, user, loading, socket }) => {
/> : ""
}
</div>
)
:<Set />)
}
function mapStateToProps (state) {

34
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 (
<>
<div>
<img src="/assets/images/install/watting.png" alt="" style={{ width: 'calc(100% + 16px)', position: "relative", top: -12, left: -8, }} />
</div>
</>
)
}
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);
Loading…
Cancel
Save