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 }