From 69a56969fe9ee4084a03f88a5c93123587b1df65 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 18 九月 2025 13:43:06 +0800
Subject: [PATCH] 档案管理

---
 src/api/monitor/job.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/api/monitor/job.js b/src/api/monitor/job.js
index 58c4343..6e7136f 100644
--- a/src/api/monitor/job.js
+++ b/src/api/monitor/job.js
@@ -29,8 +29,8 @@
 // 淇敼瀹氭椂浠诲姟璋冨害
 export function updateJob(data) {
   return request({
-    url: '/monitor/job',
-    method: 'put',
+    url: '/monitor/job/edit',
+    method: 'post',
     data: data
   })
 }
@@ -38,8 +38,8 @@
 // 鍒犻櫎瀹氭椂浠诲姟璋冨害
 export function delJob(jobId) {
   return request({
-    url: '/monitor/job/' + jobId,
-    method: 'delete'
+    url: '/monitor/job/remove/' + jobId,
+    method: 'get'
   })
 }
 
@@ -60,7 +60,7 @@
   }
   return request({
     url: '/monitor/job/changeStatus',
-    method: 'put',
+    method: 'post',
     data: data
   })
 }
@@ -74,7 +74,7 @@
   }
   return request({
     url: '/monitor/job/run',
-    method: 'put',
+    method: 'post',
     data: data
   })
 }
\ No newline at end of file

--
Gitblit v1.9.3