From 9529220c815bfe6e43c992fde2f392be823450eb Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期二, 11 十一月 2025 20:27:33 +0800
Subject: [PATCH] feat:增加天地图接口,并增加车辆GPS统计
---
ruoyi-ui/src/router/index.js | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index 10ccd84..f7295cf 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -118,11 +118,12 @@
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}
+ hidden: true,
+ meta: { title: '杞﹁締杞ㄨ抗', showMenu: false, icon: 'map' ,anonymous: true}
},
{
path: '/payInfoTest',
@@ -135,6 +136,14 @@
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: '鍒涘缓浠诲姟' }
}
]
@@ -209,6 +218,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' }
+ }
+ ]
}
]
@@ -225,7 +248,7 @@
}
export default new Router({
- mode: 'history', // 鍘绘帀url涓殑#
+ mode: 'history', // 浣跨敤history妯″紡,URL鏇寸編瑙�
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})
--
Gitblit v1.9.1