From 61764be51ed4def8af5ab96076b455e6da0d3327 Mon Sep 17 00:00:00 2001
From: huang <1724659546@qq.com>
Date: Fri, 19 Sep 2025 14:38:47 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=BB=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 51 +--------
src/components/PlanList.vue | 200 ++++++++++++++++++++++++++++++++++++
src/layouts/MainLayout.vue | 158 ++++++++++++++++++++++++++++
src/main.js | 6 +-
4 files changed, 367 insertions(+), 48 deletions(-)
create mode 100644 src/components/PlanList.vue
create mode 100644 src/layouts/MainLayout.vue
diff --git a/src/App.vue b/src/App.vue
index 4b21477c..812dc837 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,20 +1,6 @@
-
-
-
-
-
+
@@ -24,35 +10,8 @@ export default {
};
-
\ No newline at end of file
+
diff --git a/src/components/PlanList.vue b/src/components/PlanList.vue
new file mode 100644
index 00000000..7def4c43
--- /dev/null
+++ b/src/components/PlanList.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 自动
+ 手动
+
+
+
+
+ 启用
+ 禁用
+ 已完成
+
+
+
+
+ 编辑
+
+ 启动
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 任务
+ 子计划
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
new file mode 100644
index 00000000..9ddf281a
--- /dev/null
+++ b/src/layouts/MainLayout.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index a7fc22ab..d7f3b121 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,8 +4,9 @@ import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import App from './App.vue';
-import DeviceList from './components/DeviceList.vue';
import Home from './components/Home.vue';
+import DeviceList from './components/DeviceList.vue';
+import PlanList from './components/PlanList.vue';
// 导入全局样式
import './assets/styles/main.css';
@@ -17,7 +18,8 @@ import * as Utils from './utils/helpers'; // 示例工具函数
// 配置路由
const routes = [
{ path: '/', component: Home },
- { path: '/devices', component: DeviceList }
+ { path: '/devices', component: DeviceList },
+ { path: '/plans', component: PlanList }
];
const router = createRouter({