From 8c6c7af632c3ef31cecf762dc4737d3655def90a Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 11 三月 2026 17:13:24 +0800
Subject: [PATCH] fix: 处理售后记录时,带出的问题描述展示在处理结果中

---
 src/api/productionManagement/processRouteItem.js |   41 ++++++++++++++++++++++++++++++-----------
 1 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/src/api/productionManagement/processRouteItem.js b/src/api/productionManagement/processRouteItem.js
index ad4861c..9e81406 100644
--- a/src/api/productionManagement/processRouteItem.js
+++ b/src/api/productionManagement/processRouteItem.js
@@ -3,17 +3,36 @@
 
 // 鍒楄〃鏌ヨ
 export function findProcessRouteItemList(query) {
-    return request({
-        url: "/processRouteItem/list",
-        method: "get",
-        params: query,
-    });
+  return request({
+    url: "/processRouteItem/list",
+    method: "get",
+    params: query,
+  });
 }
 
 export function addOrUpdateProcessRouteItem(data) {
-    return request({
-        url: "/processRouteItem",
-        method: "post",
-        data: data,
-    });
-}
\ No newline at end of file
+  return request({
+    url: "/processRouteItem",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鎺掑簭鎺ュ彛
+export function sortProcessRouteItem(data) {
+  return request({
+    url: "/processRouteItem/sort",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鎵归噺鍒犻櫎鎺ュ彛
+export function batchDeleteProcessRouteItem(ids) {
+  // 灏唅d鏁扮粍杞崲涓洪�楀彿鍒嗛殧鐨勫瓧绗︿覆锛屾嫾鎺ュ埌URL鍚庨潰
+  const idsStr = Array.isArray(ids) ? ids.join(",") : ids;
+  return request({
+    url: `/processRouteItem/batchDelete/${idsStr}`,
+    method: "delete",
+  });
+}

--
Gitblit v1.9.3