From 0829704d064b5d843014897a84b42f3625571d97 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期日, 09 三月 2025 23:29:42 +0800
Subject: [PATCH] 容缺补办实现
---
src/api/projectEngineering/projectInfo.js | 61 ++++++++++++++++++++++++++++++
1 files changed, 60 insertions(+), 1 deletions(-)
diff --git a/src/api/projectEngineering/projectInfo.js b/src/api/projectEngineering/projectInfo.js
index 8829fc2..af8f0d7 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,39 @@
})
}
+// 缂栬緫鏂板椤圭洰
+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
+ })
+}
--
Gitblit v1.8.0