From 1fa6ac40e2ce16e1174cec9ca538d45eeb660fdc Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 05 六月 2025 18:17:56 +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