From d2bc6e096f0806b78ea92d4b90a21d3627d406c7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 08 三月 2024 18:28:42 +0800
Subject: [PATCH] mrshi
---
company/src/api/business/dispatchUnit.js | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/company/src/api/business/dispatchUnit.js b/company/src/api/business/dispatchUnit.js
index af8149a..bba7319 100644
--- a/company/src/api/business/dispatchUnit.js
+++ b/company/src/api/business/dispatchUnit.js
@@ -11,3 +11,33 @@
export function create (data) {
return request.post('/business/dispatchUnit/create', data)
}
+
+// 淇敼
+export function updateById (data) {
+ return request.post('/business/dispatchUnit/updateById', data)
+}
+
+// 鏍规嵁ID鏌ヨ
+export function getById (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