| | |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | // 获取主管标识 |
| | | export function getManagerFlag(recordId) { |
| | | return request({ |
| | | url: '/project/info/getManagerFlag/'+ recordId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // 查询计划记录列表 |
| | | export function getPlanRecordList(id) { |
| | | return request({ |
| | |
| | | }) |
| | | } |
| | | |
| | | // 查询项目计划记录详细 |
| | | 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 |
| | | }) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | // 保存计划项 |
| | | 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 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 |
| | | }) |
| | |
| | | } |
| | | |
| | | |
| | | // 进度待办列表 |
| | | export function getProjectPlanToDoList(query) { |
| | | return request({ |
| | | url: '/api/project-plan-examine-record/todo_list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | |