From eac6b7989a6cbb9d09b20a1c46f51bb68d9f5ae7 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 19 二月 2025 10:01:50 +0800
Subject: [PATCH] 项目信息一对多的情况列表不显示、相关文书不要了
---
src/api/projectPlan/index.js | 101 +++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 78 insertions(+), 23 deletions(-)
diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js
index 05105a6..9391710 100644
--- a/src/api/projectPlan/index.js
+++ b/src/api/projectPlan/index.js
@@ -9,19 +9,19 @@
})
}
+// 鑾峰彇涓荤鏍囪瘑
+export function getManagerFlag(recordId) {
+ return request({
+ url: '/project/info/getManagerFlag/'+ recordId,
+ method: 'get'
+ })
+}
+
// 鏌ヨ璁″垝璁板綍鍒楄〃
export function getPlanRecordList(id) {
return request({
url: '/api/project-plan-record/' + id,
method: 'post'
- })
-}
-
-// 鏌ヨ椤圭洰璁″垝璁板綍璇︾粏
-export function getRecord(id) {
- return request({
- url: '/plan/record/' + id,
- method: 'get'
})
}
@@ -34,19 +34,10 @@
})
}
-// 淇敼椤圭洰璁″垝璁板綍
-export function updateRecord(data) {
- return request({
- url: '/plan/record',
- method: 'put',
- data: data
- })
-}
-
// 鍒犻櫎椤圭洰璁″垝璁板綍
-export function delRecord(id) {
+export function deletePlanRecord(id) {
return request({
- url: '/plan/record/' + id,
+ url: '/api/project-plan-record/' + id,
method: 'delete'
})
}
@@ -68,11 +59,75 @@
})
}
-// 淇濆瓨璁″垝椤�
-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
+ })
+}
+
+// 寤舵湡
+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'
+ })
+}
+
+
+// 杩涘害寰呭姙鍒楄〃
+export function getProjectPlanToDoList(query) {
+ return request({
+ url: '/api/project-plan-examine-record/todo_list',
+ method: 'get',
+ params: query
+ })
+}
+
+
--
Gitblit v1.8.0