From 6491ebbf7af7c8d19b357f7ab8d6beb7d457fe34 Mon Sep 17 00:00:00 2001 From: 86182 Date: Tue, 27 Sep 2022 17:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phase2/note.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/api/phase2/note.js b/src/api/phase2/note.js index 2926ae86..9495d4ae 100644 --- a/src/api/phase2/note.js +++ b/src/api/phase2/note.js @@ -103,6 +103,26 @@ const ids=function (data){ return ajax.postJson(baseURL,'/xboe/subgroup/m/noteinfo/ids',data); } +/** + * 导出excel + * @param { + * ids ["",""] + * } + * */ +const exportExcel=function (data){ + return ajax.post('/xboe/subgroup/m/noteinfo/exportExcel',data); +} + +/** + * 导出pdf + * @param{ + * + * } + * */ +const exportPdf=function (data){ + return ajax.post('/xboe/subgroup/m/noteinfo/pdf',data); +} + export default { save, detail, @@ -115,5 +135,7 @@ export default { course, update, restore, - ids + ids, + exportExcel, + exportPdf }