From 46e29a50eccda9f92fb2feeb18fa8a0ea4092587 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期四, 28 十一月 2024 22:31:38 +0800
Subject: [PATCH] 页面传参bug
---
src/api/projectPlan/index.js | 25 ++++++++-----------------
1 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js
index d3e00b2..7340072 100644
--- a/src/api/projectPlan/index.js
+++ b/src/api/projectPlan/index.js
@@ -9,6 +9,14 @@
})
}
+// 鑾峰彇涓荤鏍囪瘑
+export function getManagerFlag(recordId) {
+ return request({
+ url: '/project/info/getManagerFlag/'+ recordId,
+ method: 'get'
+ })
+}
+
// 鏌ヨ璁″垝璁板綍鍒楄〃
export function getPlanRecordList(id) {
return request({
@@ -17,28 +25,11 @@
})
}
-// 鏌ヨ椤圭洰璁″垝璁板綍璇︾粏
-export function getRecord(id) {
- return request({
- url: '/plan/record/' + id,
- method: 'get'
- })
-}
-
// 鏂板椤圭洰璁″垝璁板綍
export function addRecord(data) {
return request({
url: '/api/project-plan-record',
method: 'post',
- data: data
- })
-}
-
-// 淇敼椤圭洰璁″垝璁板綍
-export function updateRecord(data) {
- return request({
- url: '/plan/record',
- method: 'put',
data: data
})
}
--
Gitblit v1.8.0