From 16f122cfcec09e65e4790ecee46bae1f1b7b8fff Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期日, 02 三月 2025 10:17:38 +0800 Subject: [PATCH] Merge branch 'master' into dev --- 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