import React, { Component } from "react";
import "../financialWallet.less";
import { withRouter } from "dva/router";
import FreeDistribution from './FreeDistribution';
import DistributionRecord from './DistributionRecord';
import { Tabs, Form } from "antd";
const { TabPane } = Tabs;
@withRouter
@Form.create()
export default class Messages extends Component {
  constructor(props, context) {
    super(props, context);
    this.state = {};
  }
  render() {
    return (
      <div style={{ paddingTop: "10px" }}>
        <Tabs defaultActiveKey='2' tabBarStyle={{ marginLeft: 24, marginRight: 24 }}>
          {/* <TabPane tab="免费在线发放" key="1">
            <FreeDistribution />
          </TabPane> */}
          <TabPane tab="线下薪资发放记录" key="2">
            <DistributionRecord />
          </TabPane>
        </Tabs>
      </div>
    );
  }
}
