import * as React from 'react'; import { Tabs } from 'kts-components-antd-x4'; import Icon from '@ant-design/icons'; import { ReactComponent as Back } from './icon/backIcon.svg'; import { PageHeaderTop, Button, PageHeaderFoot } from 'kts-xui'; import { InfoCircleOutlined, NotificationOutlined, PayCircleOutlined, WarningOutlined, ExceptionOutlined, FormOutlined, CopyOutlined } from '@ant-design/icons'; import { withRouter, RouteChildrenProps } from 'react-router-dom'; import InfoGS from './UI.InfoGS/index'; import TaxCreditRate from './UI.TaxCreditRate/index' import AbnormalManage from './UI.AbnormalManage/index' import Punishmentinfo from './UI.Punishmentinfo/index' import Lawsuit from './UI.Lawsuit/index'; import Taxcontravention from './UI.Taxcontravention/index' import OwnTax from './UI.OwnTax/index' import { Switch, Route, MemoryRouter } from 'react-router-dom'; import './index.less'; class UIComponents extends React.Component { constructor(props) { super(props); this.state = { tab: '1', companyName: (this.props.match?.params as any)?.company }; } onChange = (key) => { const { id = 0, company } = this.props.match?.params as any; this.props.history.push(`/task/risk/company/detail/${id}/${company}/${key}`) } goBack = () => { this.props.history.push('/task/list/echart') } render() { const { tab = '1', id = 0 } = this.props.match?.params as any; const { companyName } = this.state; return (
{/*
*/} } onClick={this.goBack}>} tabs={[ { tab:
工商信息
, tabKey: '1', children: }, { tab:
税务评级
, tabKey: '2', children: }, { tab:
经营异常
, tabKey: '3', children: }, { tab:
行政处罚
, tabKey: '4', children: }, { tab:
法律诉讼
, tabKey: '5', children: }, { tab:
税收违法
, tabKey: '6', children: }, { tab:
欠税公告
, tabKey: '7', children: }, ]} /> {/* 工商信息} key="1"> 税务评级} key="2"> 经营异常} key="3"> 行政处罚} key="4"> 法律诉讼} key="5"> 税收违法} key="6"> 欠税公告} key="7"> */}
) } } export default withRouter(UIComponents as any)