liting2017 лет назад: 6
Родитель
Сommit
9178d26bab

+ 3 - 2
js/admin/index/content.jsx

@@ -8,13 +8,13 @@ import BusinessCategory from '@/administration/business/businessCategory';
 import BusinessProject from '@/administration/business/businessProject';
 import News from '@/administration/news/newsList';
 import Policy from '@/administration/policy/policyList';
-import Order from '@/administration/order/order'
+import Order from '@/administration/order/order';
+import SystemMessage from '@/administration/messagePush/systemMessage'
 
 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 {
@@ -32,6 +32,7 @@ export default class ContentRouter extends React.Component {
             <Route path="/news" component={News} />
             <Route path="/policy" component={Policy} />
             <Route path="/order" component={Order} />
+            <Route path="/systemMessage" component={SystemMessage} />
         </Router>
       </Content>
     )

+ 1 - 1
js/admin/index/leftMenu.jsx

@@ -12,7 +12,7 @@ const LeftTab = React.createClass({
 			openKeys: [ 'sub1' ],
 			current: 'index',
 			switch: false,
-			rootSubmenuKeys :['sub1', 'sub2','sub3','sub4','sub5','sub6']
+			rootSubmenuKeys :['sub1', 'sub2','sub3','sub4','sub5','sub6','sub7']
 		};
 	},
 	menuClick(e) {

+ 8 - 0
js/admin/menu.jsx

@@ -52,6 +52,14 @@ module.exports = {
           { name: '咨询单管理', url: 'order' },
          
         ]
+      },
+      {
+        name: '系统消息管理',
+        url: 'sub7',
+        icon: 'notification',
+        children: [
+          { name: '系统消息', url: 'systemMessage' },
+        ]
       }
     ]
 }

+ 1 - 1
js/component/account/index/leftMenu.jsx

@@ -13,7 +13,7 @@ const LeftTab = React.createClass({
 			openKeys: [ 'sub1' ],
 			current: 'normal',
 			switch: false,
-			rootSubmenuKeys: [ 'sub1', 'sub2', 'sub3', 'sub4' ]
+			rootSubmenuKeys: [ 'sub1', 'sub2', 'sub3', 'sub4','sub5','sub6','sub7' ]
 		};
 	},
 	loadData() {

Разница между файлами не показана из-за своего большого размера
+ 1826 - 0
js/component/administration/messagePush/systemMessage.jsx