From 39ae52b3f65e2bba3b6570adb51e791cb3befff7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 02 七月 2025 16:32:29 +0800
Subject: [PATCH] 提交

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

diff --git a/company/src/api/business/solutions.js b/company/src/api/business/solutions.js
index f97a25e..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)
 }
 
@@ -31,3 +34,23 @@
 export function solutionsId (id) {
     return request.get(`/business/solutions/${id}`)
 }
+
+// 鏌ヨ浼佷笟鍏ㄩ儴鍏宠仈鏂规
+export function listForCompany (data) {
+    return request.post('/business/companySolution/listForCompany', data)
+}
+
+// 鏍规嵁鍘嗗彶鐗堟湰鏌ヨ褰撳墠鏈�鏂板惎鐢ㄧ増鏈�
+export function getNewVersion (id) {
+    return request.get(`/business/solutions/getNewVersion?solutionId=${id}`)
+}
+
+// 鏌ヨ浼佷笟鍙娇鐢ㄦ柟妗堬紙宸茬缃诧級
+export function getUseList (companyId, dateType) {
+    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