import request from '@/utils/request.js' //项目立项 export const getApplyProcess = (projectId) => { return request({ url: `/workflow/mosr/project/approval/initiation/process/${projectId}`, method: "get" }); }; export const projectApply = (data) => { return request({ url: '/workflow/mosr/project/approval/initiation/apply', method: "post", data: data }); }; export const getApplyDetail = (ProjectId) => { return request({ url: `/workflow/mosr/project/approval/info/${ProjectId}`, method: "get" }); }; export const resubmitApply = (data) => { return request({ url: '/workflow/mosr/project/approval/initiation/resubmit', method: "post", data: data }); }; export const getInitiationAttachment = (params) => { return request({ url: '/workflow/mosr/project/approval/attachments', method: "get", params:params }); }; export const uploadInitiationAttachment= (data) => { return request({ url: '/workflow/mosr/project/approval/upload', method: "post", data: data }); }; //项目实施 export const getCheckDetail = (projectId) => { return request({ url: `/workflow/mosr/project/implementation/info/${projectId}`, method: "get" }); }; export const resubmitCheck = (data) => { return request({ url: '/workflow/mosr/project/implementation/resubmit', method: "post", data: data }); }; export const projectCheck = (data) => { return request({ url: '/workflow/mosr/project/implementation/initiation/check', method: "post", data: data }); }; export const getProjectCheckProcess = (projectId) => { return request({ url: `/workflow/mosr/project/implementation/process/${projectId}`, method: "get" }); }; export const getImplementationAttachment = (params) => { return request({ url: '/workflow/mosr/project/implementation/attachments', method: "get", params:params }); }; export const uploadAttachment= (data) => { return request({ url: '/workflow/mosr/project/implementation/upload', method: "post", data: data }); }; export const addLedger = (data) => { return request({ url: '/workflow/mosr/expense/ledger', method: "post", data: data }); }; export const getTags = (projectId) => { return request({ url: `/workflow/mosr/attachment/option/${projectId}`, method: "get" }); }; //项目归档 export const getConclusionDetail = (ProjectId) => { return request({ url: `/workflow/mosr/project/filing/info/${ProjectId}`, method: "get" }); }; export const resubmitConclusion = (data) => { return request({ url: '/workflow/mosr/project/filing/resubmit', method: "post", data: data }); }; export const projectConclusion = (data) => { return request({ url: '/workflow/mosr/project/filing/project/entry', method: "post", data: data }); }; export const getProjectConclusionProcess = () => { return request({ url: '/workflow/mosr/project/filing/process', method: "get" }); }; export const getFilingAttachment = (params) => { return request({ url: '/workflow/mosr/project/filing/attachments', method: "get", params:params }); }; export const uploadFilingAttachment= (data) => { return request({ url: '/workflow/mosr/project/filing/upload', method: "post", data: data }); };