feat: 补充新项目hx-op

This commit is contained in:
xuziqiang
2024-06-07 15:11:04 +08:00
parent a0f5c4de08
commit fc940e7241
64 changed files with 28632 additions and 7 deletions

29
hx-op/src/router/home.ts Normal file
View File

@@ -0,0 +1,29 @@
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const home = {
path: '/home',
name: 'home',
meta: { title: '首页', icon: 'dicizhishou', index: 0, hideChildren: true },
redirect: { name: 'homeIndex' },
children: [
{
path: 'homeModule',
name: 'HomeModule',
meta: { title: '首页', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'homeIndex' },
children: [
{
path: 'index',
name: 'homeIndex',
component: () => import('/@/view/developing.vue'),
meta: {
title: '首页',
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default home;

11
hx-op/src/router/index.ts Normal file
View File

@@ -0,0 +1,11 @@
/** @format */
const RootRoute = {
path: '/',
name: 'root',
redirect: { name: 'home' },
meta: {
title: 'Root',
},
};
export default RootRoute;

View File

@@ -0,0 +1,29 @@
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const organizationManage = {
path: '/organizationManage',
name: 'organizationManage',
meta: { title: '企业管理', icon: 'dicizhishou', index: 99, hideChildren: true },
redirect: { name: 'EnterpriseManage' },
children: [
{
path: 'enterpriseManage',
name: 'EnterpriseManage',
meta: { title: '企业管理', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'EnterpriseManageIndex' },
children: [
{
path: 'index',
name: 'EnterpriseManageIndex',
component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'),
meta: {
title: '企业管理',
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default organizationManage;