From 1d18ff904468e4a864312bdcf6d7c6a7c0477721 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期五, 25 四月 2025 14:57:36 +0800 Subject: [PATCH] 项目提交 --- common/router/modules/routes.js | 373 +++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 260 insertions(+), 113 deletions(-) diff --git a/common/router/modules/routes.js b/common/router/modules/routes.js index c3778be..860907f 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,145 +13,293 @@ }, }, { - //娉ㄦ剰锛歱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/home/home', + aliasPath: '/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'home', + meta: { + title: '棣栭〉', + }, }, { - //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� - path: '/pages/spare/spare', - //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ - name: 'spare', - meta: { - title: '澶囦欢', - }, + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/device/device', + //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'device', + meta: { + title: '璁惧', + }, }, - { - path: '/pages/user/people', - name: 'people', - meta: { - title: '涓汉涓績', - }, + + + { + //娉ㄦ剰锛歱ath蹇呴』璺焢ages.json涓殑鍦板潃瀵瑰簲锛屾渶鍓嶉潰鍒繕浜嗗姞'/'鍝� + path: '/pages/spare/spare', + //aliasPath:'/', //瀵逛簬h5绔綘蹇呴』鍦ㄩ椤靛姞涓奱liasPath骞惰缃负/ + name: 'spare', + meta: { + title: '澶囦欢', + }, }, { - path: '/pages/user/userdetail', - name: 'userdetail', - meta: { - title: '涓汉璇︽儏', - }, + path: '/pages/user/people', + name: 'people', + meta: { + title: '涓汉涓績', + }, }, { - path: '/pages/user/useredit', - name: 'useredit', - meta: { - title: '涓汉缂栬緫', - }, + path: '/pages/user/userdetail', + name: 'userdetail', + meta: { + title: '涓汉璇︽儏', + }, }, { - path: '/pages/user/userexit', - name: 'userexit', - meta: { - title: '閫�鍑�', - }, + path: '/pages/user/useredit', + name: 'useredit', + meta: { + title: '涓汉缂栬緫', + }, }, { - path: '/pages/user/location', - name: 'location', - meta: { - title: '瀹氫綅', - }, + path: '/pages/user/userexit', + name: 'userexit', + meta: { + title: '閫�鍑�', + }, }, { - path: '/pages/common/exit', - name: 'exit', - meta: { - title: '閫�鍑�', - }, + path: '/pages/user/location', + name: 'location', + meta: { + title: '瀹氫綅', + }, }, { - path: '/pages/common/success', - name: 'success', - meta: { - title: 'success', - }, - },{ - path: '/pages/addressbook/address-book', - name: 'addressBook', - meta: { - title: 'addressBook', - }, + path: '/pages/common/exit', + name: 'exit', + meta: { + title: '閫�鍑�', + }, }, { - path: '/pages/addressbook/level-address-book', - name: 'levelAddressBook', - meta: { - title: 'levelAddressBook', - }, + path: '/pages/common/success', + name: 'success', + meta: { + title: 'success', + }, + }, { + path: '/pages/addressbook/address-book', + name: 'addressBook', + meta: { + title: 'addressBook', + }, }, { - path: '/pages/addressbook/member', - name: 'member', - meta: { - title: 'member', - }, + path: '/pages/addressbook/level-address-book', + name: 'levelAddressBook', + meta: { + title: 'levelAddressBook', + }, }, { - path: '/pages/addressbook/address-detail', - name: 'addressDetail', - meta: { - title: 'addressDetail', - }, + path: '/pages/addressbook/member', + name: 'member', + meta: { + title: 'member', + }, }, { - path: '/pages/annotation/annotationList', - name: 'annotationList', - meta: { - title: '閫氱煡鍏憡', - }, + path: '/pages/addressbook/address-detail', + name: 'addressDetail', + meta: { + title: 'addressDetail', + }, }, { - path: '/pages/TaskManager/TaskManagerList', - name: 'TaskManagerList', - meta: { - title: '浠诲姟绠$悊', - }, + path: '/pages/annotation/annotationList', + name: 'annotationList', + 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/checkList/checkList', + name: 'checkList', + meta: { + title: '鐐规', + }, + }, + { + path: '/pages/checkList/checkListDetils/checkListDetils', + name: 'checkListDetils', + meta: { + title: '鐐规璇︽儏', + }, + }, + { + path: '/pages/baoZhou/baoZhou', + name: 'baoZhou', + meta: { + title: '鍛ㄤ繚', + }, + }, + { + path: '/pages/baoZhou/baoZhouDetils/baoZhouDetils', + name: 'baoZhouDetils', + meta: { + title: '鍛ㄤ繚璇︽儏', + }, + }, + { + path: '/pages/reportRepair/reportRepair', + name: 'reportRepair', + meta: { + title: '鎶ヤ慨', + }, + }, + { + path: '/pages/maintenanceReport/maintenanceReport', + name: 'maintenanceReport', + meta: { + title: '缁翠慨', + }, + }, + { + path: '/pages/reportRepair/reportRepairDeils/reportRepairDeils', + name: 'maintenanceReport', + meta: { + title: '缁翠慨', + }, + }, + { + path: '/pages/maintenanceReport/maintenanceReportDetils/maintenanceReportDetils', + name: 'maintenanceReport', + meta: { + title: '缁翠慨-璇︽儏', + }, + }, + { + path: '/pages/ToDoList/ToDoListDeils/ToDoCheckDetils/ToDoCheckDetils', + name: 'ToDoCheckDetils', + meta: { + title: '鐐规-鎵ц', + }, + }, + + { + path: '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure', + name: 'ToDoListCheckSure', + meta: { + title: '鐐规-鐝粍闀跨‘璁�', + }, + }, + { + path: '/pages/ToDoList/ToDoSpareParts/ToDoSpareParts', + name: 'ToDoSpareParts', + meta: { + title: '璁惧缁翠慨-鏄惁闇�瑕侀鐢ㄥ浠�', + }, + }, + { + path: '/pages/ToDoList/ToDoBaoZhou/ToDoBaoZhou', + name: 'ToDoSpareParts', + meta: { + title: '鍛ㄤ繚-鎵ц', + }, + }, + { + path: '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure', + name: 'ToDoSpareParts', + meta: { + title: '鍛ㄤ繚-鐝粍闀跨‘璁�', + }, + }, + { + path: '/pages/selectEquipment/selectEquipment', + name: 'selectEquipment', + meta: { + title: '閫夋嫨璁惧', + }, }, + { + path: '/pages/reportRepair/reportRepairList/reportRepairList', + name: 'reportRepairList', + 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