From 62a079a15b46925283581f6caaf631b5a4558927 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期三, 24 九月 2025 11:00:10 +0800
Subject: [PATCH] feat: 初始化app

---
 ruoyi-ui/src/router/index.js |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index 71907b6..0a18af8 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -52,6 +52,12 @@
     hidden: true
   },
   {
+    path: '/system/order/anonymous',
+    component: () => import('@/views/system/serviceOrder/anonymous'),
+    hidden: true,
+    meta: { title: '鍖垮悕璁㈠崟鏌ョ湅', icon: 'eye',anonymous: true }
+  },
+  {
     path: '/404',
     component: () => import('@/views/error/404'),
     hidden: true
@@ -87,6 +93,44 @@
         meta: { title: '涓汉涓績', icon: 'user' }
       }
     ]
+  },
+  {
+    path: '/order/detail/:id',
+    component: () => import('@/views/system/order/detail'),
+    name: 'OrderDetail',
+    hidden: true,
+    meta: { title: '璁㈠崟璇︽儏椤�', anonymous: true }
+  },
+  {
+    path: '/anonymous/test',
+    component: () => import('@/views/anonymous/test'),
+    hidden: true,
+    meta: { title: '鍖垮悕璁块棶娴嬭瘯', anonymous: true }
+  },{
+    path: '/system/gps/map',
+    component: () => import('@/views/system/gps/map'),
+    name: 'GpsMap',
+    meta: { title: '杞﹁締杞ㄨ抗', icon: 'map' ,anonymous: true}
+  },
+  {
+    path: '/payInfoTest',
+    component: (resolve) => require(['@/views/system/payInfoTest/index'], resolve),
+    hidden: true,
+    meta: { title: '鏀粯淇℃伅娴嬭瘯', anonymous: true }
+  }
+  ,{
+    path: '/system/gps/mapNeed',
+    component: () => import('@/views/system/gps/mapNeed'),
+    name: 'GpsMapNeed',
+    meta: { title: '杞﹁締杞ㄨ抗', icon: 'map' }
+  },
+  
+  {
+    path: '/h5/task_create',
+    component: () => import('@/views/task/h5/create'),
+    hidden: false,
+    name: 'H5TaskCreate',
+    meta: { title: '鍒涘缓浠诲姟' }
   }
 ]
 
@@ -161,6 +205,20 @@
         meta: { title: '淇敼鐢熸垚閰嶇疆', activeMenu: '/tool/gen' }
       }
     ]
+  },
+  {
+    path: '/task/general-detail',
+    component: Layout,
+    hidden: true,
+    permissions: ['task:general:query'],
+    children: [
+      {
+        path: 'index/:taskId(\\d+)',
+        component: () => import('@/views/task/general/detail'),
+        name: 'TaskDetail',
+        meta: { title: '浠诲姟璇︽儏', activeMenu: '/task/general' }
+      }
+    ]
   }
 ]
 
@@ -177,7 +235,7 @@
 }
 
 export default new Router({
-  mode: 'history', // 鍘绘帀url涓殑#
+  mode: 'hash', // 浣跨敤hash妯″紡锛屽吋瀹规�ф洿濂�
   scrollBehavior: () => ({ y: 0 }),
   routes: constantRoutes
 })

--
Gitblit v1.9.1