From 49522fcc80c31225bcd7bab78315206567e84146 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 16 十一月 2024 09:26:55 +0800
Subject: [PATCH] 优化

---
 company/src/api/business/solutions.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/company/src/api/business/solutions.js b/company/src/api/business/solutions.js
index 1a01567..aedfa3a 100644
--- a/company/src/api/business/solutions.js
+++ b/company/src/api/business/solutions.js
@@ -13,7 +13,10 @@
 }
 
 // 鏌ヨ鍏ㄩ儴淇濋櫓鏂规
-export function all (data) {
+export function all (data, type) {
+    if (!type) {
+        data.status = 0
+    }
     return request.post('/business/solutions/list', data)
 }
 
@@ -47,3 +50,7 @@
     return request.get(`/business/solutions/getUseList?companyId=${companyId}&dateType=${dateType}`)
 }
 
+// 鏍规嵁ID鍒犻櫎
+export function deleteById (id) {
+    return request.get(`/business/solutions/delete/${id}`)
+}

--
Gitblit v1.9.3