From a6842851a844e63a8766d63c5410a8e2f27a7d45 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 20 八月 2024 11:56:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/api/platform/work-order.js |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/work-order.js b/src/api/platform/work-order.js
index 4b02485..700cd9b 100644
--- a/src/api/platform/work-order.js
+++ b/src/api/platform/work-order.js
@@ -9,6 +9,33 @@
   })
 }
 
+// 鏌ヨ涓嬪彂宸ュ崟鍒楄〃
+export function distributeWorkOrder(query) {
+  return request({
+    url: '/work-order/distribute/page',
+    method: 'post',
+    data: query
+  })
+}
+
+// 蹇�熶笅鍙戝伐鍗�
+export function fastDistribute(data) {
+  return request({
+    url: '/work-order/distribute/fast',
+    method: 'post',
+    data: data
+  })
+}
+
+// 涓嬪彂閫夋嫨宸ュ崟
+export function selectedIdsDistribute(data) {
+  return request({
+    url: '/work-order/distribute/ids',
+    method: 'post',
+    data: data
+  })
+}
+
 // 鏌ヨ杩愮淮宸ュ崟璇︾粏
 export function getWorkOrder(id) {
   return request({
@@ -52,6 +79,15 @@
   })
 }
 
+// 鎵归噺瀹℃牳宸ュ崟
+export function batchAuditing(data) {
+  return request({
+    url: '/work-order/batchAuditing',
+    method: 'put',
+    data: data
+  })
+}
+
 // 宸ュ崟杩愮淮鎯呭喌
 export function ywCondition(data) {
   return request({
@@ -60,3 +96,27 @@
     data: data
   })
 }
+
+// 鑾峰彇宸ュ崟杩愮淮鎯呭喌
+export function getYwCondition(data) {
+  return request({
+    url: '/work-order/yw-condition/' + data,
+    method: 'get'
+  })
+}
+
+// 鑾峰彇宸ュ崟杩愮淮瀹℃牳璁板綍
+export function getYwAuditingList(data) {
+  return request({
+    url: '/work-order/yw-auditing-list/' + data,
+    method: 'get'
+  })
+}
+
+// 鑾峰彇宸ュ崟杩愮淮鎯呭喌璁板綍
+export function getYwConditionList(data) {
+  return request({
+    url: '/work-order/yw-condition-list/' + data,
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0