设备命令日志界面

This commit is contained in:
2025-10-20 15:48:08 +08:00
parent 9c6467176c
commit 1b45e61daf
5 changed files with 389 additions and 55 deletions

View File

@@ -9,6 +9,7 @@ import DeviceList from './components/DeviceList.vue';
import PlanList from './components/PlanList.vue';
import LoginForm from './components/LoginForm.vue';
import DeviceTemplateList from './components/DeviceTemplateList.vue'; // 导入设备模板列表组件
import DeviceCommandLogView from './views/monitor/DeviceCommandLogView.vue'; // 导入设备命令日志视图
// 导入全局样式
import './assets/styles/main.css';
@@ -19,6 +20,7 @@ const routes = [
{ path: '/devices', component: DeviceList, meta: { requiresAuth: true } },
{ path: '/device-templates', component: DeviceTemplateList, meta: { requiresAuth: true } }, // 添加设备模板路由
{ path: '/plans', component: PlanList, meta: { requiresAuth: true } },
{ path: '/monitor/device-command-logs', component: DeviceCommandLogView, meta: { requiresAuth: true } }, // 添加设备命令日志路由
{ path: '/login', component: LoginForm }
];