From f13c99f6d68c4faf083ca269e9925f331c9bfdde Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 13:53:00 +0800
Subject: [PATCH] 统计页面数据接入

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

diff --git a/src/api/monitor/job.js b/src/api/monitor/job.js
index 3815569..41d76bc 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'
   })
 }
 
@@ -51,7 +51,7 @@
   }
   return request({
     url: '/monitor/job/changeStatus',
-    method: 'put',
+    method: 'post',
     data: data
   })
 }
@@ -65,7 +65,7 @@
   }
   return request({
     url: '/monitor/job/run',
-    method: 'put',
+    method: 'post',
     data: data
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3