Browse Source

添加接口管理模块

dev
dengyinhuan 2 years ago
parent
commit
ff1f9a0827
  1. BIN
      web/client/assets/images/jiekou.png
  2. 3
      web/client/src/sections/fillion/containers/index.js
  3. 9
      web/client/src/sections/fillion/containers/jiekouguanli.js
  4. 3
      web/client/src/sections/fillion/nav-item.js
  5. 8
      web/client/src/sections/fillion/routes.js

BIN
web/client/assets/images/jiekou.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

3
web/client/src/sections/fillion/containers/index.js

@ -12,4 +12,5 @@ import PromoTional from './promotional';
import Maintenance from './maintenance';
import Patrol from './patrol';
import File from './file';
export { Infor,transportation,BridgeTable,HigHways,OperaTional,Enforce,Public,Videois,PromoTional,Maintenance,Patrol,File};
import Jiekouguanli from './jiekouguanli';
export { Infor,transportation,BridgeTable,HigHways,OperaTional,Enforce,Public,Videois,PromoTional,Maintenance,Patrol,File,Jiekouguanli};

9
web/client/src/sections/fillion/containers/jiekouguanli.js

@ -0,0 +1,9 @@
import React from 'react'
export default function Jiekouguanli() {
return (
<div>
<img src='/assets/images/jiekou.png' style={{width:'100%'}}></img>
</div>
)
}

3
web/client/src/sections/fillion/nav-item.js

@ -38,6 +38,9 @@ export function getNavItem(user, dispatch) {
<Menu.Item key="fillionvideois">
<Link to="/fillion/videois">视频管理</Link>
</Menu.Item>
<Menu.Item key="jiekouguanli">
<Link to="/fillion/jiekouguanli">接口管理</Link>
</Menu.Item>
<Menu.Item key="fillionpromotional">
<Link to="/fillion/promotional">宣传视频</Link>
</Menu.Item>

8
web/client/src/sections/fillion/routes.js

@ -11,6 +11,7 @@ import { PromoTional } from './containers';
import { Maintenance } from './containers'
import { Patrol } from './containers'
import { File } from './containers';
import {Jiekouguanli} from './containers'
export default [{
type: 'inner',
route: {
@ -89,6 +90,13 @@ export default [{
menuSelectKeys: ['fillionvideois'],
component: Videois,
breadcrumb: '视频管理',
},
{
path: '/jiekouguanli',
key: 'jiekouguanli',
menuSelectKeys: ['jiekouguanli'],
component: Jiekouguanli,
breadcrumb: '接口管理',
}
, {
path: '/promotional',

Loading…
Cancel
Save