From 4e4339857a02878fef71b62cf17f39e1b6aa14ab Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 29 十一月 2024 17:43:27 +0800
Subject: [PATCH] 加loading

---
 src/api/projectPlan/index.js |   73 +++++++++++++++++++++++++++---------
 1 files changed, 55 insertions(+), 18 deletions(-)

diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js
index 7ff6872..43f804e 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
   })
 }
@@ -75,4 +66,50 @@
     method: 'post',
     data: data
   })
-  }
+}
+
+// 寤舵湡
+export function delayPlanInfo(data) {
+  return request({
+    url: '/api/project-plan-info/delayPlanInfo',
+    method: 'post',
+    data: data
+  })
+}
+
+// 鑾峰緱涓婄骇鎵瑰
+export function getDepartmentApproval(id) {
+  return request({
+    url: '/api/project-plan-examine-record/departmentApproval/' + id,
+    method: 'get'
+  })
+}
+
+// 淇濆瓨瀹℃壒
+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({
+    url: '/api/project-plan-examine-record/planLog/' + id,
+    method: 'get'
+  })
+}
+
+
+

--
Gitblit v1.8.0