diff --git a/src/api/common.js b/src/api/common.js index 00289ea..5886bee 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -20,9 +20,9 @@ export async function uploader({ type, file }) { data: { file } }); } -export function getDownloadUrl(type, fileName) { +export function getDownloadUrl(type, fileId, name) { return request({ - url: `/file/Download/${type}/${fileName}`, + url: `/file/Download/${type}/${fileId}/${encodeURIComponent(name)}`, method: 'get' }) } diff --git a/src/api/systemData/dataInterface.js b/src/api/systemData/dataInterface.js index 9e39cba..cc47296 100644 --- a/src/api/systemData/dataInterface.js +++ b/src/api/systemData/dataInterface.js @@ -139,4 +139,13 @@ export function getDataInterfaceLog(id, data) { method: 'GET', data }) +} + +// 编辑不进入流程 +export function UpdateByHandle(data) { + return request({ + url: `/Extend/BaseInspectionReport/${data.id}/UpdateByHandle`, + method: 'PUT', + data + }) } \ No newline at end of file diff --git a/src/views/DisposalSuggestions/Form.vue b/src/views/DisposalSuggestions/Form.vue index 0d33df9..f74996b 100644 --- a/src/views/DisposalSuggestions/Form.vue +++ b/src/views/DisposalSuggestions/Form.vue @@ -109,24 +109,58 @@