1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //管理员登录区域代码
- 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 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 Video from '@/administration/video/videoList';
- import Product from '@/administration/product/proList';
- 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="/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="/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} />
- <Route path="/video" component={Video} />
- <Route path="/product" component={Product} />
- </Router>
- </Content>
- )
- }
- }
|