From ba61d95e7367745913a0c85d45416578d8d66e31 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 17 十二月 2024 17:47:11 +0800 Subject: [PATCH] 优化 --- src/api/projectEngineering/projectInfo.js | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/api/projectEngineering/projectInfo.js b/src/api/projectEngineering/projectInfo.js index 8829fc2..1afcc70 100644 --- a/src/api/projectEngineering/projectInfo.js +++ b/src/api/projectEngineering/projectInfo.js @@ -17,6 +17,13 @@ }) } +// 鏌ヨ鐩稿叧鏂囦欢 +export function getDocumentInfoById(id) { + return request({ + url: '/project/info/document/' + id, + method: 'get' + }) +} // 鏂板椤圭洰绠$悊鍩虹淇℃伅 export function addProject(data) { return request({ @@ -25,6 +32,14 @@ data: data }) } +// 鏂板鐩稿叧鏂囦欢 +export function addDocumentInfo(data) { + return request({ + url: '/project/info/document', + method: 'post', + data: data + }) +} // 淇敼椤圭洰绠$悊鍩虹淇℃伅 export function updateProject(data) { -- Gitblit v1.8.0