diff --git a/src/api/project-manage/index.js b/src/api/project-manage/index.js index 578f1a1..b983f01 100644 --- a/src/api/project-manage/index.js +++ b/src/api/project-manage/index.js @@ -77,6 +77,39 @@ export const getTags = (projectId) => { method: "get" }); }; +export const getPhaseProcess = () => { + return request({ + url: '/workflow/phase/change/process', + method: "get" + }); +}; +export const submitPhaseChange = (data) => { + return request({ + url: '/workflow/phase/change', + method: "post", + data: data + }); +}; +export const getPhaseDetail = (projectId) => { + return request({ + url: `/workflow/phase/change/info/${projectId}`, + method: "get" + }); +}; +export const getPhaseForm = (projectId) => { + return request({ + url: `/workflow/phase/change/from/${projectId}`, + method: "get" + }); +}; +export const resubmitPhaseForm = (data) => { + return request({ + url: '/workflow/phase/change/resubmit', + method: "post", + data: data + }); +}; + //项目归档 export const getConclusionDetail = (ProjectId) => { return request({ diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index 400e929..aa5ed37 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -4,12 +4,12 @@ - diff --git a/src/views/project-management/implementation/phaseDetail.vue b/src/views/project-management/implementation/phaseDetail.vue new file mode 100644 index 0000000..5a9813c --- /dev/null +++ b/src/views/project-management/implementation/phaseDetail.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/views/project-management/initiation/apply.vue b/src/views/project-management/initiation/apply.vue index 080caec..613f8e2 100644 --- a/src/views/project-management/initiation/apply.vue +++ b/src/views/project-management/initiation/apply.vue @@ -108,13 +108,14 @@ const compositeParam = (item) => { originalFileName: item.originalFilename, fileType: item.fileType, url: item.url, - newFile: true, + newFile: false, tag: tag } } const getAttachment = (val) => { console.log('上传文件getAttachment', val) file.value = compositeParam(val) + formData.value.singleFile = compositeParam(val) } const getOtherFile = (val) => { console.log('上传文件getOtherFile', val) @@ -163,7 +164,6 @@ const handleSubmit = (instance) => { singleFile: singleFile, projectId: route.query.projectId, } - console.log('params', params) let res = await projectApply(params) ElNotification({ diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 58fd58d..b67f494 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -36,6 +36,7 @@ +