From beca65f4d01ca07c358102a35b949c2a4f277afe Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 24 五月 2023 10:36:27 +0800 Subject: [PATCH] 增加车间监控界面 --- src/router/routes/modules/dashboard.ts | 66 ++++++++++++++++---------------- 1 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/router/routes/modules/dashboard.ts b/src/router/routes/modules/dashboard.ts index d09e816..33d00f8 100644 --- a/src/router/routes/modules/dashboard.ts +++ b/src/router/routes/modules/dashboard.ts @@ -1,37 +1,37 @@ -import type { AppRouteModule } from '/@/router/types'; +import type { AppRouteModule } from '/@/router/types' -import { LAYOUT } from '/@/router/constant'; -import { t } from '/@/hooks/web/useI18n'; +import { t } from '/@/hooks/web/useI18n' +import { LAYOUT } from '/@/router/constant' const dashboard: AppRouteModule = { - path: '/dashboard', - name: 'Dashboard', - component: LAYOUT, - redirect: '/dashboard/analysis', - meta: { - orderNo: 10, - icon: 'ion:grid-outline', - title: t('routes.dashboard.dashboard'), - }, - children: [ - { - path: 'analysis', - name: 'Analysis', - component: () => import('/@/views/dashboard/Analysis/index.vue'), - meta: { - // affix: true, - title: t('routes.dashboard.analysis'), - }, - }, - { - path: 'workbench', - name: 'Workbench', - component: () => import('/@/views/dashboard/workbench/index.vue'), - meta: { - title: t('routes.dashboard.workbench'), - }, - }, - ], -}; + path: '/dashboard', + name: 'Dashboard', + component: LAYOUT, + redirect: '/dashboard/analysis', + meta: { + orderNo: 10, + icon: 'ion:grid-outline', + title: t('routes.dashboard.dashboard'), + }, + children: [ + { + path: 'analysis', + name: 'Analysis', + component: () => import('/@/views/dashboard/Analysis/index.vue'), + meta: { + // affix: true, + title: t('routes.dashboard.analysis'), + }, + }, + { + path: 'workbench', + name: 'Workbench', + component: () => import('/@/views/dashboard/workbench/index.vue'), + meta: { + title: t('routes.dashboard.workbench'), + }, + }, + ], +} -export default dashboard; +export default dashboard -- Gitblit v1.9.3