From c702199e8b384ea25d4f1778a297d309d392b9f3 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 20 一月 2025 23:41:48 +0800
Subject: [PATCH] 首页新增静态内容

---
 src/api/projectEngineering/projectInfo.js |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/api/projectEngineering/projectInfo.js b/src/api/projectEngineering/projectInfo.js
index 8829fc2..3551250 100644
--- a/src/api/projectEngineering/projectInfo.js
+++ b/src/api/projectEngineering/projectInfo.js
@@ -17,10 +17,25 @@
   })
 }
 
+// 鏌ヨ鐩稿叧鏂囦欢
+export function getDocumentInfoById(id) {
+  return request({
+    url: '/project/info/document/' + id,
+    method: 'get'
+  })
+}
 // 鏂板椤圭洰绠$悊鍩虹淇℃伅
 export function addProject(data) {
   return request({
     url: '/project/info',
+    method: 'post',
+    data: data
+  })
+}
+// 鏂板鐩稿叧鏂囦欢
+export function addDocumentInfo(data) {
+  return request({
+    url: '/project/info/document',
     method: 'post',
     data: data
   })
@@ -50,3 +65,18 @@
   })
 }
 
+// 缂栬緫鏂板椤圭洰
+export function editProject(data) {
+  return request({
+    url: '/project/info/editProject',
+    method: 'post',
+    data: data
+  })
+}
+export function searchByKey(data) {
+  return request({
+    url: '/project/info/searchByKey',
+    method: 'get',
+    params: data
+  })
+}

--
Gitblit v1.8.0