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/types.ts |   65 ++++++++++++++++----------------
 1 files changed, 32 insertions(+), 33 deletions(-)

diff --git a/src/router/types.ts b/src/router/types.ts
index 5be6ce6..f94f7d9 100644
--- a/src/router/types.ts
+++ b/src/router/types.ts
@@ -1,59 +1,58 @@
-import type { RouteRecordRaw, RouteMeta } from 'vue-router';
-import { RoleEnum } from '/@/enums/roleEnum';
-import { defineComponent } from 'vue';
+import { defineComponent } from 'vue'
+import type { RouteMeta, RouteRecordRaw } from 'vue-router'
+import { RoleEnum } from '/@/enums/roleEnum'
 
-export type Component<T extends any = any> = ReturnType<typeof defineComponent> | (() => Promise<typeof import('*.vue')>) | (() => Promise<T>);
+export type Component<T extends any = any> = ReturnType<typeof defineComponent> | (() => Promise<typeof import('*.vue')>) | (() => Promise<T>)
 
 // @ts-ignore
 export interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
-  name: string;
-  meta: RouteMeta;
-  component?: Component | string;
-  components?: Component;
-  children?: AppRouteRecordRaw[];
-  props?: Recordable;
-  fullPath?: string;
-  alwaysShow?: boolean;
+	name: string
+	meta: RouteMeta
+	component?: Component | string
+	components?: Component
+	children?: AppRouteRecordRaw[]
+	props?: Recordable
+	fullPath?: string
+	alwaysShow?: boolean
 }
 
 export interface MenuTag {
-  type?: 'primary' | 'error' | 'warn' | 'success';
-  content?: string;
-  dot?: boolean;
+	type?: 'primary' | 'error' | 'warn' | 'success'
+	content?: string
+	dot?: boolean
 }
 
 export interface Menu {
-  name: string;
+	name: string
 
-  icon?: string;
+	icon?: string
 
-  path: string;
+	path: string
 
-  // path contains param, auto assignment.
-  paramPath?: string;
+	// path contains param, auto assignment.
+	paramPath?: string
 
-  disabled?: boolean;
+	disabled?: boolean
 
-  children?: Menu[];
+	children?: Menu[]
 
-  orderNo?: number;
+	orderNo?: number
 
-  roles?: RoleEnum[];
+	roles?: RoleEnum[]
 
-  meta?: Partial<RouteMeta>;
+	meta?: Partial<RouteMeta>
 
-  tag?: MenuTag;
+	tag?: MenuTag
 
-  hideMenu?: boolean;
-  
-  alwaysShow?: boolean;
-  
+	hideMenu?: boolean
+
+	alwaysShow?: boolean
 }
 
 export interface MenuModule {
-  orderNo?: number;
-  menu: Menu;
+	orderNo?: number
+	menu: Menu
 }
 
 // export type AppRouteModule = RouteModule | AppRouteRecordRaw;
-export type AppRouteModule = AppRouteRecordRaw;
+export type AppRouteModule = AppRouteRecordRaw

--
Gitblit v1.9.3