From e181f04c642204e79749af93fa921875ff6c21ba Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期二, 20 五月 2025 10:46:35 +0800
Subject: [PATCH] refactor(qms): 重构趋势图展示逻辑

---
 src/router/index.ts |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 6c12791..2ab09dd 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -176,6 +176,20 @@
         meta: { title: '璇峰亣鐢宠', activeMenu: '/workflow/leave', noCache: true }
       }
     ]
+  },
+  {
+    path: '/workflow/design',
+    component: Layout,
+    hidden: true,
+    permissions: ['workflow:leave:edit'],
+    children: [
+      {
+        path: 'index',
+        component: () => import('@/views/workflow/processDefinition/design.vue'),
+        name: 'design',
+        meta: { title: '娴佺▼璁捐', activeMenu: '/workflow/processDefinition', noCache: true }
+      }
+    ]
   }
 ];
 
@@ -189,9 +203,8 @@
   scrollBehavior(to, from, savedPosition) {
     if (savedPosition) {
       return savedPosition;
-    } else {
-      return { top: 0 };
     }
+    return { top: 0 };
   }
 });
 

--
Gitblit v1.9.3