From d2a80d7b57325bb29eb8719111ea12d3b5b0ae6e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 16 七月 2026 10:34:22 +0800
Subject: [PATCH] 银川 1.采购申请页面修改 2.添加在线查看附件预览功能 3.修改我的流程页面展示样式流程状态点击报错问题

---
 src/router/routes/modules/bpm.ts |   39 ++++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/src/router/routes/modules/bpm.ts b/src/router/routes/modules/bpm.ts
index bd4a7a2..c97f4d7 100644
--- a/src/router/routes/modules/bpm.ts
+++ b/src/router/routes/modules/bpm.ts
@@ -2,6 +2,26 @@
 
 const routes: RouteRecordRaw[] = [
   {
+    path: '/bpm/process-instance/detail',
+    component: () => import('#/views/bpm/processInstance/detail/index.vue'),
+    name: 'BpmProcessInstanceDetail',
+    meta: {
+      title: '娴佺▼璇︽儏',
+      activePath: '/bpm/task/my',
+      icon: 'ant-design:history-outlined',
+      keepAlive: false,
+      hideInMenu: true,
+      noBasicLayout: false,
+    },
+    props: (route) => {
+      return {
+        id: route.query.id,
+        taskId: route.query.taskId,
+        activityId: route.query.activityId,
+      };
+    },
+  },
+  {
     path: '/bpm',
     name: 'bpm',
     meta: {
@@ -9,25 +29,6 @@
       hideInMenu: true,
     },
     children: [
-      {
-        path: 'process-instance/detail',
-        component: () => import('#/views/bpm/processInstance/detail/index.vue'),
-        name: 'BpmProcessInstanceDetail',
-        meta: {
-          title: '娴佺▼璇︽儏',
-          activePath: '/bpm/task/my',
-          icon: 'ant-design:history-outlined',
-          keepAlive: false,
-          hideInMenu: true,
-        },
-        props: (route) => {
-          return {
-            id: route.query.id,
-            taskId: route.query.taskId,
-            activityId: route.query.activityId,
-          };
-        },
-      },
       {
         path: '/bpm/manager/form/edit',
         name: 'BpmFormEditor',

--
Gitblit v1.9.3