From 919177aceb22d6cca9c176a46c299d099a0ba0af Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 12 五月 2026 17:46:09 +0800
Subject: [PATCH] 分派生产单到班组长,班组长:排产工单到班组成员

---
 src/api/productionManagement/productionTeam.js |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/api/productionManagement/productionTeam.js b/src/api/productionManagement/productionTeam.js
index 3dd0947..e913a7d 100644
--- a/src/api/productionManagement/productionTeam.js
+++ b/src/api/productionManagement/productionTeam.js
@@ -3,7 +3,7 @@
 // 鍒涘缓鐝粍
 export function createTeam(data) {
     return request({
-        url: "/production_team",
+        url: "/productionTeam",
         method: "post",
         data: data,
     });
@@ -12,7 +12,7 @@
 // 鏇存柊鐝粍
 export function updateTeam(data) {
     return request({
-        url: "/production_team",
+        url: "/productionTeam",
         method: "put",
         data: data,
     });
@@ -21,7 +21,7 @@
 // 鍒犻櫎鐝粍
 export function deleteTeam(id) {
     return request({
-        url: "/production_team/" + id,
+        url: "/productionTeam/" + id,
         method: "delete",
     });
 }
@@ -29,7 +29,7 @@
 // 鏌ヨ鐝粍璇︽儏
 export function getTeamDetail(id) {
     return request({
-        url: "/production_team/" + id,
+        url: "/productionTeam/" + id,
         method: "get",
     });
 }
@@ -37,7 +37,7 @@
 // 鏌ヨ鐝粍鍒楄〃
 export function getTeamList(query) {
     return request({
-        url: "/production_team/list",
+        url: "/productionTeam/list",
         method: "get",
         params: query,
     });
@@ -46,8 +46,11 @@
 // 鍒嗛〉鏌ヨ鐝粍鍒楄〃
 export function getTeamListPage(query) {
     return request({
-        url: "/production_team/listPage",
+        url: "/productionTeam/listPage",
         method: "get",
         params: query,
     });
 }
+
+
+

--
Gitblit v1.9.3