Browse Source

11482-【CR】【投资系统】增加审批流程-投资机会和项目立项前端路由

hxy 3 months ago
parent
commit
65380a3c53
1 changed files with 77 additions and 0 deletions
  1. 77 0
      ruoyi-ui/src/router/index.js

+ 77 - 0
ruoyi-ui/src/router/index.js

@@ -67,6 +67,83 @@ export const constantRoutes = [
   //   name: "Home",
   //   name: "Home",
   //   hidden: true
   //   hidden: true
   // },
   // },
+  {
+    path: '/project',
+    component: Layout,
+    hidden: true,
+    // redirect: 'noredirect',
+    children: [
+      //投资机会
+      {
+        path: 'investOpp/edit',
+        name: 'investOppEdit',
+        component: () => import('@/views/project/investOpp/edit'),
+        meta: { title: '修改投资机会' }
+      },
+      {
+        path: "investOpp/audit",
+        name: 'investOppAudit',
+        component: () => import('@/views/project/investOpp/audit'),
+        meta: { title: '审批投资机会' }
+      },
+      {
+        path: 'investOpp/detail',
+        name: 'investOppDetail',
+        component: () => import('@/views/project/investOpp/detail'),
+        meta: { title: '投资机会详情' }
+      },
+      //项目立项
+      {
+        path: "approval/edit",
+        name: 'approvalEdit',
+        component: () => import('@/views/project/approval/edit'),
+        meta: { title: '修改项目立项' }
+      },
+      {
+        path: "approval/audit",
+        name: 'approvalAudit',
+        component: () => import('@/views/project/approval/audit'),
+        meta: { title: '审批项目立项' }
+      },
+      {
+        path: "approval/detail",
+        name: 'approvalDetail',
+        component: () => import('@/views/project/approval/detail'),
+        meta: { title: '项目立项详情' }
+      },
+      // {
+      //   path: "record/index",
+      //   name: 'investRecordIndex',
+      //   component: () => import('@/views/invest/record/index')
+      // },
+      // {
+      //   path: "channel/index",
+      //   name: 'investChannelIndex',
+      //   component: () => import('@/views/invest/channel/index')
+      // },
+      // {
+      //   path: "contract/index",
+      //   name: 'investContractIndex',
+      //   component: () => import('@/views/invest/contract/index')
+      // },
+      // {
+      //   path: "meeting/index",
+      //   name: 'investMeetingmpanyctsIndex',
+      //   component: () => import('@/views/invest/meeting/index')
+      // },
+      // {
+      //   path: "meeting/mark",
+      //   name: 'investMeetingmpanyctsMark',
+      //   component: () => import('@/views/invest/meeting/mark'),
+      //   meta: { title: '会议数据' }
+      // },
+      // {
+      //   path: 'information/index',
+      //   component: () => import('@/views/invest/information/index'),
+      //   name: 'investInformationIndex',
+      // }
+    ]
+  },
   {
   {
     path: '/invest',
     path: '/invest',
     component: Layout,
     component: Layout,