//管理员登录区域代码
import DemandLibrary from '@/administration/demand/techDemand';
import DemandExamine from '@/administration/demand/demandExamine';
import AdmianIndex from '@/administration/index/index';
import AchievementExamine from '@/administration/achievement/achievementExamine';
import AchievementLibrary from '@/administration/achievement/techAchievement';
import BusinessCategory from '@/administration/business/businessCategory';
import BusinessLibrary from '@/administration/business/businessLibrary';
import BusinessProject from '@/administration/business/businessProject';
import UserLibrary from '@/administration/business/userLibrary';
//新军邦
import MemberList from '@/administration/business/memberList';
import MemberPowerList from '@/administration/business/memberPowerList';
import TalentsList from '@/administration/business/talentsList';
import BuyList from '@/administration/business/buyList';
import CheckBuy from '@/administration/business/checkBuy';
import NewList from '@/administration/business/newList';
// 新闻列表
import FirmList from '@/administration/business/firmList';
import Activity from '@/administration/business/activity';

//新增新闻列表
import JzmList from '@/administration/business/jzmList';
import McjList from '@/administration/business/mcjList';
import CaseList from '@/administration/business/caseList';
import AdvertisementList from '@/administration/business/advertisementList';

//产品服务列表
import Proservlist from '@/administration/business/proservlist';
//访问客户列表
import Customers from "@/administration/business/customers";
//本站声明
import Statement from '@/administration/statement/setting';
//
import News from '@/administration/news/newsList';
import Policy from '@/administration/policy/policyList';
import Order from '@/administration/order/order';
import SystemMessage from '@/administration/messagePush/messageIn/systemMessage';
import SystemMessageOut from '@/administration/messagePush/messageOut/systemMessage';
import SystemMessagePhoto from '@/administration/messagePush/messagePhoto/systemMessage';
import Tags from '@/administration/tags/tags';
import AuthLibrary from '@/administration/authentication/techAuth';
import AuthExamine from '@/administration/authentication/authExamine';
import Banner from '@/administration/banner/banner';
import Vouchers from '@/administration/ticket/vouchers';
import Coupon from '@/administration/ticket/coupon';

import {hashHistory,Route,Router} from 'react-router';
import {Layout} from 'antd';
import '@/account/content.less';

const { Content } = Layout;

export default class ContentRouter extends React.Component {
    render() {
        return (
            <Content className="acc-content" id="content">
                <Router history={hashHistory}>
                    <Route path="/library" component={DemandLibrary} />
                    <Route path="/examine" component={DemandExamine} />
                    <Route path="/tags" component={Tags} />
                    {/* <Route path="/index" component={AdmianIndex} /> */}
                    <Route path="/index" component={AdvertisementList} />
                    <Route path="/achievementLibrary" component={AchievementLibrary} />
                    <Route path="/achievementExamine" component={AchievementExamine} />
                    <Route path="/businessCategory" component={BusinessCategory} />
                    <Route path="/businessLibrary" component={BusinessLibrary} />
                    <Route path="/businessProject" component={BusinessProject} />
                    <Route path="/memberList" component={MemberList} />
                    <Route path="/memberPowerList" component={MemberPowerList} />
                    <Route path="/talentsList" component={TalentsList} />
                    <Route path="/buyList" component={BuyList} />
                    <Route path="/checkBuy" component={CheckBuy} />
                    <Route path="/newList" component={NewList} />
                    <Route path="/firmList" component={FirmList} />
                    <Route path="/activity" component={Activity} />
                    <Route path="/jzmList" component={JzmList} />
                    <Route path="/mcjList" component={McjList} />
                    <Route path="/caseList" component={CaseList} />
                    <Route path="/advertisementList" component={AdvertisementList} />
                    {/* 产品 */}
                    <Route path="/proservlist" component={Proservlist} />
                    <Route path="/customers" component={Customers} />
                    {/* 本站说明 */}
                    <Route path="/statement" component={Statement} />

                    <Route path="/userLibrary" component={UserLibrary} />
                    <Route path="/authLibrary" component={AuthLibrary} />
                    <Route path="/authExamine" component={AuthExamine} />
                    <Route path="/news" component={News} />
                    <Route path="/policy" component={Policy} />
                    <Route path="/order" component={Order} />
                    <Route path="/systemMessage" component={SystemMessage} />
                    <Route path="/systemMessageOut" component={SystemMessageOut} />
                    <Route path="/systemMessagePhoto" component={SystemMessagePhoto} />
                    <Route path="/banner" component={Banner} />
                    <Route path="/vouchers" component={Vouchers} />
                    <Route path="/coupon" component={Coupon} />
                </Router>
            </Content>
        );
    }
}
