Untitled

 avatar
unknown
plain_text
5 months ago
1.6 kB
2
Indexable
import React from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import { AdminPage, FormCheckbox, FormSelect, FormTabs, renderDataTable, TableCell, TableHead } from 'view/component/AdminPage';
import TraCuuThoiKhoaBieu from './section/tra-cuu-thoi-khoa-bieu';
import QuanLyBu from './section/quan-ly-bu';
class SdhQuanLyNghiBuHP extends AdminPage {

    componentDidMount() {

    }


    render() {
        const traCuuThoiKhoaBieu = {
            key: 'ttThoiKhoaBieu', title: 'Tra cứu thời khóa biểu', component: <TraCuuThoiKhoaBieu />
        };
        // const quanLyBu = {
        //     key: 'quanLyBu', title: 'Quản lý tuần học', component: <QuanLyBu />
        // };
        const tabs = [traCuuThoiKhoaBieu];
        return this.renderPage({
            icon: 'fa fa-calendar',
            title: 'Điều chỉnh học phần',
            breadcrumb: [
                <Link key={0} to='/user/sau-dai-hoc'>Sau đại học</Link>,
                <Link key={1} to='/user/sau-dai-hoc/thoi-khoa-bieu'>Thời khóa biểu</Link>,
                'Điều chỉnh học phần'
            ],
            content: <>
                <div className='tile'>
                    <FormTabs tabs={tabs} />
                </div>
            </>,
            backRoute: '/user/sau-dai-hoc/thoi-khoa-bieu',

        });
    }
}

const mapStateToProps = state => ({ system: state.system, sdhQuanLyNghiBuHP: state.sdh.sdhQuanLyNghiBuHP });
const mapActionsToProps = {};
export default connect(mapStateToProps, mapActionsToProps)(SdhQuanLyNghiBuHP);
Editor is loading...
Leave a Comment