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/projectPlan/index.js |   70 +++++++++++++++++++++++++----------
 1 files changed, 50 insertions(+), 20 deletions(-)

diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js
index ee2ce79..89f0f8e 100644
--- a/src/api/projectPlan/index.js
+++ b/src/api/projectPlan/index.js
@@ -9,6 +9,16 @@
   })
 }
 
+
+
+// 鑾峰彇涓荤鏍囪瘑
+export function getManagerFlag(recordId) {
+  return request({
+    url: '/project/info/getManagerFlag/'+ recordId,
+    method: 'get'
+  })
+}
+
 // 鏌ヨ璁″垝璁板綍鍒楄〃
 export function getPlanRecordList(id) {
   return request({
@@ -17,28 +27,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
   })
 }
@@ -68,10 +61,19 @@
   })
 }
 
-// 淇濆瓨璁″垝椤�
-export function savePlanInfo(data) {
+// 鐢ㄦ埛閲嶆柊涓婃姤璁″垝椤�
+export function resubmitPlanInfo(data) {
   return request({
-    url: '/api/project-plan-info/savePlanInfo',
+    url: '/api/project-plan-info/resubmitPlanInfo',
+    method: 'post',
+    data: data
+  })
+}
+
+// 淇濆瓨璁″垝椤�
+export function savePlanInfo(data, planRecordId) {
+  return request({
+    url: '/api/project-plan-info/savePlanInfo/' + planRecordId,
     method: 'post',
     data: data
   })
@@ -94,6 +96,24 @@
   })
 }
 
+// 淇濆瓨瀹℃壒
+export function saveExamine(data) {
+  return request({
+    url: '/api/project-plan-examine-record/saveExamine',
+    method: 'post',
+    data: data
+  })
+}
+
+// 鍥炲瀹℃壒
+export function replyExamine(data) {
+  return request({
+    url: '/api/project-plan-examine-record/replyExamine',
+    method: 'post',
+    data: data
+  })
+}
+
 // 璁″垝鏃ュ織
 export function getPlanLog(id) {
   return request({
@@ -103,3 +123,13 @@
 }
 
 
+// 杩涘害寰呭姙鍒楄〃
+export function getProjectPlanToDoList(query) {
+  return request({
+    url: '/api/project-plan-examine-record/todo_list',
+    method: 'get',
+    params: query
+  })
+}
+
+

--
Gitblit v1.8.0