From b51e256514dae8a13f6691dfd917e6ca031621fe Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期二, 09 十一月 2021 16:10:03 +0800
Subject: [PATCH] 车辆

---
 src/api/open.js |   70 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/src/api/open.js b/src/api/open.js
index b59e538..617e84f 100644
--- a/src/api/open.js
+++ b/src/api/open.js
@@ -110,4 +110,74 @@
 // 鍒犻櫎璁惧淇℃伅
 export const deleteEquipment = (params) => {
     return postRequest('/equipment/delByIds', params)
+}
+
+// 鏌ヨ鐢ㄦ埛淇℃伅
+export const getUser = (params) => {
+    return getRequest('/user/getAll', params)
+}
+
+// 鏌ヨ鐗囧尯淇℃伅
+export const getArea = (params) => {
+    return getRequest('/area/getByPage', params)
+}
+
+// 娣诲姞閰嶉�佺墖鍖轰俊鎭�
+export const addArea = (params) => {
+    return postRequest('/area/insertOrUpdate', params)
+}
+
+// 鍒犻櫎閰嶉�佺墖鍖轰俊鎭�
+export const deleteArea = (params) => {
+    return postRequest('/area/delByIds', params)
+}
+
+// 鏌ヨ鐗囧尯淇℃伅
+export const getAreaSection = (params) => {
+    return getRequest('/areaSection/getByPage', params)
+}
+
+//娣诲姞鐗囧尯娈典俊鎭�
+export const addAreaSection = (params) => {
+    return postRequest('/areaSection/insertOrUpdate', params)
+}
+
+// 鍒犻櫎閰嶉�佺墖鍖轰俊鎭�
+export const deleteAreaSection = (params) => {
+    return postRequest('/areaSection/delByIds', params)
+}
+
+// 鏌ヨ鐗囧尯淇℃伅
+export const getCustomer = (params) => {
+    return getRequest('/customer/getByPage', params)
+}
+
+//娣诲姞鍟嗘埛淇℃伅
+export const addCustomer = (params) => {
+    return postRequest('/customer/insertOrUpdate', params)
+}
+
+// 鍒犻櫎鍟嗘埛淇℃伅
+export const deleteCustomer = (params) => {
+    return postRequest('/customer/delByIds', params)
+}
+
+// 鏌ヨ鎺ヨ揣浜轰俊鎭�
+export const getCustomerReceive = (params) => {
+    return getRequest('/customerReceive/getByPage', params)
+}
+
+//淇敼鎺ヨ揣浜轰俊鎭�
+export const updateCustomerReceive = (params) => {
+    return postRequest('/customerReceive/insertOrUpdate', params)
+}
+
+// 鍒犻櫎鎺ヨ揣浜轰俊鎭�
+export const deleteCustomerReceive = (params) => {
+    return postRequest('/customerReceive/delByIds', params)
+}
+
+// 鏌ヨ鐗囧尯淇℃伅
+export const getSuggest = (params) => {
+    return getRequest('/suggest/getByPage', params)
 }
\ No newline at end of file

--
Gitblit v1.9.1