From 8d7bb4ac830444afde480a588e99952105ea8ede Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 22 二月 2024 09:19:58 +0800
Subject: [PATCH] mrshi

---
 platform/src/api/business/dispatchUnit.js |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/platform/src/api/business/dispatchUnit.js b/platform/src/api/business/dispatchUnit.js
index 22a2e2a..bba7319 100644
--- a/platform/src/api/business/dispatchUnit.js
+++ b/platform/src/api/business/dispatchUnit.js
@@ -2,22 +2,42 @@
 
 // 鏌ヨ
 export function fetchList (data) {
-  return request.post('/business/dispatchUnit/page', data, {
-    trim: true
-  })
+    return request.post('/business/dispatchUnit/page', data, {
+        trim: true
+    })
 }
 
 // 鍒涘缓
 export function create (data) {
-  return request.post('/business/dispatchUnit/create', data)
+    return request.post('/business/dispatchUnit/create', data)
 }
 
 // 淇敼
 export function updateById (data) {
-  return request.post('/business/dispatchUnit/updateById', data)
+    return request.post('/business/dispatchUnit/updateById', data)
 }
 
 // 鏍规嵁ID鏌ヨ
 export function getById (id) {
-  return request.get(`/business/dispatchUnit/${id}`)
+    return request.get(`/business/dispatchUnit/${id}`)
+}
+export function check (data) {
+    return request.post('/business/dispatchUnit/check', data)
+}
+export function checkWorktype (data) {
+    return request.post('/business/dispatchUnit/checkWorktype', data)
+}
+// 娣诲姞宸ョ
+export function createSolution (data) {
+    return request.post('/business/dispatchUnit/createSolution', data)
+}
+
+// 淇敼淇℃伅
+export function editDispatchUnit (data) {
+    return request.post('/business/dispatchUnit/editDispatchUnit', data)
+}
+
+// 鏁版嵁鍒楄〃
+export function findListByDTO (data) {
+    return request.post('/business/dispatchUnit/findListByDTO', data)
 }

--
Gitblit v1.9.3