|
|
@@ -14,6 +14,7 @@ const MachineHost = () => import('views/devops/machine/MachineHost')
|
|
|
const AliyunKey = () => import('views/devops/machine/AliyunKey')
|
|
|
const Docker = () => import('views/devops/machine/Docker')
|
|
|
const MachineProc = () => import('views/devops/machine/MachineProc')
|
|
|
+const MachineEvent = () => import('views/devops/machine/MachineEvent')
|
|
|
// build
|
|
|
const BuildDir = () => import('views/devops/build/BuildDir')
|
|
|
const RepoAuth = () => import('views/devops/build/RepoAuth')
|
|
|
@@ -107,6 +108,14 @@ export default {
|
|
|
icon: 'el-icon-s-data',
|
|
|
component: MachineProc,
|
|
|
meta: { needAuth: true, roles: ['devops_admin'] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/bg/machine/event',
|
|
|
+ name: 'MachineEvent',
|
|
|
+ title: '机器事件',
|
|
|
+ icon: 'el-icon-s-data',
|
|
|
+ component: MachineEvent,
|
|
|
+ meta: { needAuth: true, roles: ['devops_admin'] }
|
|
|
}
|
|
|
]
|
|
|
},
|