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 |   35 ++++++++++++++++++-----------------
 1 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js
index ee2ce79..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
   })
 }
@@ -94,6 +85,15 @@
   })
 }
 
+// 鍥炲涓婄骇鎵瑰
+export function replyDepartmentApproval(data) {
+  return request({
+    url: '/api/project-plan-examine-record/replyDepartmentApproval',
+    method: 'post',
+    data: data
+  })
+}
+
 // 璁″垝鏃ュ織
 export function getPlanLog(id) {
   return request({
@@ -103,3 +103,4 @@
 }
 
 
+

--
Gitblit v1.8.0