/*
 * Creator:     ML
 * CreatDate:   2019-10-24
 * descripts：  术语集数据维护（国家、地区、国家地区对照表）
 * */
import React from 'react';
import {Card, Tabs, Divider} from 'antd';
import './style/index.less';
import TerminologyNational from './component/TerminologyNational.jsx'; // 国家术语集
import TerminologyRegional from './component/TerminologyRegional.jsx'; // 地区术语集
import TerminologyNaAndReg from './component/TerminologyNaAndReg.jsx'; //国家地区术语对照

const TabPane = Tabs.TabPane;

class TerminologySetTabs extends React.Component {
    constructor(props) {
        super(props)
        var userData = JSON.parse(sessionStorage.getItem('userData'))
        this.state = {
            dataSource: [],
            total: 0,
            page: 1,
            pageSize: 10,
            userData: userData,
        }
    }
    componentDidMount() {
    }
    render() {
        return <div className='outpatient-station-body' style={{ height: '100%' }}>
            <Tabs type="card" className='patient-tab-body' size='small' >
                <TabPane tab={<span>国家术语集</span>} key="1">
                    <TerminologyNational />
                </TabPane>
                <TabPane tab={<span>地区术语集</span>} key="2">
                    <TerminologyRegional />
                </TabPane>
                <TabPane tab={<span>国家地区术语对照表</span>} key="3">
                    <TerminologyNaAndReg />
                </TabPane>
            </Tabs>
        </div>
    }
}
export default TerminologySetTabs;