From 77cc3af3cea60471fb2d45ab5da10c4673a6f559 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期五, 18 四月 2025 13:23:31 +0800 Subject: [PATCH] 提交 --- common/router/modules/routes.js | 296 ++++++++++++++++++++++++++++++---------------------------- 1 files changed, 154 insertions(+), 142 deletions(-) diff --git a/common/router/modules/routes.js b/common/router/modules/routes.js index e3666dd..e899a9f 100644 --- a/common/router/modules/routes.js +++ b/common/router/modules/routes.js @@ -1,10 +1,9 @@ -const routes = [ - { - path: "/pages/login/login", - name: 'login', - meta: { - title: '鐧诲綍', - }, +const routes = [{ + path: "/pages/login/login", + name: 'login', + meta: { + title: '鐧诲綍', + }, }, { path: "/pages/login/loginOauth2", @@ -14,171 +13,184 @@ }, }, { - //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� - path: '/pages/index/index', - name: 'index', - meta: { - title: '涓婚〉', - }, - }, - { - //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� - path: '/pages/home/home', - aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ - name: 'home', - meta: { - title: '棣栭〉', - }, + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/index/index', + name: 'index', + meta: { + title: '涓婚〉', + }, }, { - //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� - path: '/pages/device/device', - //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ - name: 'device', - meta: { - title: '璁惧', - }, - }, - - - { - //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� - path: '/pages/spare/spare', - //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ - name: 'spare', - meta: { - title: '澶囦欢', - }, - }, - { - path: '/pages/user/people', - name: 'people', - meta: { - title: '涓汉涓績', - }, + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/home/home', + aliasPath: '/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'home', + meta: { + title: '棣栭〉', + }, }, { - path: '/pages/user/userdetail', - name: 'userdetail', - meta: { - title: '涓汉璇︽儏', - }, + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/device/device', + //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'device', + meta: { + title: '璁惧', + }, + }, + + + { + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/spare/spare', + //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'spare', + meta: { + title: '澶囦欢', + }, }, { - path: '/pages/user/useredit', - name: 'useredit', - meta: { - title: '涓汉缂栬緫', - }, + path: '/pages/user/people', + name: 'people', + meta: { + title: '涓汉涓績', + }, }, { - path: '/pages/user/userexit', - name: 'userexit', - meta: { - title: '閫�鍑�', - }, + path: '/pages/user/userdetail', + name: 'userdetail', + meta: { + title: '涓汉璇︽儏', + }, }, { - path: '/pages/user/location', - name: 'location', - meta: { - title: '瀹氫綅', - }, + path: '/pages/user/useredit', + name: 'useredit', + meta: { + title: '涓汉缂栬緫', + }, }, { - path: '/pages/common/exit', - name: 'exit', - meta: { - title: '閫�鍑�', - }, + path: '/pages/user/userexit', + name: 'userexit', + meta: { + title: '閫�鍑�', + }, }, { - path: '/pages/common/success', - name: 'success', - meta: { - title: 'success', - }, - },{ - path: '/pages/addressbook/address-book', - name: 'addressBook', - meta: { - title: 'addressBook', - }, + path: '/pages/user/location', + name: 'location', + meta: { + title: '瀹氫綅', + }, }, { - path: '/pages/addressbook/level-address-book', - name: 'levelAddressBook', - meta: { - title: 'levelAddressBook', - }, + path: '/pages/common/exit', + name: 'exit', + meta: { + title: '閫�鍑�', + }, }, { - path: '/pages/addressbook/member', - name: 'member', - meta: { - title: 'member', - }, + path: '/pages/common/success', + name: 'success', + meta: { + title: 'success', + }, + }, { + path: '/pages/addressbook/address-book', + name: 'addressBook', + meta: { + title: 'addressBook', + }, }, { - path: '/pages/addressbook/address-detail', - name: 'addressDetail', - meta: { - title: 'addressDetail', - }, + path: '/pages/addressbook/level-address-book', + name: 'levelAddressBook', + meta: { + title: 'levelAddressBook', + }, }, { - path: '/pages/annotation/annotationList', - name: 'annotationList', - meta: { - title: '閫氱煡鍏憡', - }, + path: '/pages/addressbook/member', + name: 'member', + meta: { + title: 'member', + }, }, { - path: '/pages/device/deviceDeils/deviceDeils', - name: 'deviceDeils', - meta: { - title: '璁惧璇︽儏', - }, + path: '/pages/addressbook/address-detail', + name: 'addressDetail', + meta: { + title: 'addressDetail', + }, }, { - path: '/pages/device/deviceWebDeils/deviceWebDeils', - name: 'deviceWebDeils', - meta: { - title: '璁惧璇︽儏', - }, - }, - - - { - path: '/pages/TaskManager/TaskManagerList', - name: 'TaskManagerList', - meta: { - title: '宸插姙', - }, + path: '/pages/annotation/annotationList', + name: 'annotationList', + meta: { + title: '閫氱煡鍏憡', + }, }, { - path: '/pages/ToDoList/ToDoList', - name: 'ToDoList', - meta: { - title: '寰呭姙', - }, - }, - - { - path: '/pages/annotation/annotationDetail', - name: 'annotationDetail', - meta: { - title: '閫氱煡璇︽儏', - }, + path: '/pages/device/deviceDeils/deviceDeils', + name: 'deviceDeils', + meta: { + title: '璁惧璇︽儏', + }, }, { - path: '/pages/common/helloWorld', - name: 'helloWorld', - meta: { - title: 'helloWorld', - }, + path: '/pages/device/deviceWebDeils/deviceWebDeils', + name: 'deviceWebDeils', + meta: { + title: '璁惧璇︽儏', + }, }, - - + + + { + path: '/pages/TaskManager/TaskManagerList', + name: 'TaskManagerList', + meta: { + title: '宸插姙', + }, + }, + { + path: '/pages/ToDoList/ToDoList', + name: 'ToDoList', + meta: { + title: '寰呭姙', + }, + }, + { + path: '/pages/TaskManager/TaskManagerDeils/TaskManagerDeils', + name: 'TaskManagerDeils', + meta: { + title: '宸插姙璇︽儏', + }, + }, + { + path: '/pages/ToDoList/ToDoListDeils/ToDoListDeils', + name: 'ToDoListDeils', + meta: { + title: '寰呭姙璇︽儏', + }, + }, + { + path: '/pages/annotation/annotationDetail', + name: 'annotationDetail', + meta: { + title: '閫氱煡璇︽儏', + }, + }, + { + path: '/pages/common/helloWorld', + name: 'helloWorld', + meta: { + title: 'helloWorld', + }, + }, + + ] export default routes \ No newline at end of file -- Gitblit v1.9.3