import request from '@/utils/request'
|
|
// 查询项目计划记录列表
|
export function getList(query) {
|
return request({
|
url: '/api/plan/page',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取主管标识
|
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 addRecord(data) {
|
return request({
|
url: '/api/project-plan-record',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除项目计划记录
|
export function deletePlanRecord(id) {
|
return request({
|
url: '/api/project-plan-record/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 项目计划项列表
|
export function getPlanInfoData(id) {
|
return request({
|
url: '/api/project-plan-info/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增计划项
|
export function addPlanInfo(data) {
|
return request({
|
url: '/api/project-plan-info/addPlanInfo',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 保存计划项
|
export function savePlanInfo(data) {
|
return request({
|
url: '/api/project-plan-info/savePlanInfo',
|
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
|
})
|
}
|