From fd174c6efc16f5771e6882bd8fc29f08259285f9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 24 三月 2025 11:47:55 +0800
Subject: [PATCH] 容缺计数

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

diff --git a/src/api/projectEngineering/projectInfo.js b/src/api/projectEngineering/projectInfo.js
index 8829fc2..9d561d1 100644
--- a/src/api/projectEngineering/projectInfo.js
+++ b/src/api/projectEngineering/projectInfo.js
@@ -1,11 +1,19 @@
 import request from '@/utils/request'
 
 // 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅鍒楄〃
-export function listProject(query) {
+export  function listProject(query) {
   return request({
     url: '/project/info/page',
     method: 'get',
     params: query
+  })
+}
+
+// 鍏ㄩ儴
+export function list() {
+  return request({
+    url: '/project/info/list',
+    method: 'get'
   })
 }
 
@@ -17,10 +25,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 +73,49 @@
   })
 }
 
+// 缂栬緫鏂板椤圭洰
+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
+  })
+}
+//鍒嗛〉琛ㄥご
+export function getHiddenList(data){
+  return request({
+    url:'/hidden-admin/page',
+    method:'get',
+    params: data
+  })
+}
+//淇敼琛ㄥご
+export function saveHiddenList(data){
+  return request({
+    url:'/hidden-admin/updateList',
+    method: 'put',
+    data: data
+  })
+}
+//鏂板琛ㄥご
+export function addList(data){
+    return request({
+      url:'/hidden-admin/addList',
+      method:'post',
+      data:data
+    })
+}
+//鑾峰緱鎵�鏈夎〃澶�
+export function getAll(){
+  return request({
+    url:'/hidden-admin/list',
+    method:'get',
+  })
+}

--
Gitblit v1.8.0