@@ -143,6 +143,7 @@
"navigation": {
"deviceList": "设备列表",
"deviceManage": "设备管理",
+ "envMonitor": "环境监控",
"gatewayList": "网关列表",
"gatewayManage": "网关管理",
"gatewayProtocol": "网关协议管理",
@@ -41,6 +41,27 @@ const routes: Readonly<RouteRecordRaw[]> = [
},
],
+ {
+ path: '/env-monitor',
+ redirect: '/env-monitor/index',
+ component: HvacLayout,
+ meta: {
+ title: 'envMonitor',
+ icon: 'setting',
+ hideSubMenu: true,
+ requiresAuth: true,
+ },
+ children: [
+ path: 'index',
+ name: 'envMonitor',
+ component: () => import('@/views/env-monitor/EnvMonitor.vue'),
+ ],
{
path: '/protocol-manage',
name: 'protocolManage',
@@ -0,0 +1,3 @@
+<template>
+ <div>区域编辑器</div>
+</template>
+ <div>环境监控</div>