From d5458eb28c1da630004b7679601bfd5474cd924d Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期三, 19 六月 2024 09:03:58 +0800
Subject: [PATCH] 企业管理添加

---
 src/api/system/company/company.ts |   53 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 46 insertions(+), 7 deletions(-)

diff --git a/src/api/system/company/company.ts b/src/api/system/company/company.ts
index 8afdd6d..30a17b3 100644
--- a/src/api/system/company/company.ts
+++ b/src/api/system/company/company.ts
@@ -35,13 +35,13 @@
   })
 }
 
-// 鍒犻櫎浼佷笟淇℃伅
-export function delCompany(companyId) {
-  return request({
-    url: '/system/company/' + companyId,
-    method: 'delete'
-  })
-}
+// // 鍒犻櫎浼佷笟淇℃伅
+// export function delCompany(companyId) {
+//   return request({
+//     url: '/system/company/' + companyId,
+//     method: 'delete'
+//   })
+// }
 
 // 瀵煎嚭浼佷笟妯℃澘涓嬭浇
 
@@ -117,4 +117,43 @@
     method: 'post',
     data: data
   })
+}
+// 鏍¢獙瀵煎叆淇℃伅 /system/company/checkImport
+export function checkImport(data) {
+  return request({
+    url: `/system/company/checkImport`,
+    method: 'post',
+    data: data
+  })
+}
+// 淇濆瓨瀵煎叆淇℃伅 /system/company/saveImport
+export function saveImport(data) {
+  return request({
+    url: `/system/company/saveImport`,
+    method: 'post',
+    data: data
+  })
+}
+// 鍒犻櫎浼佷笟淇℃伅 listCompany
+export function delCompany(data) {
+  return request({
+    url: `/system/company/${data.delId}`,
+    method: 'DELETE',
+  })
+}
+// 瀹℃牳 /tool/check/checkOrder
+export function checkOrder(data) {
+  return request({
+    url: `/tool/check/checkOrder`,
+    method: 'post',
+    data: data
+  })
+}
+// 鎵ф硶鍗曞垪琛� /enforce/order/list
+export function listOrder(data) {
+  return request({
+    url: `/enforce/order/list`,
+    method: 'post',
+    data: data
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.1