From c9a6f7cbb5209415e626df29c7572cf40fe92b66 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 11:44:50 +0800
Subject: [PATCH] 1、工作流程功能优化,解决流程图模拟功能simulation不生效的bug 2、system menu等页面修改 3、Footer copyright年份修改为动态

---
 src/router/modules/remaining.ts |   72 +++++++++++++++++++++++++++++++++--
 1 files changed, 67 insertions(+), 5 deletions(-)

diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index 825f9f0..f603ca5 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -50,6 +50,15 @@
       noTagsView: true
     }
   },
+  // {
+  //   path: '/shasteel',
+  //   component: () => import('@/views/micro/index.vue'),
+  //   name: 'shasteel',
+  //   meta: {
+  //     hidden: true,
+  //     noTagsView: true
+  //   },
+  // },
   {
     path: '/home2',
     component: () => import('@/views/Home/Index2.vue'),
@@ -63,6 +72,7 @@
     path: '/',
     component: Layout,
     name: 'Home',
+    redirect: '/index',
     meta: {
       hidden: true,
       noTagsView: true
@@ -278,9 +288,9 @@
         }
       },
       {
-        path: 'manager/simple/workflow/model/edit',
-        component: () => import('@/views/bpm/simpleWorkflow/index.vue'),
-        name: 'SimpleWorkflowDesignEditor',
+        path: 'manager/simple/model',
+        component: () => import('@/views/bpm/simple/SimpleModelDesign.vue'),
+        name: 'SimpleModelDesign',
         meta: {
           noCache: true,
           hidden: true,
@@ -311,7 +321,12 @@
           canTo: true,
           title: '流程详情',
           activeMenu: '/bpm/task/my'
-        }
+        },
+        props: (route) => ({
+          id: route.query.id,
+          taskId: route.query.taskId,
+          activityId: route.query.activityId
+        })
       },
       {
         path: 'oa/leave/create',
@@ -336,6 +351,30 @@
           title: '查看 OA 请假',
           activeMenu: '/bpm/oa/leave'
         }
+      },
+      {
+        path: 'manager/model/create',
+        component: () => import('@/views/bpm/model/form/index.vue'),
+        name: 'BpmModelCreate',
+        meta: {
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          title: '创建流程',
+          activeMenu: '/bpm/manager/model'
+        }
+      },
+      {
+        path: 'manager/model/update/:id',
+        component: () => import('@/views/bpm/model/form/index.vue'),
+        name: 'BpmModelUpdate',
+        meta: {
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          title: '修改流程',
+          activeMenu: '/bpm/manager/model'
+        }
       }
     ]
   },
@@ -349,7 +388,7 @@
     children: [
       {
         path: 'package/history/:projectId',
-        component: () => import('@/views/mpk/ProjectPackageHistory.vue'),
+        component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'),
         name: 'ProjectPackageHistory',
         meta: {
           title: '打包历史',
@@ -385,6 +424,29 @@
       }
     ]
   },
+  {
+    path: '/file',
+    component: Layout,
+    name: 'file',
+    meta: {
+      hidden: true
+    },
+    children: [
+      {
+        path: 'form/:id?',
+        component: () => import('@/views/model/mpk/file/MpkForm.vue'),
+        name: 'MpkForm',
+        meta: {
+          title: 'MDK表单',
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          icon: '',
+          activeMenu: '/model/file'
+        }
+      }
+    ]
+  },
 ]
 
 export default remainingRouter

--
Gitblit v1.9.3