diff --git a/.env.development b/.env.development
index 7a22a56..ad22c3d 100644
--- a/.env.development
+++ b/.env.development
@@ -6,4 +6,4 @@ VITE_APP_ENV='development'
# 开发环境
VITE_API_BASE='https://server.leapy.cn/admin/'
-VITE_WS_URL='wss://dev.api.leapy.cn/mms'
+VITE_WS_URL='wss://server.leapy.cn/ws'
diff --git a/.env.production b/.env.production
index 825ffd0..639b42e 100644
--- a/.env.production
+++ b/.env.production
@@ -6,4 +6,4 @@ VITE_APP_ENV='production'
# 生产环境
VITE_API_BASE='https://server.leapy.cn/admin/'
-VITE_WS_URL='wss://dev.api.leapy.cn/mms'
+VITE_WS_URL='wss://server.leapy.cn/ws'
diff --git a/package.json b/package.json
index 994eb57..50ab859 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,10 @@
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
"axios": "1.12.0",
+ "cron-parser": "^4.9",
"cropperjs": "^1.6.2",
"crypto-js": "^4.2.0",
+ "dayjs": "^1.11.18",
"echarts": "^6.0.0",
"element-plus": "2.11.3",
"image-conversion": "^2.1.1",
diff --git a/src/api/model/system.ts b/src/api/model/system.ts
index 04f03f9..2f203ee 100644
--- a/src/api/model/system.ts
+++ b/src/api/model/system.ts
@@ -101,5 +101,22 @@ export default {
quit: async function (data, config = {}) {
return await http.get("online/quit", data, config);
}
+ },
+ crontab: {
+ list: async function (data = {}) {
+ return await http.get("crontab/list", data);
+ },
+ add: async function (data = {}) {
+ return await http.post("crontab/add", data);
+ },
+ edit: async function (data = {}) {
+ return await http.put("crontab/edit", data);
+ },
+ del: async function (data = {}) {
+ return await http.delete("crontab/del", data);
+ },
+ option: async function (data = {}) {
+ return await http.get("crontab/option", data);
+ },
}
}
diff --git a/src/assets/icons/Choice.vue b/src/assets/icons/Choice.vue
new file mode 100644
index 0000000..ed993af
--- /dev/null
+++ b/src/assets/icons/Choice.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/components/piCron/index.vue b/src/components/piCron/index.vue
new file mode 100644
index 0000000..61349e8
--- /dev/null
+++ b/src/components/piCron/index.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
+
diff --git a/src/components/piDialog/index.vue b/src/components/piDialog/index.vue
index 29d3539..fbe90b1 100644
--- a/src/components/piDialog/index.vue
+++ b/src/components/piDialog/index.vue
@@ -1,6 +1,6 @@
-
+
{{ title }}
@@ -26,13 +26,14 @@
diff --git a/src/views/monitor/crontab/save.vue b/src/views/monitor/crontab/save.vue
new file mode 100644
index 0000000..7a30389
--- /dev/null
+++ b/src/views/monitor/crontab/save.vue
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 保 存
+
+
+
+
+
diff --git a/src/views/monitor/crontab_log/index.vue b/src/views/monitor/crontab_log/index.vue
new file mode 100644
index 0000000..096e8ca
--- /dev/null
+++ b/src/views/monitor/crontab_log/index.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 强退
+
+
+
+
+
+
+
+
+
diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue
index 85d29dc..096e8ca 100644
--- a/src/views/monitor/online/index.vue
+++ b/src/views/monitor/online/index.vue
@@ -1,10 +1,9 @@
-
+
-
@@ -17,7 +16,7 @@
-
+
强退
@@ -30,7 +29,7 @@