From ca22cdd5550cfa0defb0f430c538698182cdaec1 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 30 十二月 2024 16:42:49 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 src/router/modules/remaining.ts |  108 +++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 91 insertions(+), 17 deletions(-)

diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index 78cc3e8..6b64a95 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -1,4 +1,4 @@
-import { Layout } from '@/utils/routerHelper'
+import {Layout} from '@/utils/routerHelper'
 
 const { t } = useI18n()
 /**
@@ -50,12 +50,33 @@
       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'),
+    name: 'Home2',
+    meta: {
+      hidden: true,
+      noTagsView: true
+    },
+  },
   {
     path: '/',
     component: Layout,
-    redirect: '/index',
     name: 'Home',
-    meta: {},
+    redirect: '/index',
+    meta: {
+      hidden: true,
+      noTagsView: true
+    },
     children: [
       {
         path: 'index',
@@ -267,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,
@@ -300,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',
@@ -329,26 +355,74 @@
     ]
   },
   {
-    path: '/ai',
+    path: '/project',
     component: Layout,
-    name: 'Ai',
+    name: 'project',
     meta: {
       hidden: true
     },
     children: [
       {
-        path: 'image/square',
-        component: () => import('@/views/ai/image/square/index.vue'),
-        name: 'AiImageSquare',
+        path: 'package/history/:projectId',
+        component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'),
+        name: 'ProjectPackageHistory',
         meta: {
-          title: '绘图作品',
-          icon: 'ep:home-filled',
-          noCache: false,
-          affix: true
+          title: '打包历史',
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          icon: '',
+          activeMenu: '/model/project'
         }
       }
     ]
-  }
+  },
+  {
+    path: '/ind/data',
+    component: Layout,
+    name: 'dataSet',
+    meta: {
+      hidden: true
+    },
+    children: [
+      {
+        path: 'field/:dataSetId',
+        component: () => import('@/views/data/ind/data/field/index.vue'),
+        name: 'IndDataSetField',
+        meta: {
+          title: '数据集字段',
+          noCache: true,
+          hidden: true,
+          canTo: true,
+          icon: '',
+          activeMenu: '/data/ind/data'
+        }
+      }
+    ]
+  },
+  {
+    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