From 0ead7315c0e6076aded0dac7a6ff0b89c632287b Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 28 十一月 2024 01:32:41 +0800 Subject: [PATCH] 项目基本信息、投资基本信息 --- src/api/projectEngineering/projectInfo.js | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/api/projectInfo.js b/src/api/projectEngineering/projectInfo.js similarity index 65% rename from src/api/projectInfo.js rename to src/api/projectEngineering/projectInfo.js index 59c3fe8..8829fc2 100644 --- a/src/api/projectInfo.js +++ b/src/api/projectEngineering/projectInfo.js @@ -1,7 +1,7 @@ import request from '@/utils/request' // 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅鍒楄〃 -export function listInfo(query) { +export function listProject(query) { return request({ url: '/project/info/page', method: 'get', @@ -10,7 +10,7 @@ } // 鏌ヨ椤圭洰绠$悊鍩虹淇℃伅璇︾粏 -export function getInfo(id) { +export function getProject(id) { return request({ url: '/project/info/' + id, method: 'get' @@ -18,7 +18,7 @@ } // 鏂板椤圭洰绠$悊鍩虹淇℃伅 -export function addInfo(data) { +export function addProject(data) { return request({ url: '/project/info', method: 'post', @@ -27,7 +27,7 @@ } // 淇敼椤圭洰绠$悊鍩虹淇℃伅 -export function updateInfo(data) { +export function updateProject(data) { return request({ url: '/project/info', method: 'put', @@ -36,9 +36,17 @@ } // 鍒犻櫎椤圭洰绠$悊鍩虹淇℃伅 -export function delInfo(id) { +export function delProject(id) { return request({ url: '/project/info/' + id, method: 'delete' }) } +//鑾峰彇鍚庡彴鐢熸垚鐨勯」鐩爜 +export function getProjectCode(id) { + return request({ + url: '/project/info/getProjectCode', + method: 'get' + }) +} + -- Gitblit v1.8.0