|
|
@@ -103,29 +103,29 @@ export const adminRoutes: Array<RouteRecordRaw> = [
|
|
|
// perm:'admin'
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
- path: '/admin/org',
|
|
|
- name: 'adminOrg',
|
|
|
+ path: '/admin/station',
|
|
|
+ name: 'adminStation',
|
|
|
component: () => import('/@/layout/routerView/parent.vue'),
|
|
|
- redirect: '/admin/org/department',
|
|
|
+ redirect: '/admin/station/list',
|
|
|
meta: {
|
|
|
- title: '机构管理',
|
|
|
+ title: '电站电桩',
|
|
|
isLink: '',
|
|
|
isHide: false,
|
|
|
isKeepAlive: true,
|
|
|
isAffix: false,
|
|
|
isIframe: false,
|
|
|
-
|
|
|
icon: 'ele-Menu',
|
|
|
color: 'yellow'
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: '/admin/org/department',
|
|
|
- name: 'orgDepartment',
|
|
|
- component: () => import('/@/views/admin/department/index.vue'),
|
|
|
+ path: '/admin/station/list',
|
|
|
+ name: 'adminStationList',
|
|
|
+ component: () => import('/@/views/admin/station/list/index.vue'),
|
|
|
meta: {
|
|
|
- title: '组织机构',
|
|
|
+ title: '电站监控',
|
|
|
isLink: '',
|
|
|
isHide: false,
|
|
|
isKeepAlive: true,
|
|
|
@@ -135,12 +135,116 @@ export const adminRoutes: Array<RouteRecordRaw> = [
|
|
|
icon: 'ele-OfficeBuilding',
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/admin/station/endpoint',
|
|
|
+ name: 'adminStationEndpoint',
|
|
|
+ component: () => import('/@/views/admin/station/endpoint/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '电桩监控',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+
|
|
|
+ icon: 'ele-User',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/station/stat',
|
|
|
+ name: 'adminStationStat',
|
|
|
+ component: () => import('/@/views/admin/station/stat/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '营收概览',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+
|
|
|
+ icon: 'ele-Compass',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/marketing',
|
|
|
+ name: 'adminMarketing',
|
|
|
+ component: () => import('/@/views/admin/marketing/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '营销活动',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+ icon: 'ele-ChatRound',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/ordering',
|
|
|
+ name: 'adminOrdering',
|
|
|
+ component: () => import('/@/views/admin/ordering/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '订单管理',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+ icon: 'ele-ChatRound',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/account',
|
|
|
+ name: 'adminAccount',
|
|
|
+ component: () => import('/@/views/admin/account/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户列表',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+ icon: 'ele-ChatRound',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/finance',
|
|
|
+ name: 'adminFinance',
|
|
|
+ component: () => import('/@/views/admin/finance/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '财务管理',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+ icon: 'ele-ChatRound',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/admin/org',
|
|
|
+ name: 'adminOrg',
|
|
|
+ component: () => import('/@/layout/routerView/parent.vue'),
|
|
|
+ redirect: '/admin/org/department',
|
|
|
+ meta: {
|
|
|
+ title: '系统配置',
|
|
|
+ isLink: '',
|
|
|
+ isHide: false,
|
|
|
+ isKeepAlive: true,
|
|
|
+ isAffix: false,
|
|
|
+ isIframe: false,
|
|
|
+ icon: 'ele-Menu',
|
|
|
+ color: 'yellow'
|
|
|
+ },
|
|
|
+ children: [
|
|
|
{
|
|
|
path: '/admin/org/user',
|
|
|
name: 'orgUser',
|
|
|
component: () => import('/@/views/admin/user/index.vue'),
|
|
|
meta: {
|
|
|
- title: '成员用户',
|
|
|
+ title: '运维用户',
|
|
|
isLink: '',
|
|
|
isHide: false,
|
|
|
isKeepAlive: true,
|
|
|
@@ -167,7 +271,7 @@ export const adminRoutes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
+ /*{
|
|
|
path: '/admin/config',
|
|
|
name: 'adminConfig',
|
|
|
component: () => import('/@/layout/routerView/parent.vue'),
|
|
|
@@ -214,7 +318,7 @@ export const adminRoutes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
},
|
|
|
]
|
|
|
- },
|
|
|
+ },*/
|
|
|
{
|
|
|
path: '/admin/optList',
|
|
|
name: 'adminOptList',
|
|
|
@@ -231,22 +335,7 @@ export const adminRoutes: Array<RouteRecordRaw> = [
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- path: '/admin/errorList',
|
|
|
- name: 'adminErrorList',
|
|
|
- component: () => import('/@/views/admin/log/error/index.vue'),
|
|
|
- meta: {
|
|
|
- title: '错误日志',
|
|
|
- isLink: '',
|
|
|
- isHide: false,
|
|
|
- isKeepAlive: true,
|
|
|
- isAffix: false,
|
|
|
- isIframe: false,
|
|
|
|
|
|
- icon: 'ele-Bell',
|
|
|
- color: 'red'
|
|
|
- }
|
|
|
- }
|
|
|
],
|
|
|
},
|
|
|
|