import React from 'react'; import { Button, Radio } from 'antd'; import './content.less'; import { getTime } from '../../../../tools'; import Intellectual from './intellectual'; import Activity from './activity'; import Standard from './standard'; import ActivityCostList from './activityCostList'; import TechProduct from './techProduct'; import Ratepay from './ratepay'; import Finance from './finance'; import Achievement from './achievement'; import HonorList from './honorList'; import OrgTechCenter from './orgTechCenter'; import InnovationAbility from './ablt'; import HrSituation from './hrSituation'; const Content = React.createClass({ getInitialState() { return { loading: false, radioKey: 'hrSituation', }; }, componentWillMount() { }, returnFoster() { this.props.returnBtn(); }, onChange(e) { this.setState({ radioKey: e.target.value }); }, render() { if (this.props.data) { return (
{this.props.data.unitName} {this.props.data.certificateNumber || ''} {this.props.data.issuingDate ? 有效期 {getTime(this.props.data.issuingDate)} 至 {getTime(this.props.data.issuingDate, 36)} : '' }
技术中心 研发活动 研发活动费用详情 高新技术产品 知识产权 科技成果转化 企业纳税申报 财务报表 企业人员情况 企业荣誉及其他证明材料 标准制定情况 企业创新能力
{(() => { switch (this.state.radioKey) { case 'orgTechCenter': return ; case 'activity': return ; case 'activityCostList': return ; case 'techProduct': return ; case 'intellectual': return ; case 'achievement': return ; case 'ratepay': return ; case 'finance': return ; case 'hrSituation': return ; case 'honorList': return ; case 'standard': return ; case 'innovationAbility': return ; }; })()}
) } else { return (
) } } }); export default Content;