|
@@ -1,13 +1,12 @@
|
|
|
import React, { PureComponent } from 'react';
|
|
|
-// import { connect } from 'react-redux';
|
|
|
+import { connect } from 'react-redux';
|
|
|
// import { BrowserRouter, Route,Link } from 'react-router-dom';
|
|
|
+import { actionCreators } from './store';
|
|
|
|
|
|
-// import { actionCreators } from './store';
|
|
|
-
|
|
|
-class clientPopups extends PureComponent {
|
|
|
-
|
|
|
+class lockDetailPopups extends PureComponent {
|
|
|
|
|
|
render() {
|
|
|
+ const {} = this.props;
|
|
|
return (
|
|
|
<div className="modal fade" id="lock-detail" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
|
|
|
<div className="modal-dialog modal-xl">
|
|
@@ -95,7 +94,7 @@ class clientPopups extends PureComponent {
|
|
|
<div className="tab-content">
|
|
|
<div className="tab-pane fade sheet-panel-righttop show active" id="tab-lserver" role="tabpanel" aria-labelledby="tab-server">
|
|
|
<div className="slimScrol3">
|
|
|
- <table className="table">
|
|
|
+ {/* <table className="table">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th className="border-0"></th>
|
|
@@ -151,7 +150,7 @@ class clientPopups extends PureComponent {
|
|
|
<br/><span className="text-muted"><a href="#">@陈特</a> 5月5日 14:55</span></td>
|
|
|
<td>备注内容</td>
|
|
|
</tr>
|
|
|
- </table>
|
|
|
+ </table> */}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -187,9 +186,33 @@ class clientPopups extends PureComponent {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
+ componentDidMount() {
|
|
|
+ this.props.onRef(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ handlelockDetailPopups(key) {
|
|
|
+ const { handlelockDetailPopups } = this.lockDetailPopups;
|
|
|
+ handlelockDetailPopups(key);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
+const mapStateToProps = (state) => {
|
|
|
+ return {
|
|
|
+ // popupsClientId: state.getIn(['popups', 'popupsClientId']),
|
|
|
+ // companyDetail: state.getIn(['popups', 'companyDetail']),
|
|
|
+ // loading: state.getIn(['popups', 'loading']),
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
+const mapDispathToProps = (dispatch) => {
|
|
|
+ return {
|
|
|
+ handlelockDetailPopups(key) {
|
|
|
+ // dispatch(actionCreators.changeLoading());
|
|
|
+ // dispatch(actionCreators.getCompanyDetail(key,error));
|
|
|
+ },
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
+export default connect(mapStateToProps, mapDispathToProps)(lockDetailPopups);
|
|
|
|
|
|
-export default clientPopups;
|