From 09da100729793848bc01b51f7b05ca3f1e7ec64f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 20 六月 2024 14:05:35 +0800
Subject: [PATCH] 提交一把
---
company/src/api/business/dispatchUnit.js | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/company/src/api/business/dispatchUnit.js b/company/src/api/business/dispatchUnit.js
index 873ef6f..105a03e 100644
--- a/company/src/api/business/dispatchUnit.js
+++ b/company/src/api/business/dispatchUnit.js
@@ -18,10 +18,18 @@
}
// 鏍规嵁ID鏌ヨ
+export function deleteById (id) {
+ return request.get(`/business/dispatchUnit/delete/${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)
@@ -31,3 +39,8 @@
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