import React, { Component } from "react"; import { connect } from "dva"; import NotSubmitted from './NotSubmitted'; import Submitted from './Submitted'; import NoCert from './NoCert'; import { gup } from '../../../utils/utils'; import '../declaration.less'; import * as ajax from '../../../services/api'; import { Tabs, Modal } from "antd"; import declare from '../../../utils/hoc/declare'; const { TabPane } = Tabs; @connect(state => ({ profile: state.profile })) @declare export default class SignUp extends Component { constructor(props, context) { super(props, context); this.state={ noOpenAccountPerCount: 0, openAccountPerCount: 0, tab: '3' // tab: '1' }; } componentWillMount(){ const tab = gup('tab'); if(tab) { this.setState({ tab }); } } componentDidMount() { // this.__checkCompany(); // this.__getAmount(); } render() { if(this.props.showModal) { return ''; } return (
{/* */} {/* */}
); } }