zhanghe 6 лет назад
Родитель
Сommit
fa256fec4f
1 измененных файлов с 15 добавлено и 15 удалено
  1. 15 15
      src/routes/Terminal/User/TerminalList.js

+ 15 - 15
src/routes/Terminal/User/TerminalList.js

@@ -3,9 +3,9 @@ import moment from 'moment';
 import { connect } from 'dva';
 import { routerRedux } from 'dva/router';
 import { Card, Modal, Form, Button, message } from 'antd';
-import { StandardTableList } from '../../../components/AXList/index';
-import AXRemoteSelect from '../../../components/AXRemoteSelect/index';
-import Ellipsis from '../../../components/Ellipsis/index';
+import { StandardTableList } from '../../../components/AXList';
+import AXRemoteSelect from '../../../components/AXRemoteSelect';
+import Ellipsis from '../../../components/Ellipsis';
 import { addRowKey, renderStatus, renderBindStatus } from '../../../utils/utils';
 import { Hotax } from '../../../utils/config';
 
@@ -61,7 +61,7 @@ export default class TerminalListPage extends Component {
       pathname: '/terminal/user/create',
       state: this.state,
     }));
-  }
+  };
   handleDeviceUnboundOperation = (item) => {
     Modal.confirm({
       okText: '确定',
@@ -76,7 +76,7 @@ export default class TerminalListPage extends Component {
         });
       },
     });
-  }
+  };
   handleDisableOperation = (item) => {
     Modal.confirm({
       okText: '禁用',
@@ -91,7 +91,7 @@ export default class TerminalListPage extends Component {
         });
       },
     });
-  }
+  };
   handleRecoverOperation = (item) => {
     Modal.confirm({
       okText: '确定',
@@ -108,7 +108,7 @@ export default class TerminalListPage extends Component {
         });
       },
     });
-  }
+  };
   handleEditOperation = (item) => {
     this.props.dispatch(routerRedux.push({
       pathname: `/terminal/user/edit/${item.id}`,
@@ -117,7 +117,7 @@ export default class TerminalListPage extends Component {
         ...this.state,
       },
     }));
-  }
+  };
   handleFilterOperation = (params, states) => {
     this.props.dispatch({
       type: 'terminal/fetchTerminalList',
@@ -127,7 +127,7 @@ export default class TerminalListPage extends Component {
       UIParams: states,
       Queryers: params,
     });
-  }
+  };
   handleModalFilterOperation = () => {
     const { getFieldsValue } = this.props.form;
     const { merchantIds, campusIds } = getFieldsValue();
@@ -140,16 +140,16 @@ export default class TerminalListPage extends Component {
       },
     });
     this.handleFilterModalDestroy();
-  }
+  };
   handleBatchOperation = () => {
     Message.info('暂不支持批量操作!');
-  }
+  };
   handleFilterModalShow = () => {
     this.setState({ filterModalDestroy: false });
-  }
+  };
   handleFilterModalDestroy = () => {
     this.setState({ filterModalDestroy: true });
-  }
+  };
   handleMerchantRemoteSelectSearch = (value) => {
     this.props.dispatch({
       type: 'merchant/fetchMerchantList',
@@ -158,7 +158,7 @@ export default class TerminalListPage extends Component {
         name: value,
       },
     });
-  }
+  };
   handleCampusRemoteSelectSearch = (value) => {
     this.props.dispatch({
       type: 'campus/fetchCampusList',
@@ -167,7 +167,7 @@ export default class TerminalListPage extends Component {
         name: value,
       },
     });
-  }
+  };
 
   render() {
     const { loading, fetching1, fetching2, form, campus, merchant, terminal } = this.props;