content.jsx 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. //管理员登录区域代码
  2. import DemandLibrary from '@/administration/demand/techDemand';
  3. import DemandExamine from '@/administration/demand/demandExamine';
  4. import AdmianIndex from '@/administration/index/index';
  5. import AchievementExamine from '@/administration/achievement/achievementExamine';
  6. import AchievementLibrary from '@/administration/achievement/techAchievement';
  7. import BusinessCategory from '@/administration/business/businessCategory';
  8. import BusinessLibrary from '@/administration/business/businessLibrary';
  9. import BusinessProject from '@/administration/business/businessProject';
  10. import UserLibrary from '@/administration/business/userLibrary';
  11. //新军邦
  12. import MemberList from '@/administration/business/memberList';
  13. import MemberPowerList from '@/administration/business/memberPowerList';
  14. import TalentsList from '@/administration/business/talentsList';
  15. import BuyList from '@/administration/business/buyList';
  16. import CheckBuy from '@/administration/business/checkBuy';
  17. import NewList from '@/administration/business/newList';
  18. // 新闻列表
  19. import FirmList from '@/administration/business/firmList';
  20. import Activity from '@/administration/business/activity';
  21. //新增新闻列表
  22. import JzmList from '@/administration/business/jzmList';
  23. import McjList from '@/administration/business/mcjList';
  24. import CaseList from '@/administration/business/caseList';
  25. import AdvertisementList from '@/administration/business/advertisementList';
  26. //产品服务列表
  27. import Proservlist from '@/administration/business/proservlist';
  28. //访问客户列表
  29. import Customers from "@/administration/business/customers";
  30. //
  31. import News from '@/administration/news/newsList';
  32. import Policy from '@/administration/policy/policyList';
  33. import Order from '@/administration/order/order';
  34. import SystemMessage from '@/administration/messagePush/messageIn/systemMessage';
  35. import SystemMessageOut from '@/administration/messagePush/messageOut/systemMessage';
  36. import SystemMessagePhoto from '@/administration/messagePush/messagePhoto/systemMessage';
  37. import Tags from '@/administration/tags/tags';
  38. import AuthLibrary from '@/administration/authentication/techAuth';
  39. import AuthExamine from '@/administration/authentication/authExamine';
  40. import Banner from '@/administration/banner/banner';
  41. import Vouchers from '@/administration/ticket/vouchers';
  42. import Coupon from '@/administration/ticket/coupon';
  43. import {hashHistory,Route,Router} from 'react-router';
  44. import {Layout} from 'antd';
  45. import '@/account/content.less';
  46. const { Content } = Layout;
  47. export default class ContentRouter extends React.Component {
  48. render() {
  49. return (
  50. <Content className="acc-content" id="content">
  51. <Router history={hashHistory}>
  52. <Route path="/library" component={DemandLibrary} />
  53. <Route path="/examine" component={DemandExamine} />
  54. <Route path="/tags" component={Tags} />
  55. {/* <Route path="/index" component={AdmianIndex} /> */}
  56. <Route path="/index" component={AdvertisementList} />
  57. <Route path="/achievementLibrary" component={AchievementLibrary} />
  58. <Route path="/achievementExamine" component={AchievementExamine} />
  59. <Route path="/businessCategory" component={BusinessCategory} />
  60. <Route path="/businessLibrary" component={BusinessLibrary} />
  61. <Route path="/businessProject" component={BusinessProject} />
  62. <Route path="/memberList" component={MemberList} />
  63. <Route path="/memberPowerList" component={MemberPowerList} />
  64. <Route path="/talentsList" component={TalentsList} />
  65. <Route path="/buyList" component={BuyList} />
  66. <Route path="/checkBuy" component={CheckBuy} />
  67. <Route path="/newList" component={NewList} />
  68. <Route path="/firmList" component={FirmList} />
  69. <Route path="/activity" component={Activity} />
  70. <Route path="/jzmList" component={JzmList} />
  71. <Route path="/mcjList" component={McjList} />
  72. <Route path="/caseList" component={CaseList} />
  73. <Route path="/advertisementList" component={AdvertisementList} />
  74. {/* 产品 */}
  75. <Route path="/proservlist" component={Proservlist} />
  76. <Route path="/customers" component={Customers} />
  77. <Route path="/userLibrary" component={UserLibrary} />
  78. <Route path="/authLibrary" component={AuthLibrary} />
  79. <Route path="/authExamine" component={AuthExamine} />
  80. <Route path="/news" component={News} />
  81. <Route path="/policy" component={Policy} />
  82. <Route path="/order" component={Order} />
  83. <Route path="/systemMessage" component={SystemMessage} />
  84. <Route path="/systemMessageOut" component={SystemMessageOut} />
  85. <Route path="/systemMessagePhoto" component={SystemMessagePhoto} />
  86. <Route path="/banner" component={Banner} />
  87. <Route path="/vouchers" component={Vouchers} />
  88. <Route path="/coupon" component={Coupon} />
  89. </Router>
  90. </Content>
  91. );
  92. }
  93. }