From 9ae015934e7621bb9d02deddf27a7a9abc1e3819 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 21 三月 2025 14:47:42 +0800
Subject: [PATCH] 数据分析显示预警信息调度建议

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

diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index 5de3d74..c47f1a7 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -72,6 +72,7 @@
     path: '/',
     component: Layout,
     name: 'Home',
+    redirect: '/index',
     meta: {
       hidden: true,
       noTagsView: true
@@ -287,6 +288,18 @@
         }
       },
       {
+        path: 'manager/simple/model',
+        component: () => import('@/views/bpm/simple/SimpleModelDesign.vue'),
+        name: 'SimpleModelDesign',
+        meta: {
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          title: '仿钉钉设计流程',
+          activeMenu: '/bpm/manager/model'
+        }
+      },
+      {
         path: 'manager/definition',
         component: () => import('@/views/bpm/definition/index.vue'),
         name: 'BpmProcessDefinition',
@@ -308,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',
@@ -332,6 +350,30 @@
           canTo: true,
           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'
         }
       }
     ]
@@ -405,6 +447,29 @@
       }
     ]
   },
+  {
+    path: '/matlab',
+    component: Layout,
+    name: 'matlab',
+    meta: {
+      hidden: true
+    },
+    children: [
+      {
+        path: 'model/form/:id?',
+        component: () => import('@/views/model/matlab/model/MatlabModelForm.vue'),
+        name: 'MatlabModelForm',
+        meta: {
+          title: 'Matlab模型表单',
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          icon: '',
+          activeMenu: '/matlab/model'
+        }
+      }
+    ]
+  },
 ]
 
 export default remainingRouter

--
Gitblit v1.9.3