From 2c6073b49f0da22eaed131758afbf8408edd101e Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期六, 30 十一月 2024 01:26:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/projectPlan/index.js | 49 +++++++++++++++++++++++++++++-------------------- 1 files changed, 29 insertions(+), 20 deletions(-) diff --git a/src/api/projectPlan/index.js b/src/api/projectPlan/index.js index d3e00b2..6594ee2 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,10 +85,19 @@ }) } -// 鍥炲涓婄骇鎵瑰 -export function replyDepartmentApproval(data) { +// 淇濆瓨瀹℃壒 +export function saveExamine(data) { return request({ - url: '/api/project-plan-examine-record/replyDepartmentApproval', + 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 }) @@ -112,4 +112,13 @@ } +// 杩涘害寰呭姙鍒楄〃 +export function getProjectPlanToDoList(query) { + return request({ + url: '/api/project-plan-examine-record/todo_list', + method: 'get', + params: query + }) +} + -- Gitblit v1.8.0