From 25b727a5dc28f3c2d225c5e017da58f35c6b84b3 Mon Sep 17 00:00:00 2001
From: zzq <a13193816592@163.com>
Date: 星期二, 26 九月 2023 19:38:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/zzq'

---
 src/api/overview/overview.js |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/api/overview/overview.js b/src/api/overview/overview.js
index e46a1ad..51b6e6a 100644
--- a/src/api/overview/overview.js
+++ b/src/api/overview/overview.js
@@ -33,9 +33,11 @@
 }
 
 // 鏌ヨ鍏ュ簱/鍑哄簱鍒楄〃
-export const getOperation = async (data) => {
-  return await axios.get(`/api-wms/v1/operation/operation`, {
-    params: data
+export function getOperation(data) {
+  return request({
+    url: "/api-wms/v1/operation/list",
+    method: "post",
+    data
   })
 }
 // 娣诲姞鍏ュ簱/鍑哄簱
@@ -57,8 +59,8 @@
 // 缂栬緫鍏ュ簱/鍑哄簱
 export function updateOperation(data) {
   return request({
-    url: `/api-wms/v1/operation/operation/${data.id}`,
-    method: "put",
+    url: `/api-wms/v1/operation/update`,
+    method: "post",
     data
   })
 }
@@ -79,3 +81,12 @@
     data
   })
 }
+
+// 鑾峰彇鍏ㄩ儴璋冩嫧鍒楄〃
+export function getAllList(data) {
+  return request({
+    url: "/api-wms/v1/operation/listAll",
+    method: "post",
+    data
+  })
+}

--
Gitblit v1.8.0