From c482628d3daf21dafba7e2b9eaba6e46ffda0fdb Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 27 二月 2025 20:11:14 +0800 Subject: [PATCH] 首页跳转bug --- src/api/projectEngineering/projectInfo.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/api/projectEngineering/projectInfo.js b/src/api/projectEngineering/projectInfo.js index 8829fc2..5d544ec 100644 --- a/src/api/projectEngineering/projectInfo.js +++ b/src/api/projectEngineering/projectInfo.js @@ -9,6 +9,14 @@ }) } +// 鍏ㄩ儴 +export function list() { + return request({ + url: '/project/info/list', + method: 'get' + }) +} + // 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅璇︾粏 export function getProject(id) { return request({ @@ -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,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