From 3dd3abbc68a1dd587021e205d3bebf4bff3eab46 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 一月 2024 17:44:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
company/src/api/business/dispatchUnit.js | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/company/src/api/business/dispatchUnit.js b/company/src/api/business/dispatchUnit.js
index af8149a..873ef6f 100644
--- a/company/src/api/business/dispatchUnit.js
+++ b/company/src/api/business/dispatchUnit.js
@@ -11,3 +11,23 @@
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 createSolution (data) {
+ return request.post('/business/dispatchUnit/createSolution', data)
+}
+
+// 淇敼淇℃伅
+export function editDispatchUnit (data) {
+ return request.post('/business/dispatchUnit/editDispatchUnit', data)
+}
--
Gitblit v1.9.3