diff --git a/src/api/projectInformationNew.js b/src/api/projectInformationNew.js index 6d258e7..28277ae 100644 --- a/src/api/projectInformationNew.js +++ b/src/api/projectInformationNew.js @@ -101,7 +101,13 @@ params }); } +// 导出 - +export function projectInfoNewExport() { + return request({ + url: "/business/projectInfoNew/export", + method: "post", + }); +} diff --git a/src/api/projectInformationNew.js b/src/api/projectInformationNew.js index 6d258e7..28277ae 100644 --- a/src/api/projectInformationNew.js +++ b/src/api/projectInformationNew.js @@ -101,7 +101,13 @@ params }); } +// 导出 - +export function projectInfoNewExport() { + return request({ + url: "/business/projectInfoNew/export", + method: "post", + }); +} diff --git a/src/views/project/projectInformation/index.vue b/src/views/project/projectInformation/index.vue index a28c3e6..bc275e4 100644 --- a/src/views/project/projectInformation/index.vue +++ b/src/views/project/projectInformation/index.vue @@ -124,6 +124,7 @@ type="primary" plain icon="Download" + @click='Download' >导出 { + proxy.download( + "/business/projectInfoNew/export", + {}, + `项目信息${new Date().getTime()}.xlsx` + ); + }) + .catch(() => {}); + + +} onMounted(() => { getTableList() getProjectTypeList()