浏览代码

fix AccountsCampus.js

zhanghe 6 年之前
父节点
当前提交
d9602afa1a
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      src/routes/Dashboard/Accounts/AccountsCampus.js

+ 5 - 4
src/routes/Dashboard/Accounts/AccountsCampus.js

@@ -27,10 +27,11 @@ export default class CampusAccountsPage extends Component {
   }
 
   handleDownloadOperation = () => {
-    this.props.dispatch({
-      type: 'accounts/fetchCampusExcel',
-      payload: 'download',
-    })
+    window.open('/api/stmt/campus/export');
+    // this.props.dispatch({
+    //   type: 'accounts/fetchCampusExcel',
+    //   payload: 'download',
+    // })
   };
   handleFilterOperation = (params, states) => {
     this.setState({